Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setting up with Ruby (cannot load such file json/pure)

Tags:

ruby

Hi I was working on an API https://developers.supportbee.com/platform/overview

while doing bin/sbapp new APP_SLUG I got the error

/home/nitesh/.gem/ruby/1.9.1/gems/bundler-1.2.3/lib/bundler/spec_set.rb:90:in `block in materialize': Could not find multi_json-1.3.6 in any of the sources (Bundler::GemNotFound)

after which I again tried gem install multi_json and then again got the error

Successfully installed multi_json-1.5.0
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- json/pure (LoadError)
like image 425
niteshnarayanlal Avatar asked Dec 12 '12 13:12

niteshnarayanlal


1 Answers

I got this error while installing rails. I solved it by running gem install json_pure and then running gem install rails again.

like image 67
Dagmar Avatar answered Sep 19 '22 18:09

Dagmar