S
S
Snowindy2011-06-20 11:51:38
ruby
Snowindy, 2011-06-20 11:51:38

Ruby: Offline gem installation?

One of the gems cannot be obtained during bundle install (I'm sitting through a corporate proxy, cutting the download).
At the same address, I downloaded from home what should be received by the bundler.
Where to put this file so that the bundler understands that it is necessary not to download it, but to take it from the hard disk?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
northicewind, 2011-06-20
@Snowwindy

You need to register in your Gemfile 0.0.1 - This is the version of the gem. You can not specify it, but then on some systems an error may appear when installing gems
gem "somegem", '0.0.1', :path => "/path/to/gem"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question