[Locomotive-users] rails update

Con Rodi conrodi at vt.edu
Thu Aug 17 23:59:51 GMT 2006


After proceeding with these steps:

1) Open Locomotive
2) Apple-T to open a terminal
3) Type gem update rails --include-dependencies<enter>
4) Restart locomotive.

rails -v reports version 1.1.6

Using the web interface below, reports 1.1.2 and the older Action  
Pack etc.

RAILS_GEM_VERSION is also 1.1.2, contrary to the below expectation.   
I tried changing this manually, but no effect.

So what version is actually serving my pages?

cmr

On Aug 17, 2006, at 3:19 PM, Ryan Raaum wrote:

> If you want to definitively find out what rails version you're  
> running, open a terminal from Locomotive and run "rails -v" at the  
> prompt OR the rails info that you can see on the default starter  
> rails page is always available at:
>
> http://localhost:3000/rails/info/properties  (replace 3000 with the  
> right port for your app)
>
> Also, by default, the rails generator sets RAILS_GEM_VERSION in  
> your config/environment.rb file to be whatever version of rails it  
> was run under.  If this is set in your config, this is the version  
> of rails your app will be using, even if a newer version is installed!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060817/bc273149/attachment-0001.htm


More information about the Locomotive-users mailing list