Today I encountered a similar problem when trying to configure Octopress / Jekyll.
Here is the solution I found.
Step 1
Go to the ruby gem catalog. In my case, it was in C:/Ruby21/lib/ruby/gems/2.1.0/gems
Look for the juggle.

You will see a folder called yajl-ruby-1.1.0-x86-mingw32
You may or may not see one of the named yajl-ruby-1.2.1
The default tail is -ruby-1.1.0-x86-mingw32. And leads to an error.
We want to use a different version
Step 2
If you do not have a version of none mingw32, run
gem install yajl-ruby
This will install the latest version.
In my case, the latest version was 1.2.1
Step 3
Change the default value from mingw32 version to current version.
To do this, go to gemfile.lock
Find the line that says yajl-ruby (1.1.0-x86-mingw32)
and change it to yajl-ruby (1.2.1)
or the corresponding version that you downloaded


Step 4
What is it. Now it should work.
source share