{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/warbler/issues/326","labels_url":"https://api.github.com/repos/jruby/warbler/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/jruby/warbler/issues/326/comments","events_url":"https://api.github.com/repos/jruby/warbler/issues/326/events","html_url":"https://github.com/jruby/warbler/issues/326","id":82723098,"number":326,"title":"Bundler 1.10.1 breaks Warbler","user":{"login":"sanelson2000","id":1462090,"avatar_url":"https://avatars.githubusercontent.com/u/1462090?v=3","gravatar_id":"","url":"https://api.github.com/users/sanelson2000","html_url":"https://github.com/sanelson2000","followers_url":"https://api.github.com/users/sanelson2000/followers","following_url":"https://api.github.com/users/sanelson2000/following{/other_user}","gists_url":"https://api.github.com/users/sanelson2000/gists{/gist_id}","starred_url":"https://api.github.com/users/sanelson2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanelson2000/subscriptions","organizations_url":"https://api.github.com/users/sanelson2000/orgs","repos_url":"https://api.github.com/users/sanelson2000/repos","events_url":"https://api.github.com/users/sanelson2000/events{/privacy}","received_events_url":"https://api.github.com/users/sanelson2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-30T06:36:12Z","updated_at":"2015-06-01T14:01:10Z","closed_at":null,"body":"Note:  This was originally tested on Windows, but also fails on Linux.\r\n\r\nCross posted to Bundler repository.\r\nhttps://github.com/bundler/bundler/issues/3691\r\n\r\nJRuby 1.7.20 installed\r\n```\r\nC:\\TeamCity\\buildAgent\\work\\51193650a9909371>jruby -v\r\njruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on Java HotSpot(TM) Client VM 1.7.0_79-b15 +jit [Windows Server 2012-x86]\r\n```\r\n\r\nBundler 1.10.1 Installed\r\n```\r\nC:\\TeamCity\\buildAgent\\work\\51193650a9909371>gem list bundler\r\nio/console not supported; tty will not be manipulated\r\n\r\n*** LOCAL GEMS ***\r\n\r\nbundler (1.10.1)\r\n```\r\n\r\nWarbler 1.4.7 added to the bundle (also tested with Warbler 1.4.0)\r\n```\r\nC:\\TeamCity\\buildAgent\\work\\51193650a9909371>bundle show warbler\r\nio/console not supported; tty will not be manipulated\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7\r\n```\r\n\r\n`bundle exec warble` fails:\r\n```\r\nC:\\TeamCity\\buildAgent\\work\\51193650a9909371>bundle exec warble --trace\r\nio/console not supported; tty will not be manipulated\r\nio/console not supported; tty will not be manipulated\r\n** Invoke default (first_time)\r\n** Invoke war (first_time)\r\n** Execute war\r\n** Invoke war:compiled (first_time)\r\n** Execute war:compiled\r\nwarble aborted!\r\nArgumentError: dependency name must be a String, was #<Bundler::StubSpecification:0x9b0bf @spec_fetcher=nil, @name=\"rake\", @stub=#<Gem::StubSpecification:0xd628c1 @extensions=[], @spec=#<Gem::Specification:0x1a06 rake-10.3.2>, @platform=\"ruby\", @extensions_dir=nil, @base_dir=nil, @gem_dir=nil, @loaded_from=\"C:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/specifications/rake-10.3.2.gemspec\", @version=#<Gem::Version \"10.3.2\">, @extension_dir=nil, @name=\"rake\", @full_gem_path=nil, @gems_dir=nil, @data=#<Gem::StubSpecification::StubLine:0xdacdf @parts=[\"rake\", \"10.3.2\", \"ruby\", \"lib\"]>>, @source=#<Bundler::Source::Rubygems:0x13f4e30 @options={}, @installed_specs=#<Bundler::Index:0x6664 sources=[] specs.size=90>, @caches=[<Pathname:C:/TeamCity/buildAgent/work/51193650a9909371/vendor/cache>, \"C:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/cache\"], @specs=#<Bundler::Index:0x6666 sources=[] specs.size=90>, @allow_cached=false, @dependency_names=[\"rake\", \"i18n\", \"minitest\", \"multi_json\", \"thread_safe\", \"tzinfo\", \"activesupport\", \"builder\", \"erubis\", \"rack\", \"rack-test\", \"actionpack\", \"mime-types\", \"polyglot\", \"treetop\", \"mail\", \"actionmailer\", \"activemodel\", \"activerecord-deprecated_finders\", \"arel\", \"activerecord\", \"activerecord-jdbc-adapter\", \"jdbc-jtds\", \"activerecord-jdbcmssql-adapter\", \"jdbc-postgres\", \"activerecord-jdbcpostgresql-adapter\", \"jdbc-sqlite3\", \"activerecord-jdbcsqlite3-adapter\", \"activerecord-oracle_enhanced-adapter\", \"ansi\", \"orm_adapter\", \"ckeditor\", \"coffee-script-source\", \"execjs\", \"coffee-script\", \"thor\", \"railties\", \"coffee-rails\", \"composite_primary_keys\", \"dynamic_form\", \"multipart-post\", \"faraday\", \"hashie\", \"hike\", \"jquery-rails\", \"jquery-ui-rails\", \"jquery.fileupload-rails\", \"jrjackson\", \"jruby-jars\", \"jruby-poi\", \"jruby-rack\", \"json\", \"jwt\", \"linecache\", \"mini_portile\", \"powerbar\", \"minitest-reporters\", \"multi_xml\", \"nokogiri\", \"oauth\", \"oauth2\", \"oauth-plugin\", \"protected_attributes\", \"quiet_assets\", \"rabl\", \"tilt\", \"sprockets\", \"sprockets-rails\", \"rails\", \"rcdmu\", \"ruby-debug-base\", \"ruby-debug-ide\", \"rubyzip\", \"sanitize\", \"sass\", \"sass-rails\", \"swagger-docs\", \"swagger-ui_rails\", \"test-unit\", \"therubyrhino_jar\", \"therubyrhino\", \"trinidad_jars\", \"trinidad\", \"uglifier\", \"warbler\", \"yui-compressor\"], @allow_remote=false, @remotes=[#<URI::HTTP:0x1eb54f3 URL:http://rubygems.org/>]>, @platform=\"ruby\", @version=#<Gem::Version \"10.3.2\">>\r\nC:/jruby/jruby-1.7.20/lib/ruby/shared/rubygems/dependency.rb:46:in `initialize'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/gems.rb:59:in `find_single_gem_files'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/gems.rb:46:in `specs'\r\norg/jruby/RubyHash.java:1341:in `each'\r\norg/jruby/RubyEnumerable.java:764:in `map'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/gems.rb:46:in `specs'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/jar.rb:197:in `find_gems_files'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/jar.rb:39:in `compile'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/task.rb:109:in `define_compiled_task'\r\norg/jruby/RubyProc.java:271:in `call'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:240:in `execute'\r\norg/jruby/RubyArray.java:1613:in `each'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:179:in `invoke_with_call_chain'\r\nC:/jruby/jruby-1.7.20/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/task.rb:88:in `define_main_task'\r\norg/jruby/RubyArray.java:1613:in `each'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/task.rb:82:in `define_main_task'\r\norg/jruby/RubyProc.java:271:in `call'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:240:in `execute'\r\norg/jruby/RubyArray.java:1613:in `each'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:179:in `invoke_with_call_chain'\r\nC:/jruby/jruby-1.7.20/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'\r\norg/jruby/RubyArray.java:1613:in `each'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'\r\nC:/jruby/jruby-1.7.20/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'\r\norg/jruby/RubyArray.java:1613:in `each'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:78:in `run'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/lib/warbler/application.rb:77:in `run'\r\nC:/TeamCity/buildAgent/work/51193650a9909371/vendor/bundle/jruby/1.9/gems/warbler-1.4.7/bin/warble:11:in `(root)'\r\norg/jruby/RubyKernel.java:1091:in `load'\r\nC:\\TeamCity\\buildAgent\\work\\51193650a9909371\\vendor\\bundle\\jruby\\1.9\\bin\\warble:23:in `(root)'\r\nTasks: TOP => war:compiled\r\n```"},"comment":{"url":"https://api.github.com/repos/jruby/warbler/issues/comments/107498388","html_url":"https://github.com/jruby/warbler/issues/326#issuecomment-107498388","issue_url":"https://api.github.com/repos/jruby/warbler/issues/326","id":107498388,"user":{"login":"kares","id":45967,"avatar_url":"https://avatars.githubusercontent.com/u/45967?v=3","gravatar_id":"","url":"https://api.github.com/users/kares","html_url":"https://github.com/kares","followers_url":"https://api.github.com/users/kares/followers","following_url":"https://api.github.com/users/kares/following{/other_user}","gists_url":"https://api.github.com/users/kares/gists{/gist_id}","starred_url":"https://api.github.com/users/kares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kares/subscriptions","organizations_url":"https://api.github.com/users/kares/orgs","repos_url":"https://api.github.com/users/kares/repos","events_url":"https://api.github.com/users/kares/events{/privacy}","received_events_url":"https://api.github.com/users/kares/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T14:01:09Z","updated_at":"2015-06-01T14:01:09Z","body":"the work-around for Warbler (<= **1.4.7**) is to use gem bundler `< 1.10`"}}