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

Cannot load /usr/share/rubygems-integration/all/specifications/bin/rake #33

Closed
xairy opened this Issue Mar 3, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@xairy
Copy link

xairy commented Mar 3, 2017

Hi!

I'm getting the following error when trying to run bin/rake spec:

$ ./bin/rake spec
./bin/rake:16:in `load': cannot load such file -- /usr/share/rubygems-integration/all/specifications/bin/rake (LoadError)
	from ./bin/rake:16:in `<main>'

How do I fix this?

@xairy

This comment has been minimized.

Copy link

xairy commented Mar 3, 2017

Fixed by:

sudo rm /usr/share/rubygems-integration/all/specifications/rake-10.5.0.gemspec
bundle install
@sjackman

This comment has been minimized.

Copy link

sjackman commented Aug 28, 2017

I was able to resolve this problem with

mkdir -p /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin
ln -s /usr/bin/rake /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/

Linuxbrew/brew@e5909f1

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