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 ho开发者_开发知识库w I to install these. bundle install
returns Could not locate Gemfile
.
You can install gems in rails 2.x by using the rake command
rake gems:install
You can use bundle install
if you use this guide:
http://gembundler.com/rails23.html
To have "backwards" compatibility for bundler.
精彩评论