[ 
https://issues.apache.org/jira/browse/BUILDR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041689#comment-14041689
 ] 

Peter Donald commented on BUILDR-694:
-------------------------------------

Somehow this slipped through the cracks. I just added Ruby 2.1.0 to the set of 
versions we test against and will look at trying to apply this fix this evening.

> "buildr upload" fails: wrong number of arguments in progress bar read()
> -----------------------------------------------------------------------
>
>                 Key: BUILDR-694
>                 URL: https://issues.apache.org/jira/browse/BUILDR-694
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.15
>            Reporter: Mark Reibert
>         Attachments: 
> 0001-Support-the-two-argument-form-of-StringIO-read-i.e.-.patch
>
>
> The upload task fails with the following error:
> bash$ buildr upload
> ...
> Deploying packages from <whatever>
> Deploying <whatever>:pom:<version>
> Buildr aborted!<whatever>-<version>:   0% |                                   
>                                                                           |   
>     0B/231B ETA:  --:--:--
> ArgumentError : wrong number of arguments (2 for 1)
> It appears at some point (and I didn't track it down) the two-argument form 
> of IO::read() is being called during the HTTP PUT. I'll attach a patch that 
> fixes the problem
> bash$ buildr --version
> Buildr 1.4.15
> bash$ ruby --version
> ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
> bash$ java -version
> java version "1.7.0_51"
> OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to