J. Pablo Fernández
2007-Nov-25 20:45 UTC
Can''t find rails after re-installing/upgrading Kubuntu
Hello Railers (?), I have just re-installed my machine with the lattest Kubuntu, which brings with Rails 1.2.4 instead of 1.2.3. Now my Rail project doesn''t start anymore. At first I''ve got this message: Cannot find gem for Rails ~>1.2.3.0: Install the missing gem with ''gem install -v=1.2.3 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. then I went and I updated environment.rb and now it says: Cannot find gem for Rails ~>1.2.4.0: Install the missing gem with ''gem install -v=1.2.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Just to check I created a new rails project and it just works. Any ideas what else I am forgetting to change/update to have my old project working? Thank you. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> http://pupeno.com
What does it environment.rb say in the project that works? On Nov 25, 8:45 pm, "J. Pablo Fernández" <pup...-GAtDADarczzQT0dZR+AlfA@public.gmane.org> wrote:> Hello Railers (?), > > I have just re-installed my machine with the lattest Kubuntu, which brings with Rails 1.2.4 instead of 1.2.3. Now my Rail project doesn''t start anymore. At first I''ve got this message: > > Cannot find gem for Rails ~>1.2.3.0: > Install the missing gem with ''gem install -v=1.2.3 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired version. > > then I went and I updated environment.rb and now it says: > > Cannot find gem for Rails ~>1.2.4.0: > Install the missing gem with ''gem install -v=1.2.4 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired version. > > Just to check I created a new rails project and it just works. Any ideas what else I am forgetting to change/update to have my old project working? > > Thank you. > -- > J. Pablo Fernández <pup...-GAtDADarczzQT0dZR+AlfA@public.gmane.org>http://pupeno.com > > signature.asc > 1KDownload--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dhaval Parikh
2007-Nov-26 11:58 UTC
Re: Can''t find rails after re-installing/upgrading Kubuntu
you will have to reinstall all the dependencies once again.. -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
J. Pablo Fernández
2007-Nov-26 19:13 UTC
Re: Can''t find rails after re-installing/upgrading Kubuntu
Hello, On Monday 26 November 2007 09:20:35 ghoti wrote:> What does it environment.rb say in the project that works?Ooops, I forgot: RAILS_GEM_VERSION = ''1.2.4'' unless defined? RAILS_GEM_VERSION Same I''ve put on the other one. Thanks. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> http://pupeno.com
J. Pablo Fernández
2007-Nov-26 19:13 UTC
Re: Can''t find rails after re-installing/upgrading Kubuntu
On Monday 26 November 2007 11:58:38 Dhaval Parikh wrote:> you will have to reinstall all the dependencies once again..What dependencies? -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> http://pupeno.com
J. Pablo Fernández
2007-Nov-29 22:34 UTC
Re: [Solved] Can''t find rails after re-installing/upgrading Kubuntu
Hello, Just for the record, I kind of solved it. I used a program called meld to make a recursive comparition and aside minor differences in boot.rb, I''ve noticed than now, the new projects, contain a copy of rails while the old didn''t. I''ve just made the copy and it worked. On Sunday 25 November 2007 20:45:58 J. Pablo Fernández wrote:> Hello Railers (?), > > I have just re-installed my machine with the lattest Kubuntu, which brings > with Rails 1.2.4 instead of 1.2.3. Now my Rail project doesn''t start > anymore. At first I''ve got this message: > > Cannot find gem for Rails ~>1.2.3.0: > Install the missing gem with ''gem install -v=1.2.3 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired > version. > > then I went and I updated environment.rb and now it says: > > Cannot find gem for Rails ~>1.2.4.0: > Install the missing gem with ''gem install -v=1.2.4 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired > version. > > Just to check I created a new rails project and it just works. Any ideas > what else I am forgetting to change/update to have my old project working? > > Thank you.-- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> http://pupeno.com