imathis / octopress

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?
http://github.com/imathis/octopress
9.31k stars 2.62k forks source link

Missing json gem? #1138

Open stefan-langenmaier opened 11 years ago

stefan-langenmaier commented 11 years ago

I just updated my octopress installation today, executed "bundle" without a problem and now I'm getting the following error on "rake generate":

plugins/config_tag.rb:1:in `require': cannot load such file -- json (LoadError)

The gem json is installed.

jdoss commented 11 years ago

I just updated the 2.1 branch on my install and had the exact same issues. Had to add:

gem 'json'
gem 'execjs'
gem 'therubyracer'

to the Gemfile (https://gist.github.com/jdoss/5218727) and then bundle install. Also, In order to get therubyracer gem working I had to install v8.x86_64 v8-devel.x86_64 and gcc-c++ on Fedora 18.

stefan-langenmaier commented 11 years ago

Thanks, that fixed my problem. How did you figure it out? I had no clue how to progress from that error message as I had json already installed and that's all what me the error message told. :(

parkr commented 11 years ago

When we added the auto-minification via Guard, we may have forgotten to require these 0:-)

mcobzarenco commented 11 years ago

Thanks jdoss, I had the same problem and your solution fixed it.