Answer the question
In order to leave comments, you need to log in
Ruby/How to solve server error problem?
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/ sqlite3-1.4.0/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sqlite3-1.4.0 for
inspection.
Results logged to
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/sqlite3-1.4.0/gem_make.out
An error occurred while installing sqlite3 (1.4. 0), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.4.0' --source ' https://rubygems.org/ '`
succeeds before bundling.
In Gemfile:
sqlite3
then this error
Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Answer the question
In order to leave comments, you need to log in
Check sqlite3 version. Try to install version 1.3.6, it helped me in a similar case.
To do this, specify its version explicitly:
gem 'sqlite3', '~> 1.3.6'
Rails generally stays close to the latest released Ruby version when it's released:
Rails 5 requires Ruby 2.2.2 or newer.
Rails 4 prefers Ruby 2.0 and requires 1.9.3 or newer.
Rails 3.2.x is the last branch to support Ruby 1.8.7.
Rails 3 and above require Ruby 1.8.7 or higher. Support for all of the previous Ruby versions has been dropped officially. You should upgrade as early as possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question