无法加载此类文件 - 在 Ruby 2 running rails 3.2.11 中的 sqlite3/sqlite3_native (LoadError) [英] cannot load such file -- sqlite3/sqlite3_native (LoadError) in Ruby 2 running rails 3.2.11

查看:35
本文介绍了无法加载此类文件 - 在 Ruby 2 running rails 3.2.11 中的 sqlite3/sqlite3_native (LoadError)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试运行 rails s 时遇到上述错误.

I am getting the above error when trying to run rails s.

bundle show sqlite3 产生

c:/ruby/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32(这意味着,喘息,我正在 Windows XP 机器上运行它.)

c:/ruby/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32 (which means, gasp, I'm running it on a Windows XP machine.)

我也有:

group :development, :test do
  ...
  gem 'sqlite3'
  ...
end

我还没有找到与此类似(环境方面)的任何其他答案.有什么帮助吗?

I haven't found any other answers similar (environment-wise) to this one. Any help?

推荐答案

遇到了同样的问题.这不会直接回答您的问题,但我通过使用 http://railsinstaller.org/ 一切正常

Had the same problem. This won't directly answer your question but I solved it by simply installing the whole set using http://railsinstaller.org/ and it all works

以下是 railsinstaller 安装的所有包:

Following are all the packages installed by railsinstaller:

  • Ruby 1.9.3-p392
  • Rails 3.2
  • 打包机
  • git
  • SQLite
  • TinyTDS
  • SQL Server
  • 支持
  • 开发工具包

这篇关于无法加载此类文件 - 在 Ruby 2 running rails 3.2.11 中的 sqlite3/sqlite3_native (LoadError)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆