Frederick Cheung wrote: > On 2 Dec 2008, at 18:04, Srilatha Bhuvanapalli wrote: > >>>> srilatha-bhuvanapallis-macbook-pro:contacts Latha$ rails -v >>>> Rails 2.1.2 >>> >>> but is that app set to use an old version of rails (eg because it's >>> frozen into vendor/rails or because RAILS_GEM_VERSION is set ) ? >>> And of course seeing the actual code producing an error always helps. >> >> Could I please how to check if my app to set to old version of rails? >> > The easiest way is to run script/console or script/server - they will > tell you what version of rails is being used.
Below is what I get when I run script/server: srilatha-bhuvanapallis-macbook-pro:MyProject Latha$ ruby ./script/server ./script/../config/boot.rb:20:Warning: Gem::SourceIndex#search support for String patterns is deprecated => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.5 available at 0.0.0.0:3000 ** Use CTRL-C to stop. Where does it show me the rails version here, Sorry to bother you too much. I am new to rails. Kindly bear with me. Thanks Latha -- 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

