bundle install request to do each gem install manually - how to avoid?

ruby-on-rails, rubymine

Solution

That's what Bundler is supposed to do for you.

It looks like you have a problem with your Bundler or Ruby Install somewhere.

Without more information I can only suggest that you checkout the Bundler Troubleshooting page.

Problem

This is probably very simple question. Each time I do "Bundle install" in the folder of the project I get an error like this ``` An error occured while installing json (1.6.6), and Bundler cannot continue. Make sure that X succeeds before bundling. ``` where X can be 'gem install json -v '1.6.6' or 'gem install execjs -v '1.3.2' or 'gem install coffee-script -v '2.2.0' Now, after I gradualy do each gem install manually the bundle install succeeds. Is there a way to do them all in one command? is there a way to do it in ruby mine?

Original source