Note that there are some explanatory texts on larger screens.

plurals
  1. POjson problems on ubuntu 12.04
    primarykey
    data
    text
    <p>I'm having problems when I try to <code>rake db:migrate</code>. I get the following error: </p> <pre><code>Could not find json-1.7.5 in any of the sources Run `bundle install` to install missing gems. </code></pre> <p>Now, I've already run <code>bundle install</code> and it gave an error when it got to json, but I try it again anyway and get the same error when it gets to json:</p> <blockquote> <p>Installing json (1.7.5) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.</p> <pre><code> /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot </code></pre> <p>load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in <code>require' from extconf.rb:1:in</code>'</p> <p>Gem files will remain installed in /home/chris/.bundler/tmp/2984/gems/json-1.7.5 for inspection. Results logged to /home/chris/.bundler/tmp/2984/gems/json-1.7.5/ext/json/ext/generator/gem_make.out An error occurred while installing json (1.7.5), and Bundler cannot continue. Make sure that <code>gem install json -v '1.7.5'</code> succeeds before bundling.</p> </blockquote> <p>The last part says to make sure <code>gem install json -v '1.7.5'</code> succeeds before bundling, so I run this command and json installs fine:</p> <blockquote> <p>Building native extensions. This could take a while...<br> Successfully installed json-1.7.5<br> 1 gem installed<br> Installing ri documentation for json-1.7.5...<br> Installing RDoc documentation for json-1.7.5...</p> </blockquote> <p>But if I try <code>rake db:migrate</code> it starts all over again with the same errors. I've read about issues with json on Mac, but have had no luck with any of those solutions. Any ideas?</p> <p>I'm running Ubuntu 12.04LTS, ruby 1.9.3, rails 3.2.8, gem 1.8.15 (tried it with 1.9.1 also)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload