# Phpinfo for RoR?

**URL:** <https://www.ruby-forum.com/t/phpinfo-for-ror/108198>\
**Category:** Rails\
**Created:** [June 29, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198 "2007-06-29T23:06:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 29, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/1 "2007-06-29T23:06:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 30, 2007, 12:04am UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/2 "2007-06-30T00:04:30Z")

</div>

`ruby -v` at the commandline

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 30, 2007, 12:12am UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/3 "2007-06-30T00:12:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 30, 2007, 12:25am UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/4 "2007-06-30T00:25:33Z")

</div>

On 6/29/07, Eric A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> rob wrote:
> 
> > `ruby -v` at the commandline

script/about in your rails app directory.

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 30, 2007, 6:48am UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/5 "2007-06-30T06:48:54Z")

</div>

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/](http://127.0.0.1:3000/)

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [June 30, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198/6 "2007-06-30T21:11:56Z")

</div>

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
