You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Jean-Philippe Caruana <jp...@target2sell.com> on 2013/10/07 18:37:41 UTC

installing buildr on windows

Hi,

I'm trying to install buildr on windows. I successfully installed ruby,
rubydev and configured JAVA_HOME
(http://buildr.apache.org/installing.html#windows)

$ gem install buildr --platform mswin32
works fine

but when I try to run buildr :
$ buildr --version
rubygems/dependency.rb:247:in `to_specs': Could not find buildr (>= 0)
amongst [atoulme-Antwrap-0.7.4, builder-3.2.2,
buildr-1.4.13-x86-mswin32, bundler-1.3.5, diff-lcs-1.2.4,
highline-1.6.19, hoe-3.7.1, json_pure-1.8.0, minitar-0.5.4,
net-sftp-2.1.2, net-ssh-2.7.0, orderedhash-0.0.6, rake-0.9.2.2,
rjb-1.4.8, rspec-2.14.1, rspec-core-2.14.5, rspec-expectations-2.14.3,
rspec-mocks-2.14.3, rubyforge-2.0.4, rubyzip-0.9.9, xml-simple-1.1.2]
(Gem::LoadError)
        from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1231:in `gem'
        from C:/Ruby187/bin/buildr:22

Any idea ?
Thanks
ps : I'm not used to windows anymore, so I made many mistakes. I am
trying to install buildr on a collegue's devbox before he installs a
proper OS.
-- 
Jean-Philippe Caruana

Re: installing buildr on windows

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

I use JRuby 1.7.3 on Win7 and this works fine with Buildr 1.4.13.

Tammo


On Wed, Oct 9, 2013 at 12:25 PM, Jean-Philippe Caruana
<jp...@target2sell.com>wrote:

> Le 09/10/2013 12:10, Peter Donald a écrit :
> > Hi,
> >
> > I have just setup a windows virtual machine to try and track down the
> issues...
>
> I'll do the same too
>
> > On Wed, Oct 9, 2013 at 8:19 PM, Jean-Philippe Caruana
> > <jp...@target2sell.com> wrote:
> >> I tried the jruby install, and buildr --version failed.
> >
> > What version of jruby? and java? and what was the exact failure.
>
> oops, sorry I forgot this information !
>
> windows 7
> jruby 1.7.5 (64bits)
> jdk 1.7.0_05
>
> >> I installed the 1.4.12 version... and it worked ! There are issues with
> >> buildr 1.4.13 and jruby on windows (the CI build jruby-win32 failed).
> >
> > Unfortunately the CI build can not be counted on - there is
> > intermittent failures that mean the test results can not necessarily
> > be relied upon. I generally scan over the errors and only take notice
> > if they are not one of the handful that intermittently fail.
>
> ok !
> --
> Jean-Philippe Caruana
>



-- 
Tammo van Lessen - http://www.taval.de

Re: installing buildr on windows

Posted by Peter Donald <pe...@realityforge.org>.
On Wed, Oct 9, 2013 at 9:25 PM, Jean-Philippe Caruana
<jp...@target2sell.com> wrote:
> Le 09/10/2013 12:10, Peter Donald a écrit :
>> On Wed, Oct 9, 2013 at 8:19 PM, Jean-Philippe Caruana
>> <jp...@target2sell.com> wrote:
>>> I tried the jruby install, and buildr --version failed.
>>
>> What version of jruby? and java? and what was the exact failure.
>
> oops, sorry I forgot this information !
>
> windows 7
> jruby 1.7.5 (64bits)
> jdk 1.7.0_05

jruby 1.7.5 breaks on all platforms but 1.7.4 should work. (We never
tested 1.7.5 as it was released after the buildr release).

It is actually related to some of the windows failures, namely
BUILDR-680 as they are both due to a library we depend upon
(highline). It seems there is no single version we can depend upon.

- No version works out of the box with jruby 1.7.5
- the latest version does not work under windows
- older versions do not work on ubuntu
etc.

It looks like it is time to look at replacing or reimplementing the
functionality

-- 
Cheers,

Peter Donald

Re: installing buildr on windows

Posted by Jean-Philippe Caruana <jp...@target2sell.com>.
Le 09/10/2013 12:10, Peter Donald a écrit :
> Hi,
> 
> I have just setup a windows virtual machine to try and track down the issues...

I'll do the same too

> On Wed, Oct 9, 2013 at 8:19 PM, Jean-Philippe Caruana
> <jp...@target2sell.com> wrote:
>> I tried the jruby install, and buildr --version failed.
> 
> What version of jruby? and java? and what was the exact failure.

oops, sorry I forgot this information !

windows 7
jruby 1.7.5 (64bits)
jdk 1.7.0_05

>> I installed the 1.4.12 version... and it worked ! There are issues with
>> buildr 1.4.13 and jruby on windows (the CI build jruby-win32 failed).
> 
> Unfortunately the CI build can not be counted on - there is
> intermittent failures that mean the test results can not necessarily
> be relied upon. I generally scan over the errors and only take notice
> if they are not one of the handful that intermittently fail.

ok !
-- 
Jean-Philippe Caruana

Re: installing buildr on windows

Posted by Peter Donald <pe...@realityforge.org>.
Hi,

I have just setup a windows virtual machine to try and track down the issues...

On Wed, Oct 9, 2013 at 8:19 PM, Jean-Philippe Caruana
<jp...@target2sell.com> wrote:
> I tried the jruby install, and buildr --version failed.

What version of jruby? and java? and what was the exact failure.

> I installed the 1.4.12 version... and it worked ! There are issues with
> buildr 1.4.13 and jruby on windows (the CI build jruby-win32 failed).

Unfortunately the CI build can not be counted on - there is
intermittent failures that mean the test results can not necessarily
be relied upon. I generally scan over the errors and only take notice
if they are not one of the handful that intermittently fail.

> Maybe the same issue with buildr 1.4.13, ruby 1.8.7 on windows ?
>
> We should be carefull before releasing 1.4.14.

Indeed.

-- 
Cheers,

Peter Donald

Re: installing buildr on windows

Posted by Jean-Philippe Caruana <jp...@target2sell.com>.
Le 07/10/2013 19:31, Magnus Melander a écrit :
> Last time I installed builder on windows I used JRuby as base and that was a
> very smooth install.

Hi,

I tried the jruby install, and buildr --version failed.
I installed the 1.4.12 version... and it worked ! There are issues with
buildr 1.4.13 and jruby on windows (the CI build jruby-win32 failed).
Maybe the same issue with buildr 1.4.13, ruby 1.8.7 on windows ?

We should be carefull before releasing 1.4.14.

-- 
Jean-Philippe Caruana

Re: installing buildr on windows

Posted by Magnus Melander <ma...@huggtand.com>.
Last time I installed builder on windows I used JRuby as base and that was a
very smooth install.
/M



7 okt 2013 kl. 18:37 skrev Jean-Philippe Caruana <jp...@target2sell.com>:

> Hi,
> 
> I'm trying to install buildr on windows. I successfully installed ruby,
> rubydev and configured JAVA_HOME
> (http://buildr.apache.org/installing.html#windows)
> 
> $ gem install buildr --platform mswin32
> works fine
> 
> but when I try to run buildr :
> $ buildr --version
> rubygems/dependency.rb:247:in `to_specs': Could not find buildr (>= 0)
> amongst [atoulme-Antwrap-0.7.4, builder-3.2.2,
> buildr-1.4.13-x86-mswin32, bundler-1.3.5, diff-lcs-1.2.4,
> highline-1.6.19, hoe-3.7.1, json_pure-1.8.0, minitar-0.5.4,
> net-sftp-2.1.2, net-ssh-2.7.0, orderedhash-0.0.6, rake-0.9.2.2,
> rjb-1.4.8, rspec-2.14.1, rspec-core-2.14.5, rspec-expectations-2.14.3,
> rspec-mocks-2.14.3, rubyforge-2.0.4, rubyzip-0.9.9, xml-simple-1.1.2]
> (Gem::LoadError)
>        from
> C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
>        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1231:in `gem'
>        from C:/Ruby187/bin/buildr:22
> 
> Any idea ?
> Thanks
> ps : I'm not used to windows anymore, so I made many mistakes. I am
> trying to install buildr on a collegue's devbox before he installs a
> proper OS.
> -- 
> Jean-Philippe Caruana