0

gem capistranoをインストールし、テスト ブランチからキャップ デプロイを試みていますが、エラーが発生し、キャップ デプロイが失敗しています。

エラースタックトレースは次のとおりです。

LoadError: no such file to load -- jruby_pageant require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/agent/java_pageant.rb:1 require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/agent.rb:1 require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/agent.rb:20 require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/key_manager.rb:1 require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/key_manager.rb:4 require at org/jruby/RubyKernel.java:1027 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/session.rb:1 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh/ authentication/session.rb:4 require at org/jruby/RubyKernel.java:1027 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh. rb:1 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-2.6.7/lib/net/ssh. rb:11 require at org/jruby/RubyKernel.java:1027 (root) at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 require at org/jruby/RubyKernel.java:1027 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/net-ssh-gateway-1.2.0/lib/ net/ssh/gateway.rb:2 (root) at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1 require at org/jruby/RubyKernel.java:1027 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/capistrano-2.15.4/lib/capi strano/configuration/connections.rb:2 require at org/jruby/RubyKernel.java:1027 (root) at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1 require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 load at org/jruby/RubyKernel.java:1046 (root) at c:\jruby-1.7.2\bin\cap:23

誰かがこれについて助けてくれますか?前もって感謝します。

4

1 に答える 1

2

jruby -S を使用して capistrano をインストールし、システムに ruby​​ と jruby がある場合は、PATH の前に ruby​​ を作成します。

于 2013-07-18T10:06:13.287 に答える