I''ve just deployed a second 2.1.0 app on to a long-running ubuntu 8.0.4 box. The first app, which lives in the same top level directory, runs fine. The new app, however, mostly refuses to run (mongrel will start, but I can''t migrate or start the console), raising this error: "Missing the Rails 2.1.0 gem. Please `gem install -v=2.1.0 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." If I comment out the RAILS_GEM_VERSION, then it throws this instead: "Missing the Rails gem. Please `gem install -v= 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." The gem is definitely there, as the other app--which has a virtually identical envrionment.rb (a few more requires)--runs fine. Any suggestions? Best, Todd --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Todd I had the same problem on my development machine, basically some of the instructions out there are less than satisfactory (hint hint: Agile Web Development with Rails)... I solved the problem by completely removing rails, ruby, and mysql/sqlite3, and starting again using the following satisfactory guides: https://help.ubuntu.com/community/RubyOnRails and for the database (just go to the database section): http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu good luck! On Oct 30, 2:28 pm, tatyree <taty...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> I''ve just deployed a second 2.1.0 app on to a long-running ubuntu > 8.0.4 box. The first app, which lives in the same top level > directory, runs fine. The new app, however, mostly refuses to run > (mongrel will start, but I can''t migrate or start the console), > raising this error: > > "Missing the Rails 2.1.0 gem. Please `gem install -v=2.1.0 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." > > If I comment out the RAILS_GEM_VERSION, then it throws this instead: > > "Missing the Rails gem. Please `gem install -v= 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." > > The gem is definitely there, as the other app--which has a virtually > identical envrionment.rb (a few more requires)--runs fine. > > Any suggestions? > > Best, > Todd--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Nellboy, I got it in the end by freezing the gems. Less than ideal, but it''s not a public facing app so my customer service pixies will just have to live with it if it falls over. Thanks, todd On Oct 30, 3:19 pm, Nellboy <nell...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Todd > > I had the same problem on my development machine, basically some of > the instructions out there are less than satisfactory (hint hint: > Agile Web Development with Rails)... I solved the problem by > completely removing rails, ruby, and mysql/sqlite3, and starting again > using the following satisfactory guides: > > https://help.ubuntu.com/community/RubyOnRails > > and for the database (just go to the database section):http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu > > good luck! > > On Oct 30, 2:28 pm, tatyree <taty...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > I''ve just deployed a second 2.1.0 app on to a long-running ubuntu > > 8.0.4 box. The first app, which lives in the same top level > > directory, runs fine. The new app, however, mostly refuses to run > > (mongrel will start, but I can''t migrate or start the console), > > raising this error: > > > "Missing the Rails 2.1.0 gem. Please `gem install -v=2.1.0 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." > > > If I comment out the RAILS_GEM_VERSION, then it throws this instead: > > > "Missing the Rails gem. Please `gem install -v= 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." > > > The gem is definitely there, as the other app--which has a virtually > > identical envrionment.rb (a few more requires)--runs fine. > > > Any suggestions? > > > Best, > > Todd--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---