-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
gemspec and rake does not work together #73
Comments
I'm having a very similar problem. My use case is that I want to set up a development environment using I can successfully create a
Relevant documentation references: I'd be happy to work on a fix for this, but I don't really know where to start. Any pointers would be welcome! |
This other issue (#76) looks closely related. |
For posterity, I encountered this error when trying to contribute to a third-party library. Doing some additional Google searches led me to these chat logs:
This confirms that the workaround of moving the I don't want to propose a change to the upstream library just because |
If a gem is created with
gemspec
within theGemfile
and with rake, then rake doesn't work as it is trying to find the gemspec in /nix/store as opposed to the current directory in nix-shell. This problem has been discussed in IRC in the past, but I don't see an issue for it?To reproduce
Gemfile
:bundix -l
andbundix -i
to generate theGemfile.lock
,gemset.nix
, andshell.nix
nix-shell --run "rake"
and see the following error:To work around
Do not use
gemspec
and hard code the dependencies inGemfile
The text was updated successfully, but these errors were encountered: