I have installed Ruby 2.3.0 and Rails 4.2.6 and Byebug,as I found out that Debugger Inspector won't work with versions over 2.0.Everything worked just fine for a while,but then I had to restart my laptop because of an Ubuntu crash.Now,whenever I try to start my server again,this error will appear ~/blog$ bin/rails server Could not find rails-dom-testing-1.0.7 in any of the sources Run bundle install
to install missing gems. But..when I try to install bundle AGAIN Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/bundler20160604-4983-kk24eqsqlite3-1.3.11/gems/sqlite3-1.3.11/ext/sqlite3
/usr/bin/ruby2.3 -r ./siteconf20160604-4983-4lrmvd.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /tmp/bundler20160604-4983-kk24eqsqlite3-1.3.11/gems/sqlite3-1.3.11 for inspection. Results logged to /tmp/bundler20160604-4983-kk24eqsqlite3-1.3.11/extensions/x86_64-linux/2.3.0/sqlite3-1.3.11/gem_make.out Using rdoc 4.2.2 Using tzinfo 1.2.2 Using loofah 2.0.3 Using rack-test 0.6.3 Using mime-types 3.1 An error occurred while installing debug_inspector (0.0.2), and Bundler cannot continue. Make sure that gem install debug_inspector -v '0.0.2'
succeeds before bundling.
What should I do? Thanks.
Aucun commentaire:
Enregistrer un commentaire