After a Rails update (rails-1.1.6) , Webrick server don’t start.
Error:
Cannot find gem for Rails =1.1.4:
Install the missing gem with ‘gem install -v=1.1.4 rails’, or
change environment.rb to define RAILS_GEM_VERSION with your desired
version.
Looks normal because of the update.
A new project has no problems if I start the Webrick server.
My question:
-> How can I best solve the problem for the old projects:
Starting a new project and copy the files?
changing the files in ‘server’ dir.
After a Rails update (rails-1.1.6) , Webrick server don’t start.
Error:
Cannot find gem for Rails =1.1.4:
<…>
→ How can I best solve the problem for the old projects:
Starting a new project and copy the files?
Go to your application config/ folder and edit environment.rb.
There should be line RAILS_GEM_VERSION = ‘1.1.4’.
Change it to match current Rails version.