Re: Problem with bundle install

149 views
Skip to first unread message

Rupen

unread,
Mar 21, 2013, 4:30:22 PM3/21/13
to choru...@googlegroups.com
The following is the verbose output and the version of java.

[chorus@localhost chorus]$ bundle install --verbose
Fetching from: https://rubygems.org/api/v1/dependencies
HTTP Redirection
Fetching from: http://bundler.rubygems.org/api/v1/dependencies
HTTP Success
Fetching source index from https://rubygems.org/
Fetching git://github.com/GreenplumChorus/gnip.git
Git error: command `git clone 'git://github.com/GreenplumChorus/gnip.git'
"/usr/local/jruby-1.7.3/lib/ruby/gems/shared/cache/bundler/git/gnip-a4a03e8c1a94552039357b8be63053151e0f8905"
--bare --no-hardlinks` in directory /home/chorus/proj2/chorus has failed.
Bundler::GitError: Git error: command `git clone 'git://github.com/GreenplumChorus/gnip.git' "/usr/local/jruby-1.7.3/lib/ruby/gems/shared/cache/bundler/git/gnip-a4a03e8c1a94552039357b8be63053151e0f8905" --bare --no-hardlinks` in directory /home/chorus/proj2/chorus has failed.
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/source/git/git_proxy.rb:93:in `git'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/source/git/git_proxy.rb:49:in `checkout'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/source/git.rb:143:in `specs'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/lazy_specification.rb:52:in `__materialize__'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/spec_set.rb:88:in `materialize'
org/jruby/RubyArray.java:2393:in `map!'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/spec_set.rb:85:in `materialize'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/definition.rb:114:in `specs'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/definition.rb:109:in `resolve_remotely!'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/installer.rb:81:in `run'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/installer.rb:14:in `install'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/cli.rb:247:in `install'
org/jruby/RubyBasicObject.java:1677:in `__send__'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/vendor/thor/task.rb:27:in `run'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/vendor/thor.rb:344:in `dispatch'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/vendor/thor/base.rb:434:in `start'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/bin/bundle:20:in `(root)'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/lib/bundler/friendly_errors.rb:3:in `with_friendly_errors'
/usr/local/jruby-1.7.3/lib/ruby/gems/shared/gems/bundler-1.3.4/bin/bundle:20:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
/usr/local/jruby/bin/bundle:23:in `(root)'

[chorus@localhost chorus]$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
[chorus@localhost chorus]$

Luke Winikates

unread,
Mar 21, 2013, 6:09:58 PM3/21/13
to choru...@googlegroups.com
We aren't able to reproduce this on OS X, but we're working on reproducing this on a Centos VM. 

The SHA for gnip in the error message (a4a03e8c1a94552039357b8be63053151e0f8905) doesn't appear in the Chorus gnip git repository and appears to be invalid. Does bundler succeed if you run `bundle update chorusgnip`? You should end up with revision 9fee8a2f5ae4059c90ef151df0cd082bbe5fcf70 in your Gemfile.lock

Luke Winikates

unread,
Mar 21, 2013, 7:08:25 PM3/21/13
to choru...@googlegroups.com
We were able to run `bundle install` chorusgnip successfully on a Centos 6.2 VM with JRuby 1.7.3 and OpenJDK 1.6. We're not able to reproduce this issue on our end. Please let us know if `bundle update chorusgnip` does not succeed on your VM.
Reply all
Reply to author
Forward
0 new messages