Lizza Faith
Lizza Faith

Reputation: 403

How will I know what is the app server installed in my rails?

I installed rails in windows, is there a command to know what is the version of app server installed in in my rails? What is command?

Upvotes: 0

Views: 75

Answers (2)

Gayu
Gayu

Reputation: 23

When you run the server you can see the server name and version.
Eg. run rails s

=> Booting WEBrick

=> Rails 3.0.5 application starting in development on http:

=> Call with -d to detach

=> Ctrl-C to shutdown server

[2012-09-24 12:23:38] INFO WEBrick 1.3.1

[2012-09-24 12:23:38] INFO ruby 1.9.2 (2011-02-18) [i386-mingw32]

[2012-09-24 12:23:38] INFO WEBrick::HTTPServer#start: pid=10116 port=3000

Upvotes: 0

premprakash
premprakash

Reputation: 1595

The version of rails is specified in the gemfile

When you say rails new my_app , it generates an entire project(app, log, config, db etc). A gemfile would also be generate . If you open the gemfile you will be able to find the version of your rails.

You will find something like gem rails , '3.2.1'

Upvotes: 2

Related Questions