Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

erra durante o bundle install

apos rodar o comando a seguinte mensagem aparece quanto ele tenta instalar o sqlite3.

Installing sqlite3 1.3.11 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /tmp/bundler20161008-30515-nw46i3sqlite3-1.3.11/gems/sqlite3-1.3.11/ext/sqlite3 /usr/bin/ruby2.3 -r ./siteconf20161008-30515-12p6dij.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/bundler20161008-30515-nw46i3sqlite3-1.3.11/gems/sqlite3-1.3.11 for inspection. Results logged to /tmp/bundler20161008-30515-nw46i3sqlite3-1.3.11/extensions/x86_64-linux/2.3.0/sqlite3-1.3.11/gem_make.out Using turbolinks-source 5.0.0 Using tzinfo 1.2.2 Installing nokogiri 1.6.8.1 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /tmp/bundler20161008-30515-688fvrnokogiri-1.6.8.1/gems/nokogiri-1.6.8.1/ext/nokogiri /usr/bin/ruby2.3 -r ./siteconf20161008-30515-1nh0h89.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/bundler20161008-30515-688fvrnokogiri-1.6.8.1/gems/nokogiri-1.6.8.1 for inspection. Results logged to /tmp/bundler20161008-30515-688fvrnokogiri-1.6.8.1/extensions/x86_64-linux/2.3.0/nokogiri-1.6.8.1/gem_make.out Using rack-test 0.6.3 Using mime-types 3.1 Using sprockets 3.7.0 An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue. Make sure that gem install sqlite3 -v '1.3.11' succeeds before bundling.

1 resposta
solução!

Oi Julio, isso acontece porque algumas dependencias do sistema operacional não foram instaladas. Um link interessante que sempre recorro nestes casos é o do blog do Akita em http://www.akitaonrails.com/2015/01/28/ruby-e-rails-no-ubuntu-14-04-lts-trusty-tahr