Reputation: 267390
I have a Rails 2.x application, and when I am on the server that hosts the application how can I list the gems that it uses?
I started using rails in 3.x and I didn't realize there is no gemfile in rails 2.x
Upvotes: 0
Views: 936
Reputation: 3459
How to list gems used in a rails 2.x application
As answered here, gem list
will show only the gems installed using the --system option (see accepted answer and Caspar comment); use bundle list
instead, to show gems installed in the application directory
Upvotes: 2
Reputation: 490
The only place where listing of Gemfile can be is application.rb file in applications build in rails 2.x framework other than that there is no other place it can be defined. One command that you can try is:
gem list
Upvotes: 3