Привет всем, может кто-нибудь помочь мне решить проблему
'ArgumentError: невозможно интерпретировать как DNS-имя: nil'
Ошибка появляется при проведении интегрального тестирования селена капибары в рельсах 4
здесь я использую jruby-1.7.9, а версия ruby внутри JRuby - 2.0.0p195
Я уже использовал версию Ruby 1.9.7, в то время я столкнулся с ошибкой
«Не удается подключиться к ошибке драйвера Chrome»
в чистом рубине, как без использования JRuby, работает интеграционное тестирование. но мое приложение в JRuby. и я использую платформу Ubuntu.
Так что у кого-нибудь есть решение по этому вопросу что я должен сделать, чтобы решить эту проблему?
Здесь добавляется обратная трассировка исключения
["/ home / sidharthan / .rbenv / версии / jruby-1.7.9 / lib / ruby / 2.0 / resolv.rb: 1181: в create'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/resolv.rb:1027:in
generate_candidates '", "/home/sidharthan/.rbenv/ version / jruby-1.7.9 / lib / ruby / 2.0 / resolv.rb: 1052: в resolv'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/resolv.rb:518:in
each_resource '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0 /resolv.rb:411:in each_address'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/resolv.rb:120:in
каждый_адрес '"," org / jruby / RubyArray.java: 1613: в each'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/resolv.rb:119:in
каждый_адрес' "," /home/sidharthan/.rbenv/versions/jruby-1.7.9 /lib/ruby/2.0/resolv.rb:97:in getaddress'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/resolv.rb:48:in
getaddress '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/1.9/resolv-replace.rb: 10: в getaddress'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/1.9/resolv-replace.rb:22:in
инициализировать «,» org / jruby / RubyIO.java: 1178: в open'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/net/http.rb:882:in
подключить «», «org / jruby / ext / timeout / Timeout.java: 144: в timeout'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/net/http.rb:881:in
подключить» "," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/net/http.rb:866:in do_start'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/2.0/net/http.rb:855:in
start '"," /home/sidharthan/.rbenv/ version / jruby-1.7.9 / lib / ruby / 2.0 / net / http.rb: 582: в start'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara/server.rb:81:in
отзывчивый? '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ ruby / gems / shared / gems / capybara-2.9.1 / lib / capybara / server.rb: 97: в boot'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara/session.rb:72:in
initialize '", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara.rb:324:in current_session'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara/dsl.rb:47:in
page '", " /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara/dsl.rb:52:in visit'", "/media/sidharthan/NewVolume/sidharthan_fooddev/foodapp/webapp/food/test/test_helper.rb:115:in
IntegrationTest '", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/capybara-2.9.1/lib/capybara.rb:67:in configure'", "/media/sidharthan/NewVolume/sidharthan_fooddev/foodapp/webapp/food/test/test_helper.rb:102:in
IntegrationTest '", " org / jruby / RubyBasicObject.java: 1565: в instance_exec'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:446:in
make_lambda '"," org / jruby / RubyProc.java: 271: в call'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:192:in
simple' "," org / jruby / RubyProc.java: 271: в call'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in
call '"," org / jruby / RubyArray.java: 1613: in each'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in
call "", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/ gems / activesupport-4.2.6 / lib / active_support / callbacks.rb: 92: в __run_callbacks__'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:782:in
_run_setup_callbacks '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared /gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in run_callbacks'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/testing/setup_and_teardown.rb:41:in
before_setup '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/ общие / драгоценные камни / ActiveRecord-4,2 .6 / lib / active_record / fixtures.rb: 827: в before_setup'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest/test.rb:105:in
запустите '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest- 5.9.1 / lib / minitest / test.rb: 204: в capture_exceptions'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest/test.rb:104:in
запустите '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest -5.9.1 / lib / minitest / test.rb: 255: в time_it'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest/test.rb:103:in
запустите '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/ minitest-5.9.1 / lib / minitest.rb: 348: в on_signal'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest/test.rb:275:in
with_info_handler '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest -5.9.1 / lib / minitest / test.rb: 102: в run'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:799:in
run_one_method '"," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/ minitest-5.9.1 / lib / minitest.rb: 322: в run_one_method'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:310:in
запустите '"," org / jruby / RubyArray.java: 1613: в each'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:309:in
запустите' "," /home/sidharthan/.rbenv/ version / jruby-1.7.9 / lib / ruby / gems / shared / gems / minitest-5.9.1 / lib / minitest.rb: 348: в on_signal'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:335:in
with_info_handler '"," /home/sidharthan/.rbenv/versions /jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:308:i n run'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:158:in
__ run '"," org / jruby / RubyArray.java: 2409: in map'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:158:in
__ run' "," /home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/ shared / gems / minitest-5.9.1 / lib / minitest.rb: 135: в run'", "/home/sidharthan/.rbenv/versions/jruby-1.7.9/lib/ruby/gems/shared/gems/minitest-5.9.1/lib/minitest.rb:62:in
автозапуск '"]
Заранее спасибо