无法启动Rails服务器

时间:2015-03-19 00:39:36

标签: ruby-on-rails ruby

我是Ruby的新手。我在windows系统中安装了ruby和gem,但无法启动rails服务器。我附加了屏幕截图,下面是我得到的错误。需要帮助来解决这个问题。

c:\ror\dev\draft_app>rails s
c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb
:6:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/l
ib/sqlite3.rb:6:in `rescue in <top (required)>'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/l
ib/sqlite3.rb:2:in `<top (required)>'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:76:in `require'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:76:in `block (2 levels) in require'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:72:in `each'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:72:in `block in require'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:61:in `each'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler/ru
ntime.rb:61:in `require'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.8.5/lib/bundler.rb
:134:in `require'
        from c:/ror/dev/draft_app/config/application.rb:7:in `<top (required)>'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands/commands_tasks.rb:78:in `require'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands/commands_tasks.rb:78:in `block in server'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands/commands_tasks.rb:75:in `tap'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands/commands_tasks.rb:75:in `server'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands/commands_tasks.rb:39:in `run_command!'
        from c:/ror/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/com
mands.rb:17:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'

提前致谢enter image description here

0 个答案:

没有答案