Skip to content
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

Add support for bundled rake #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mlarraz
Copy link

@mlarraz mlarraz commented Dec 10, 2014

Projects using Gemfiles are always tied to a specific version of rake.
By default, calling rake will use whatever the highest version of rake installed is.
If this version conflicts with the one in the Gemfile.lock, the rake task will abort with

rake aborted!
Gem::LoadError: You have already activated rake 10.4.1, but your Gemfile requires rake 10.3.2. Prepending `bundle exec` to your command may solve this.

If a project has a Gemfile, we can assume they will want to run bundle exec rake, not rake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants