L
L
lsamurail2019-04-15 18:48:56
Ruby on Rails
lsamurail, 2019-04-15 18:48:56

How to solve a problem in Ruby?

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'` succeeds before bundling.
In Gemfile:
sqlite3
I'm sorry, I'm just starting to learn programming languages, and I don't understand what to do with it. I am trying to create a "New App"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Andreev, 2019-04-15
@b0nn1e

Install a virtual / dual boot with ubuntu and you will be happy.
When developing on Windows, you will get rid of a lot of problems that could have been avoided.

R
Roman Mirilaczvili, 2019-04-15
@2ord

Just install WSL on Windows 10, then select dist. Ubuntu (it's easier for beginners).
Then opening the Ubuntu console (from under Windows)

sudo apt install ruby sqlite3 libsqlite3-dev
sudo gem install sqlite3-ruby

In general, it requires entering the world of Linux. But this is the surest way.
If you want the hard way, then install all dependencies for development on Windows. DevKit for starters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question