hi guys,
how do i get the version of installed rails?
best regards
chris
hi guys,
how do i get the version of installed rails?
best regards
chris
On Jan 18, 2007, at 11:17 AM, Christian R. wrote:
how do i get the version of installed rails?
The most accurate way is probably to do a “gem list | grep rails”.
“rails -v” will give you the version rails reports, but can be
misleading for test versions (e.g. this will report 1.1.6 for the 1.2
release candidates, whereas “gem list” will tell you 1.1.6.5848).
-faisal
Faisal N Jawdat wrote:
On Jan 18, 2007, at 11:17 AM, Christian R. wrote:
how do i get the version of installed rails?
The most accurate way is probably to do a “gem list | grep rails”.
“rails -v” will give you the version rails reports, but can be
misleading for test versions (e.g. this will report 1.1.6 for the 1.2
release candidates, whereas “gem list” will tell you 1.1.6.5848).-faisal
thank very much faisal
Christian R. wrote:
hi guys,
how do i get the version of installed rails?
best regards
chris
you can also use:
ruby script/runner “puts Rails::VERSION::STRING”
from rails project directory to find out on what version of Rails would
project run.
Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
→ tools, scripts, tricks from our code lab: http://source.mihelac.org
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs