Skip to content

Instantly share code, notes, and snippets.

@jyurek
Created May 4, 2012 14:33
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 jyurek/2595139 to your computer and use it in GitHub Desktop.
Save jyurek/2595139 to your computer and use it in GitHub Desktop.
rbenv doesn't work for me.
1 Birdhouse:~/Development/project1 jyurek (sandbox1)$ which bundle
/Users/jyurek/.rbenv/shims/bundle
0 Birdhouse:~/Development/project1 jyurek (sandbox1)$ bundle
Fetching source index for http://rubygems.org/
Enter your password to install the bundled RubyGems to your system: #[ <-------- WAT ]
[.. a bunch of gems ...]
Installing linecache19 (0.5.12) /Library/Ruby/Site/1.8/rubygems/installer.rb:388:in `ensure_required_ruby_version_met': linecache19 requires Ruby version >= 1.9.2. (Gem::InstallError)
from /Library/Ruby/Site/1.8/rubygems/installer.rb:156:in `install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `run'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `run'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `send'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/bin/bundle:13
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19
1 Birdhouse:~/Development/project1 jyurek (sandbox1)$ which ruby
/Users/jyurek/.rbenv/shims/ruby
0 Birdhouse:~/Development/project1 jyurek (sandbox1)$ ruby -v
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.3.0]
0 Birdhouse:~/Development/project1 jyurek (sandbox1)$ which bundle
/Users/jyurek/.rbenv/shims/bundle
0 Birdhouse:~/Development/project1 jyurek (sandbox1)$
@metaskills
Copy link

Would love to see a $ which gem and $ gem env output. Are you setting any GEM ENV vars?

@jyurek
Copy link
Author

jyurek commented May 7, 2012

Well, I've since uninstalled it, but which gem was pointing, correctly, to the shim. I don't know about gem env, but I hadn't set any vars for that.

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