Skip to content

Instantly share code, notes, and snippets.

@aspiers
Created March 5, 2013 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspiers/5091419 to your computer and use it in GitHub Desktop.
Save aspiers/5091419 to your computer and use it in GitHub Desktop.
rubygems-bundler not working
$ gem list
*** LOCAL GEMS ***
bundler (1.2.4)
rake (10.0.3)
rubygems-bundler (1.1.1, 1.1.0)
rvm (1.11.3.6)
$ bundle exec gem list | wc -l
98
$ bundle config
Settings are listed in order of priority. The top value will be used.
frozen
Set for your local app (/home/bandhand/web/production/releases/20130304021651/.bundle/config): "1"
path
Set for your local app (/home/bandhand/web/production/releases/20130304021651/.bundle/config): "/home/bandhand/web/production/shared/bundle"
disable_shared_gems
Set for your local app (/home/bandhand/web/production/releases/20130304021651/.bundle/config): "1"
without
Set for your local app (/home/bandhand/web/production/releases/20130304021651/.bundle/config): "development:test"
bin
Set for your local app (/home/bandhand/web/production/releases/20130304021651/.bundle/config): "./bundler_stubs"
$ gem install rubygems-bundler
Fetching: rubygems-bundler-1.1.1.gem (100%)
Successfully installed rubygems-bundler-1.1.1
1 gem installed
Installing ri documentation for rubygems-bundler-1.1.1...
Installing RDoc documentation for rubygems-bundler-1.1.1...
$ gem regenerate_binstubs
bundler 1.2.4
rake 10.0.3
rubygems-bundler 1.1.1
rubygems-bundler 1.1.0
$ bundle exec gem regenerate_binstubs
ERROR: While executing gem ... (RuntimeError)
Unknown command regenerate_binstubs
@aspiers
Copy link
Author

aspiers commented Mar 5, 2013

When run without bundle exec, it generates binstubs for the gemset, not for the gems in /home/bandhand/web/production/shared/bundle. And when run with bundle exec, it doesn't work at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment