John Merlino
2011-Jan-02 23:44 UTC
After upgrading to Rails 3, getting errors in Rails 2 app
Hey all After upgrading to Rails 3, when I try to run Rails 2 app, I get this: script/server Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. MacBook-Pro:MK JANUARY jmerlino$ rails -v Rails 3.0.3 So I assume there''s going to be several issues like this. According to the railscasts, he says use the rails_upgrade plugin to address these issues. Anyone agrees with this? Thanks for response. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2011-Jan-03 08:06 UTC
Re: After upgrading to Rails 3, getting errors in Rails 2 app
On 2 January 2011 23:44, John Merlino <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hey all > > After upgrading to Rails 3, when I try to run Rails 2 app, I get this: > > script/server > Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update > your RAILS_GEM_VERSION setting in config/environment.rb for the Rails > version you do have installed, or comment out RAILS_GEM_VERSION to use > the latest version installed. > MacBook-Pro:MK JANUARY jmerlino$ rails -v > Rails 3.0.3I think that if you want to run rails 2 and 3 apps on the same machine the best way is to use rvm, which then allows completely independent gem sets for each app. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
- can i switch to rails 2.3.5 and run a rails 2.3.5 code??
- upgarde from rails 2.3.5 to rails 2.3.8
- Switching the version of Rails that an app uses
- Deploying my rails app to GoDaddy