无法启动rails服务器

时间:2015-07-30 09:24:19

标签: ruby ruby-on-rails-3 ssh gem

我是Ruby新手,我正在尝试设置Ruby jruby和Ruby on Rails。

我在命令提示符下安装了bundler并使用“rails server -e qa”命令。我得到了:

  

pageant.rb:1:在`require':无法加载这样的文件--dl / import   (LoadError)。

Ruby22-x64/lib/ruby/gems/2.2.0/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
Ruby22-x64/lib/ruby/gems/2.2.0/gems/mongoid-3.1.6/lib/mongoid/persistence/atomic/operation.rb:74: warning: circular argument reference - field
Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/pageant.rb:1:in `require': cannot load such file -- dl/import (LoadEr
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/pageant.rb:1:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent/socket.rb:5:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent/socket.rb:5:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent.rb:22:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent.rb:22:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/key_manager.rb:4:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/key_manager.rb:4:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/session.rb:4:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/session.rb:4:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.rb:11:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.rb:11:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-sftp-2.1.2/lib/net/sftp.rb:1:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-sftp-2.1.2/lib/net/sftp.rb:1:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:85:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:85:in `rescue in block in require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:68:in `block in require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `each'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
     from D:/Ruby_WS/config/application.rb:7:in `<top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:53:in `require'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:53:in `block in <top (required)>'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `tap'
     from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `<top (required)>'
     from script/rails:6:in `require'
     from script/rails:6:in `<main>'

0 个答案:

没有答案