Rama Singh wrote:
Al Cholic wrote:
What is the command to see what version of ruby and what version of
rails i am running?
Thanks in advance!
Kristen
ruby -v
rails -v
and if you installed Rails via gem you can use:
gem list
to show the versions of all the components.
How do I do this from inside the code? In case there are version
dependencies (workarounds) that I want to drop off if I upgrade to a
newer version.
Michael
MichaelLatta wrote:
How do I do this from inside the code? In case there are version
dependencies (workarounds) that I want to drop off if I upgrade to a
newer version.
>> Rails::VERSION::STRING
=> "1.2.1"
>> RUBY_VERSION
=> "1.8.5"