Reputation: 71
I have ruby version 1.9.2p290 installed and prawn 0.13.0 in my 2 laptops. When I tried to install the prawn on laptop A, it was successful and I'm able to use it but when I tried it to laptop B, it prompted an error that it requires ruby -v 1.9.3
How will I be able to solve this issue without changing the ruby version? Thanks in advance.
Upvotes: 0
Views: 2136
Reputation: 4831
Reading the Changelog for prawn 0.13.0, it says it has dropped support for Ruby 1.8.7 and 1.9.2 (See Item 4 on the Changelog link), I don't know how it worked for laptop A, but did you do it before 2 days ago? It seems prawn was just recently updated for version 0.13.0 on 12/15/2013
Perhaps using an older version of prawn would work? Prawn version 0.12.0 seems to support 1.9.2.
gem install prawn -v 0.12.0
or in your project Gemfile
gem 'prawn', '0.12.0'
Upvotes: 4
Reputation: 27747
Find a version of prawn that works with ruby 1.9.2 and set that version in your gemfile
Upvotes: 0