-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Followed docs but unable to run specs in local dev environment #6105
Comments
I tried downgrading to rubygems 2.6.13, but doesn't help. Also If I try only running a part of the specs I need, I appear to get a different, seemingly unrelated failure:
|
I tried installing both 2.1.2 and 3.2.3 of builder to workaround this. No luck. |
And same issues on ruby 2.4.2, and cleaned out local gems. I'm out of guesses currently. |
I sometimes read issues in the Rainbow repo. People who use stock installs of Ruby on Ubuntu have a bad time with rake as a dependency. Are using a Ruby “version manager”? I thought of this when I saw
|
FWIW, my dev environment is Arch Linux, with either stock ruby package (2.4.2) or built by me (2.3.5) using Arch makepkg tooling. I've never seen such problems on any other projects previously. Rake is installed as part of ruby package as well as in gem form. |
This StackOverflow thread about this kind of issue could have clues to this issue. |
I have no problems installing and running rubocop on the bundler source (via
This didn't change anything. Its amazing to me that bundler is only ruby project that I have this problem with, and even in a prestine gem environment. At minimum, it will be interesting to see how that pans out if bundler and its specs remain part of a ruby 2.5.0 final release. |
Thanks for reporting this issue, we'll have a look into this |
Do the tests pass when you |
No, and I tried installing builder 2.1.2, then 3.2.3 on both ruby 2.4.2 and 2.3.5. |
What's the output after you have installed builder? |
Identical. |
@dekellum were you able to solve this issue? I've tried replicating this issue on arch several times but was able to successfully run our test suite. |
I can still reproduce the problem with latest master 892a637. Are you using some shell-magic RVM/rbenv etc? For lack of a better idea, I am thinking to try and see if using one of those changes anything. |
ping @dekellum is this still an issue? |
I can still reproduce, now with latest master 7fc622b and later updated system ruby 2.3.6p384. |
@dekellum Can you reproduce this using ruby 2.4 or ruby 2.5? |
No response for a while so i'm closing this. |
I've followed and re-followed these steps several times:
https://github.com/bundler/bundler/blob/master/doc/development/SETUP.md#development-setup
Running specs fails for me with "LoadError: cannot load such file -- rake"
See detailed env and output below. Is there some other dev. environment dependency that I'm missing?
The text was updated successfully, but these errors were encountered: