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

Better error message when rake-compiler gem is missing #67

Merged
merged 1 commit into from
Apr 3, 2015

Conversation

rtomayko
Copy link
Owner

@rtomayko rtomayko commented Apr 3, 2015

Reported in #31. When building or running tests locally and the rake-compiler gem isn't installed, rake blows up with:

$ rake
rake aborted!
LoadError: cannot load such file -- rake/extensiontask
/Users/rtomayko/github/posix-spawn/Rakefile:18:in `<top (required)>'
(See full trace by running task with --trace)

This PR gives more detail on which gem is missing and suggests running bundle install:

$ rake
ERROR: The rake-compiler gem dependency is missing.
Please run `bundle install' and try again.
rake aborted!

rtomayko added a commit that referenced this pull request Apr 3, 2015
Better error message when rake-compiler gem is missing
@rtomayko rtomayko merged commit 432e543 into master Apr 3, 2015
@rtomayko rtomayko deleted the rake-compiler-error branch April 7, 2015 04:46
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.

1 participant