Hi I am using fedora 8 with Rails version 2.0.2. But i need to change to version 0.12.1. I have loaded 0.12.1 with gem install rails --version 0.12.1 It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i try to add this linse to config/envrionment.rb # Require Rails libraries. require ''rubygems'' require_gem ''activesupport'', ''= 1.0.4'' require_gem ''activerecord'', ''= 1.10.1'' require_gem ''actionpack'', ''= 1.8.1'' require_gem ''actionmailer'', ''= 0.9.1'' require_gem ''actionwebservice'', ''= 0.7.1'' require_gem ''rails'', ''= 0.12.1'' these lines are after line require File.join(File.dirname(__FILE__), ''boot'') and rebooting after those changes, rails will start but will give error : Rails application failed to start properly Can somebody help me to use version 0.12.1 in my application environment --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jun 25, 9:31 am, torso <petteri.torsso...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > I am using fedora 8 with Rails version 2.0.2. But i need to change to > version 0.12.1. I have loaded 0.12.1 with > > gem install rails --version 0.12.1 > > It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i try > to add this linse to config/envrionment.rb > > # Require Rails libraries. > require ''rubygems'' > require_gem ''activesupport'', ''= 1.0.4'' > require_gem ''activerecord'', ''= 1.10.1'' > require_gem ''actionpack'', ''= 1.8.1'' > require_gem ''actionmailer'', ''= 0.9.1'' > require_gem ''actionwebservice'', ''= 0.7.1'' > require_gem ''rails'', ''= 0.12.1'' >If you''ve a recent version of rubygems require_gem doesn''t exist any more. Also check your logs for more informative error messages. (and are you sure you need 0.12.1 rather than 1.2.1 ? 0.12.1 is positively ancient (3 years old or something)) Fred Fred> these lines are after line > require File.join(File.dirname(__FILE__), ''boot'') > > and rebooting after those changes, rails will start but will give > error : Rails application failed to start properly > > Can somebody help me to use version 0.12.1 in my application > environment--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I''m doing this tutorial http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf .Thats why i need to use version 0.12.1. The tutorial uses scaffolding. In version 2.0.2 there''s no scaffolding, am I right? On Jun 25, 11:46 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jun 25, 9:31 am, torso <petteri.torsso...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi > > > I am using fedora 8 with Rails version 2.0.2. But i need to change to > > version 0.12.1. I have loaded 0.12.1 with > > > gem install rails --version 0.12.1 > > > It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i try > > to add this linse to config/envrionment.rb > > > # Require Rails libraries. > > require ''rubygems'' > > require_gem ''activesupport'', ''= 1.0.4'' > > require_gem ''activerecord'', ''= 1.10.1'' > > require_gem ''actionpack'', ''= 1.8.1'' > > require_gem ''actionmailer'', ''= 0.9.1'' > > require_gem ''actionwebservice'', ''= 0.7.1'' > > require_gem ''rails'', ''= 0.12.1'' > > If you''ve a recent version of rubygems require_gem doesn''t exist any > more. Also check your logs for more informative error messages. (and > are you sure you need 0.12.1 rather than 1.2.1 ? 0.12.1 is positively > ancient (3 years old or something)) > > Fred > > Fred > > > these lines are after line > > require File.join(File.dirname(__FILE__), ''boot'') > > > and rebooting after those changes, rails will start but will give > > error : Rails application failed to start properly > > > Can somebody help me to use version 0.12.1 in my application > > environment--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 25 Jun 2008, at 10:20, torso wrote:> > I''m doing this tutorial http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf > .Thats why i need to use version 0.12.1. The tutorial uses > scaffolding. In version 2.0.2 there''s no scaffolding, am I right? >The scaffolding is indeed different in 2.0.2. I really think you''re wasting your time going through a tutorial for a 3 year old version of rails. So much stuff has changed (eg 0.12 has no migrations, loads of functions have been deprecated/renamed (eg find_all => find :all, @params => params) and lots of stuff has been added). Fred> On Jun 25, 11:46 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> On Jun 25, 9:31 am, torso <petteri.torsso...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> >> >>> Hi >> >>> I am using fedora 8 with Rails version 2.0.2. But i need to change >>> to >>> version 0.12.1. I have loaded 0.12.1 with >> >>> gem install rails --version 0.12.1 >> >>> It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i >>> try >>> to add this linse to config/envrionment.rb >> >>> # Require Rails libraries. >>> require ''rubygems'' >>> require_gem ''activesupport'', ''= 1.0.4'' >>> require_gem ''activerecord'', ''= 1.10.1'' >>> require_gem ''actionpack'', ''= 1.8.1'' >>> require_gem ''actionmailer'', ''= 0.9.1'' >>> require_gem ''actionwebservice'', ''= 0.7.1'' >>> require_gem ''rails'', ''= 0.12.1'' >> >> If you''ve a recent version of rubygems require_gem doesn''t exist any >> more. Also check your logs for more informative error messages. (and >> are you sure you need 0.12.1 rather than 1.2.1 ? 0.12.1 is positively >> ancient (3 years old or something)) >> >> Fred >> >> Fred >> >>> these lines are after line >>> require File.join(File.dirname(__FILE__), ''boot'') >> >>> and rebooting after those changes, rails will start but will give >>> error : Rails application failed to start properly >> >>> Can somebody help me to use version 0.12.1 in my application >>> environment > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Yeah. I have wondering same thing, do I waste my time. But this is a school project so I have to do it. But do you know any good tutorials which is updated to newst version? On Jun 25, 12:30 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 25 Jun 2008, at 10:20, torso wrote: > > > > > I''m doing this tutorialhttp://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf > > .Thats why i need to use version 0.12.1. The tutorial uses > > scaffolding. In version 2.0.2 there''s no scaffolding, am I right? > > The scaffolding is indeed different in 2.0.2. I really think you''re > wasting your time going through a tutorial for a 3 year old version of > rails. So much stuff has changed (eg 0.12 has no migrations, loads of > functions have been deprecated/renamed (eg find_all => find :all, > @params => params) and lots of stuff has been added). > > Fred > > > On Jun 25, 11:46 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > >> On Jun 25, 9:31 am, torso <petteri.torsso...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > >>> Hi > > >>> I am using fedora 8 with Rails version 2.0.2. But i need to change > >>> to > >>> version 0.12.1. I have loaded 0.12.1 with > > >>> gem install rails --version 0.12.1 > > >>> It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i > >>> try > >>> to add this linse to config/envrionment.rb > > >>> # Require Rails libraries. > >>> require ''rubygems'' > >>> require_gem ''activesupport'', ''= 1.0.4'' > >>> require_gem ''activerecord'', ''= 1.10.1'' > >>> require_gem ''actionpack'', ''= 1.8.1'' > >>> require_gem ''actionmailer'', ''= 0.9.1'' > >>> require_gem ''actionwebservice'', ''= 0.7.1'' > >>> require_gem ''rails'', ''= 0.12.1'' > > >> If you''ve a recent version of rubygems require_gem doesn''t exist any > >> more. Also check your logs for more informative error messages. (and > >> are you sure you need 0.12.1 rather than 1.2.1 ? 0.12.1 is positively > >> ancient (3 years old or something)) > > >> Fred > > >> Fred > > >>> these lines are after line > >>> require File.join(File.dirname(__FILE__), ''boot'') > > >>> and rebooting after those changes, rails will start but will give > >>> error : Rails application failed to start properly > > >>> Can somebody help me to use version 0.12.1 in my application > >>> environment--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---