Having a setup of
WEBrick 1.3.1Ruby 2.2.2Rails 3.2.225.6.22 MySQLYosemite 10.10.4
I am trying to run an old Project built on Ruby version 1.9.2 - Rails 2.2.3 - WEBrick 1.3.1 and once i type command : rails server i get an error :
Installing json 1.6.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Could not find json-1.6.1 in any of the sources
Run bundle install to install missing gems
When i type 'bundle install' in the project directory i receive an error of :
An error occurred while installing json (1.6.1), and Bundler cannot continue.
Make sure that
gem install json -v '1.6.1'succeeds before bundling.
What do i have to do in order to get this environment able to run this old project? Should i have to downgrade my Rails version .
Furthemore, by the time it fails to update gem json -v '1.6.1' , is there any other way to update it?
Aucun commentaire:
Enregistrer un commentaire