user3060257
user3060257

Reputation: 35

Bundle install issue

I add some gem to my gemfile.

Then i type :

$ bundle install

It will install the newly add gems in general , But it install the all gems, and it very slowly.

This is my terminal output:

Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Enter your password to install the bundled RubyGems to your system:
Using rake (10.1.0)
Using i18n (0.6.5)
...

So:

How to make the bundle install fast, and i don't want it always install all gems

Upvotes: 0

Views: 61

Answers (2)

JellyFishBoy
JellyFishBoy

Reputation: 1798

You need to bundle install all of your gems as there are dependency requirements between them. Bundler doesn't reinstall the gem's which state Using rake (10.1.0), but just confirms it's version to ensure gem dependency and prevent your application from producing runtime errors.

You can find out more information here: http://bundler.io/

Upvotes: 0

Marek Lipka
Marek Lipka

Reputation: 51171

If you see Using gemname (version), it means the gem is already installed and Bundler doesn't reinstall it.

Upvotes: 2

Related Questions