Forum: Ruby on Rails phpinfo for RoR?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2101d75ccd71c5dfb984991a7ba53b9b?d=identicon&s=25 harm (Guest)
on 2007-06-29 23:06
(Received via mailing list)
Dear all,

Is there something like phpinfo() for RoR? I have a dual install of
ruby and would like to know which version I am actually using.
Thanks in advance!

Harm
Bc298d7a9345ed1f83b39afe288f5e9e?d=identicon&s=25 rob (Guest)
on 2007-06-30 00:04
(Received via mailing list)
`ruby -v` at the commandline
5190330ad8f1b06d35e2c2da73dc623c?d=identicon&s=25 Eric Anderson (Guest)
on 2007-06-30 00:12
(Received via mailing list)
rob wrote:
> `ruby -v` at the commandline

Also for what version of Rails check the following:

* vendor/rails (if you have frozen rails)
* gem search rails
* if multiple versions of the gem are installed check
config/environment.rb. If the gem version is listed that is the version
you are using. Otherwise you are floating so the most recent gem is
being used.

Eric
821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2007-06-30 00:25
(Received via mailing list)
On 6/29/07, Eric Anderson <eric@afaik.us> wrote:
>
> rob wrote:
> > `ruby -v` at the commandline

script/about in your rails app directory.


--
Rick Olson
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com
F14ec25796ad0f51b399a2aef0261db1?d=identicon&s=25 bVs (Guest)
on 2007-06-30 06:48
(Received via mailing list)
A more graphical "ruby script/about" would be to start the server
*ruby script/server
*and then clicking on "About your application's environment" after
pointing your browser to http://127.0.0.1:3000/
2101d75ccd71c5dfb984991a7ba53b9b?d=identicon&s=25 harm (Guest)
on 2007-06-30 21:11
(Received via mailing list)
I considered the 'ruby -v' option of course but that will give me the
Ruby version my commandline is using. And I am not convinced that
Rails is using the same.
But this 'script/about' and the graphical version thereof is exactly
what I was looking for. I should have thought of this.

Thanks you all!

Harm
This topic is locked and can not be replied to.