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
bundle exec rake yarn:install - Error #3013
Comments
I've got the same problem. |
Error message looks very similar to: https://bugs.launchpad.net/ubuntu/+source/ruby-thor/+bug/1885424 |
I can confirm that adding the 'gem 'thor', '~> 0.20.3'' to the GemFile does fix the problem. |
Ignore this |
|
Sorry, I saw the "optional" instructions for rbenv in the INSTALL.md and that is what I used. I won't recommend it again. I mixed up the issue opener with a commenter about WSL. (I guess I'm still a little new) |
No worries! |
Many thanks to RogierB. |
I've investigated this today, and figured out what's going on. We have Thor 1.0.1 in our Gemfile.lock, and there's also the The question then is why do we have the ubuntu packaged version of bundler installed? We have a specific line in the INSTALL instructions to install bundler using rubygems. Note that this approach - using gem instead of apt - was added 7 years ago for unrelated reasons. But more recently, the instructions were updated to also install the My suggestion would be to remove the ubuntu package But I'm aware that if a developer already has the Ubuntu Personally I have avoided this on my own laptop by not having installed the packaged version of bundler. Finally, this might be the root cause of the other complaints about 'yarn:install' recently, since it is the first thing in the INSTALL notes that uses |
So #2299 (comment) seems to be the origin of that install command being added. |
For what it's worth, I've also investigated the problems with the |
I didn't notice that at the time, but it looks like that OP missed the instruction to install bundler via the |
The interesting thing is that they haven't unbundled eveything - the I just checked and the Fedora package doesn't unbundle thor. |
I try install openstreetmap-website.
In the following command:
bundle exec rake yarn:install
I used recommendation tomhughes
sudo apt-get install npm
sudo npm install -g yarn
But the result remained the same
My system is hosted on VirtualBox Version 6.1.16 r140961 (Qt5.6.2) (windows)
Description: Ubuntu 20.04.1 LTS
Release: 20.04
What am I doing wrong?
The text was updated successfully, but these errors were encountered: