Rails 2 Question

Hey guys.

I got a project that is running on Rails 2.3.5 on ruby 1.8.6. I am
used to working with rails 3.0 where, when I get the codebase, I use
bundler to install my gems, as per declared in the gemfile. What was
the predecessor to bundler? Is there a way to quickly set up my
environment. And where is the gemfile…all I see if a few gems
listed in the environment.rb file?

Any help would be greatly appreciated.

Thank you!

Hi,

What was the predecessor to bundler?

The gems were declared in environment.rb like the ones you saw.

Is there a way to quickly set up my
environment. And where is the gemfile…all I see if a few gems
listed in the environment.rb file?

I recommend you use bundler for Rails 2.3.x apps :
http://gembundler.com/rails23.html

Hope it helps.

Alex

Thanks Alex.

So are you saying that previous to Rails 3, there was no command that
would install all the gems needed? I have install them one by one?

Bertly

On Mar 28, 2:29pm, Alexandre F. [email protected]

I believe the command you are looking for is rake gems:install

jason

Thank you sir!

also:

rake gems:install RAILS_ENV=development

Trevor

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs