rbenv: bundler error
Hi,
I am running ruby 1.9.2 with rake 0.9.2 installed globally and a project with a Gemfile specifying rake 0.8.7, when I run:
$ bundle exec rake -T
I get:
/Users/schmurfy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:218:in `block in replace_bin_path': can't find executable rake (Gem::Exception)
from /Users/schmurfy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/bin/rake:19:in `<main>'
it seems to work however in a project using rake 0.9.2
The problem may be on bundler side but I have seriously no idea.
About this issue
- Original URL
- State: closed
- Created 13 years ago
- Reactions: 1
- Comments: 20 (2 by maintainers)
You need to make sure
rake
is explicitly in your Gemfile.