Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

gem bundle doesnt work when you only have the latest prerelease version of the gem installed #1

Closed
samgranieri opened this Issue Feb 1, 2010 · 13 comments

Comments

Projects
None yet
8 participants

Checkout edge rails, install the latest prerelease version of bundler, then type gem bundle in the edge rails app directory.

The first error you'd get looks like this: http://gist.github.com/292143

If you type gem cleanup bundler, then type gem bundle in the edge rails app directory, then this will happen: http://gist.github.com/292154

Is rubygems unable to pick up a gem plugin if it's in a prerelease gem? Or am I just getting ahead of myself while edge rails and bundler are in a state of flux? :) Either way, its not currently working

voxxit commented Feb 2, 2010

This is now a binary. You run commands by using: "bundle install". You can see a list of options by just running "bundle"

Gotcha. Thanks!

visnup commented Feb 3, 2010

$ bundle
/Library/Ruby/Gems/1.8/gems/bundler-0.9.0.pre4/bin/bundle:5: uninitialized constant Bundler::BundlerError (NameError)
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19

visnup commented Feb 3, 2010

I still can't get bundler to do much at all (0.9.0.pre4)

visnup commented Feb 3, 2010

ah, same problem. had to gem uninstall bundler -v 0.8.1

Thank you for this fix!

grigio commented Feb 4, 2010

I uninstalled and installed bundler but the "bundle command" is not present

shageman commented Feb 4, 2010

Make sure that you have the bin folder of your local gems in the PATH. For this is ~/.gem/ruby/1.8/bin/

grigio commented Feb 5, 2010

yeah it was that thanks

Contributor

carllerche commented Feb 5, 2010

Sorry for the confusion. If a doc modification would help, please submit a patch. Thanks.

Owner

indirect commented Aug 6, 2010

Where homebrew puts ruby (and where homebrew ruby puts its gem binaries) has nothing to do with bundler, sorry.

This issue was closed.

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