-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'bundle exec rake' calls nonexistent rake path #495
Comments
|
bundle install does not seem to fix the problem of the deleted rake |
Did you try upgrading RubyGems and bundler? I'm pretty sure the issue is not in rbenv, but that you would be getting the same error even if you were not using a Ruby version manager. The error is bizarre and might get avoided by upgrading RubyGems or bundler, or by manually installing rake:
(assuming 0.9.6 is the version of rake listed in your |
seems to have resolved the problem. Thanks! I am using bundler 1.3.5 and RubyGems 2.0.3. I am confused as to why this problem occurred since I would think that doing |
I am having an issue with a gem named 'activerecord-sqlserver-adapter' in which I am trying to run tests and bundle exec rake fails with the following error message:
For some reason bundle exec is looking for rake in a nonexistent folder, .rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/specifications/default/bin/rake
I currently have another ticket open under the sql server adapter project (rails-sqlserver/activerecord-sqlserver-adapter/issues/291) but my research has brought me to the following PATH problem on rbenv, and I was wondering if it could be related:
/issues/121
/issues/95
sstephenson/rbenv/commit/db143bb654fe447a462b0d91ba931e0524f234f7
I am using rbenv version 0.4.0 and when I remove the rbenv shims folder from my PATH to just use the system ruby I am able to avoid this particular error.
The text was updated successfully, but these errors were encountered: