Hi, 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. Other solutions? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Rimantas Liubertas
2006-Aug-30 09:15 UTC
Re: Webrick Server don''t start after Update Rails
> 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. Regards, Rimantas -- http://rimantas.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
andy.s.shen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-30 09:15 UTC
Re: Webrick Server don''t start after Update Rails
Hi there, You don''t have to create new project and copy all the files, just update RAILS_GEM_VERSION in config/environment.rb to 1.1.6 in your old project. Or you can freeze rails 1.1.4 into your old projects. Run rake -T and look for the freeze target, from memory it can take a rails version. Cheers, Andy --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
OK, Thanks Andy! On 8/30/06, andy.s.shen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <andy.s.shen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hi there, > > You don''t have to create new project and copy all the files, just > update RAILS_GEM_VERSION in config/environment.rb to 1.1.6 in your old > project. > > Or you can freeze rails 1.1.4 into your old projects. Run rake -T and > look for the freeze target, from memory it can take a rails version. > > Cheers, > Andy > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---