Reputation: 31712
I'm loosing my mind trying to figure out how to solve this issue. I don't know anything about Ruby, I'm just trying to read the docs of react which needs Jekyll to serve them as they're markdowns (didn't understand why they need to complicate things like that). The readme file of the docs says that you have to install these:
which I've done. And then you'll have to do these instructions:
But when I execute the second command bundle exec rake
, this stupid error is thrown:
Could not find gem 'wdm (>= 0.1.0) x86-mingw32' in any of the gem sources listed in your Gemfile. Run
bundle install
to install missing gems.
I run bundle install
and it throw an error too:
An error occurred while installing json (2.0.1), and Bundler cannot continue. Make sure that
gem install json -v '2.0.1'
succeeds before bundling.
I try to install gem install json -v '2.0.1'
and it throws an error:
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
What the hell is going on? Why don't they make something simple? This should be easy not as complicated as rocket science!
Note: I'm using Windows 32bit if that is of some importance.
Any help is very appreciated!
Upvotes: 3
Views: 7183
Reputation: 3716
You have to install the DevKit. Learn how here!
Then make sure bundle is installed or install it like this:
gem install bundle
Upvotes: 5