Alex Rivera | Logout

Rails 3 user to Rails 2: Installing gems without a gemfile?

Asked 2011-04-18T01:48:30.503
9

I'm familiar with Rails 3, but not rails 2. I've just inherited a rails 2 project with no Gemfile, but a bunch of config.gem lines in config/environment.rb

I'm just wondering how I to install these. bundle install returns Could not locate Gemfile.

Edit
Report

1 Answer

13

You can install gems in rails 2.x by using the rake command

   rake gems:install
answered 2011-04-18T02:44:58.947

Your Answer