ruby - use nokogiri 1.5.9 with rails -


i want use ruby 1.8.7 rails, when run bundle install error:

gem::installerror: nokogiri requires ruby version >= 1.9.2. error occurred while installing nokogiri (1.6.0), , bundler cannot continue. make sure `gem install nokogiri -v '1.6.0'` succeeds before bundling.      

nokogiri 1.6.0 not support ruby <1.9.2.

i tried installing nokogiri 1.5.9 make things work did not help.

i added line

gem 'nokogiri', '~> 1.5.10' 

in gemfile , install nokogiri 1.5.10 , bundle install succeeded !


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

html - Accumulated Depreciation of Assets on php -

node.js - Node - Passport Auth - Authed Post Route hangs on form submission -