3

最近、きゅうりの上で使用する culerity をインストールしました。しかし、キュウリのスペックを実行すると、赤に変わります (以前はすべて緑でした)。

私が得るエラーは次の形式です:

Celerity::Exception::NavigationException: com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://localhost:3001/ (Culerity::CulerityException) features/admin.feature:82:in `ログインしています'

Web サーバー コンソール (によって起動rake culerity:rails:start) を見ると、次のエラーが表示されます。

ERROR Errno::EPIPE: 壊れたパイプ

$browser.goto.

何か案が ?

PS: JRuby がインストールされ、パスにあることを確認しました。

4

4 に答える 4

0

これは、gemのreadmeに記載されている内容です。

I get a broken pipe error:

    * make sure JRuby is installed and in your path: running jruby -v should not 
produce an error
于 2010-09-23T06:02:30.160 に答える
0

Bundler の Rails アプリで同様の問題 (パイプの破損) が発生しました。

server = Culerity::run_server

実際にはサーバーを起動せず、そのままにしておきます

Culerity::RemoteBrowserProxy.new(server, …)

高くて乾いている。

Bundler がRUBYOPTenv var を混乱させていることがわかります (詳細については、Bundler が環境を変更する方法を参照してください)。bin/run_celerity_server.rb(culerity gem から) JRuby をインタプリタとして実行し、JRuby は RUBYOPT を尊重します。

Bundler は JRuby gem ではないため、スクリプトはサーバーを起動しません。Culerity::run_serverBundler を使用しない環境で (つまり、 clean を使用してRUBYOPT)呼び出す必要があります。

于 2010-12-22T09:54:05.467 に答える
0

i believe that an upgrade of jruby to a version matching the patch level of ruby that we were running solved our issue, we had to install jruby from source to get the right one

于 2010-09-22T19:01:56.377 に答える
0

多分これは私が経験した問題に関連しています: http://github.com/langalex/culerity/issues/#issue/29

于 2010-09-25T09:37:06.680 に答える