Skip to content

Instantly share code, notes, and snippets.

@psy-q
Created December 19, 2011 14:54
Show Gist options
  • Select an option

  • Save psy-q/1497540 to your computer and use it in GitHub Desktop.

Select an option

Save psy-q/1497540 to your computer and use it in GitHub Desktop.
Cannot find any binaries when installing gems on rvm. Works fine on system ruby.
======= This is on the machine that has rvm ============
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ rvm --version
rvm 1.10.0 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ bundle --version
Bundler version 1.0.21
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ bundle exec gem list rspec
*** LOCAL GEMS ***
rspec (1.3.2)
rspec-rails (1.3.4)
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ find /home/rca/.rvm/ --name 'rspec'
find: unknown predicate `--name'
rca@futsch:~/work/code/ror/leihs/vendor/bundle$ find /home/rca/.rvm/ -name 'rspec'
/home/rca/.rvm/gems/ruby-1.8.7-p352/gems/cucumber-1.1.3/lib/cucumber/rspec
/home/rca/.rvm/gems/ruby-1.8.7-p352/gems/rspec-rails-1.3.4/generators/rspec
/home/rca/.rvm/gems/ruby-1.8.7-p352/gems/capybara-1.1.2/lib/capybara/rspec
/home/rca/.rvm/gems/ruby-1.8.7-p352/gems/capybara-1.1.2/spec/rspec
/home/rca/.rvm/gems/ruby-1.8.7-p352/gems/rspec-rails-1.3.2/generators/rspec
===== Now trying with bundle install --deployment, still doesn't work ======
rca@futsch:~/work/code/ror/leihs/vendor$ find bundle/ -name 'rspec'
bundle/ruby/1.8/gems/cucumber-1.1.3/lib/cucumber/rspec
bundle/ruby/1.8/gems/rspec-rails-1.3.4/generators/rspec
bundle/ruby/1.8/gems/capybara-1.1.2/lib/capybara/rspec
bundle/ruby/1.8/gems/capybara-1.1.2/spec/rspec
========= The other machine where there is a system ruby 1.8.7, works fine there, bin/ruby exists ======
jenkins@ci:~/jobs/leihs/workspace$ bundle -v
Bundler version 1.0.7
jenkins@ci:~/jobs/leihs/workspace$ bundle exec gem list rspec
*** LOCAL GEMS ***
rspec (1.3.0)
rspec-rails (1.3.2)
jenkins@ci:~/jobs/leihs/workspace$ find vendor/ -iname 'rspec'
vendor/bundle/ruby/1.8/gems/cucumber-0.10.0/lib/cucumber/rspec
vendor/bundle/ruby/1.8/gems/cucumber-1.0.2/lib/cucumber/rspec
vendor/bundle/ruby/1.8/gems/rspec-rails-1.3.2/generators/rspec
vendor/bundle/ruby/1.8/gems/rspec-rails-2.7.0/lib/generators/rspec
vendor/bundle/ruby/1.8/gems/rspec-rails-2.7.0/lib/rspec
vendor/bundle/ruby/1.8/gems/rspec-rails-2.7.0/spec/generators/rspec
vendor/bundle/ruby/1.8/gems/rspec-rails-2.7.0/spec/rspec
vendor/bundle/ruby/1.8/gems/rspec-expectations-2.7.0/lib/rspec
vendor/bundle/ruby/1.8/gems/rspec-expectations-2.7.0/spec/rspec
vendor/bundle/ruby/1.8/gems/rspec-2.7.0/lib/rspec
vendor/bundle/ruby/1.8/gems/rspec-mocks-2.7.0/lib/rspec
vendor/bundle/ruby/1.8/gems/rspec-mocks-2.7.0/spec/rspec
vendor/bundle/ruby/1.8/gems/rspec-core-2.7.1/exe/rspec
vendor/bundle/ruby/1.8/gems/rspec-core-2.7.1/lib/rspec
vendor/bundle/ruby/1.8/gems/rspec-core-2.7.1/spec/rspec
vendor/bundle/ruby/1.8/gems/capybara-1.1.1/lib/capybara/rspec
vendor/bundle/ruby/1.8/gems/capybara-1.1.1/spec/rspec
vendor/bundle/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rspec
vendor/bundle/ruby/1.8/gems/cucumber-1.1.3/lib/cucumber/rspec
vendor/bundle/ruby/1.8/gems/capybara-1.1.2/lib/capybara/rspec
vendor/bundle/ruby/1.8/gems/capybara-1.1.2/spec/rspec
vendor/bundle/ruby/1.8/bin/rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment