Closed rv-kip closed 10 years ago
Your error was a network error, so retrying it likely fixed the issue. bundle
== bundler
, so you very literally just ran the exact same thing.
https://github.com/bundler/bundler/blob/1-6-stable/bin/bundle
https://github.com/bundler/bundler/blob/1-6-stable/bin/bundler
So they are. Weird. I can consistently repro the behavior...
$ git clone https://github.com/bobthecow/genghis.git
$ cd genghis
$ git checkout feature/three-dot-oh-my
$ gem install bundler
$ bundle install
Network error while fetching https://rubygems.org/quick/Marshal.4.8/json-1.8.1-java.gemspec.rz
$ bundle install
Network error while fetching https://rubygems.org/quick/Marshal.4.8/json-1.8.1-java.gemspec.rz
$ bundler install
[Success]
$ which bundle
.../rvm/gems/ruby-1.9.2-head/bin/bundle
$ which bundler
.../.rvm/gems/ruby-1.9.2-head/bin/bundler
Oh well. Thanks
wait. is bundle
in /rvm/
or did you typo when you redacted the path?
Typo.
.../.rvm/gems/ruby-1.9.2-head/bin/bundle
.../.rvm/gems/ruby-1.9.2-head/bin/bundler
Strange. Maybe it's something weird with RVM, or a version mismatch or something? Does bundle --version
and bundler --version
return the same thing?
They both are 1.6.4
bundle --version
Bundler version 1.6.4
bundler --version
Bundler version 1.6.4
diff .../.rvm/gems/ruby-1.9.2-head/bin/bundler .../.rvm/gems/ruby-1.9.2-head/bin/bundle
23c23
< load Gem.bin_path('bundler', 'bundler', version)
---
> load Gem.bin_path('bundler', 'bundle', version)
I was unable to run genghis locally from a cloned git repo with the instructions in the Readme. I got this error:
This is what worked for me.
bundler install
, notbundle install