Rails - rake:gems:install - not installing gems

Posted by Hamish on Stack Overflow See other posts from Stack Overflow or by Hamish
Published on 2010-03-15T22:14:11Z Indexed on 2010/03/15 22:19 UTC
Read the original article Hit count: 541

Filed under:
|
|
|

If i define a few gems in my config/environments/test.rb file like this:

config.gem "rspec" config.gem "rspec-rails" config.gem "mocha"

and then run 'rake gems:install RAILS_ENV=test'

I get the following error:

Missing these required gems: mocha

Run rake gems:install to install the missing gems.

however if I run rake gems:install like it says it will continue to recurse like this forever.

How do I actually get the gems to install using rake (not gem install)?

thanks!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rake