这是我第一次使用rails -我在这个链接中安装了rails --我创建了我的第一个项目,但是在尝试运行rails服务器时遇到了麻烦,首先,它需要运行
bundle install运行bundle install之后,我在命令行中看到了几个问题
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.2/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.2 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.2/gem_make.out
An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/'`
succeeds before bundling.
In Gemfile:
sqlite3 那我怎么才能解决这些请求?
发布于 2020-09-27 15:05:25
在您的Gemfile中,尝试降低您正在使用的sqlite版本。
gem 'sqlite3', '~>1.3.13'看看https://rubygems.org/gems/sqlite3/versions/1.3.13-x86-mingw23,1.3.13似乎是mingw23支持的最新版本。
https://stackoverflow.com/questions/64089845
复制相似问题