Ruby on Rails-输入Rails_s之后



我在轨道上学习Ruby,但仍然不喜欢该语言的某些部分。

我试图获得一个铁路项目以在Firefox上显示,但是,一旦我输入命令" Rails s",我就会出现以下错误:铁路的错误源代码是:

c: sites weeks_1 _-_ 15 week_1 bookshop1a> rails s sc:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.0.2/lib/active_support/values/time_zone.rb:282:警告:循环参数参考 - 现在c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb:6:在 require': cannot load such file -- sqlite3/sqlite3_native ( LoadError) from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10 -x86-mingw32/lib/sqlite3.rb:6:in中 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb:2:在<top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:91:in中 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91: in block (2 levels) in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:86:in每个 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86: in block in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:75:in every' 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:在require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler.rb:106:in要求' 来自c:/sites/weeks_1 _-_ 15/week_1/bookshop1a/config/application.rb:7:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:74:in要求' 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2/lib/rails/commands.rb:74:iin block in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:71:in tap' 来自c:/railsinstaller/ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in <top (required)>' from script/rails:6:in要求' 来自脚本/铁路:6:在`''

任何帮助将不胜感激!

谢谢!

错误消息指示未安装或正确配置SQLITE。首先安装SQLite后,尝试启动Rails Server。

也许本教程有助于使SQLite启动并运行:

http://www.sqlitetoriory.net/download-install-sqlite/

相关内容

  • 没有找到相关文章

最新更新