Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
vic@odam ~/hk/buildr $ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]
vic@odam ~/hk/buildr $ ls /usr/lib/ruby/gems/1.8/gems/
Antwrap-0.6.0 builder-2.1.2 highline-1.4.0 net-sftp-1.1.0 rake-0.8.1 rspec-1.1.2 sources-0.0.1
archive-tar-minitar-0.5.1 facets-2.2.1 needle-1.3.0 net-ssh-1.1.2 rjb-1.1.1 rubyzip-0.9.1 xml-simple-1.0.11
vic@odam ~/hk/buildr $ ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] vic@odam ~/hk/buildr $ ls /usr/lib/ruby/gems/1.8/gems/ Antwrap-0.6.0 builder-2.1.2 highline-1.4.0 net-sftp-1.1.0 rake-0.8.1 rspec-1.1.2 sources-0.0.1 archive-tar-minitar-0.5.1 facets-2.2.1 needle-1.3.0 net-ssh-1.1.2 rjb-1.1.1 rubyzip-0.9.1 xml-simple-1.0.11
Description
In HEAD, running spec/transport_spec.rb fails at lib/core/transport.rb +339.
vic@odam ~/hk/buildr $ spec spec/transport_spec.rb
Downloading org.apache.ant:ant:jar:1.7.0
Downloading http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
100% |....................................................................................................| 1.2MB/ 1.2MB Time: 00:00:00
Net::HTTPOK#read_body called twice
/home/vic/hk/buildr/lib/java/artifact.rb:363:in `fail_download': Failed to download org.apache.ant:ant:jar:1.7.0, tried the following repositories: (RuntimeError)
http://repo1.maven.org/maven2/ from /home/vic/hk/buildr/lib/java/artifact.rb:328:in `download'
from /home/vic/hk/buildr/lib/java/artifact.rb:258:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
from /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
from /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
from /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
from /home/vic/hk/buildr/lib/core/common.rb:96:in `invoke_with_call_chain'
from /home/vic/hk/buildr/lib/core/common.rb:87:in `synchronize'
... 22 levels...
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/runner/command_line.rb:19:in `run'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.2/bin/spec:4
from /usr/bin/spec:16:in `load'
from /usr/bin/spec:16
Is there something I'm missing?