You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Shane Witbeck <sh...@digitalsanctum.com> on 2010/04/27 23:24:42 UTC

latest jruby and buildr RC broken?

First off, forgive me if this is a known issue. I just installed the latest
RC (via
http://people.apache.org/~toulmean/buildr/1.4.0RC3/dist/buildr-1.4.0-java.gem)
and the latest jruby RC1 and I'm getting the following error when I run
"jruby -S buildr -v":

Buildr aborted!
NoMethodError : undefined method `from' for <Rake::Task spg:compile =>
[]>:Rake::Task
c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:400:in
`r
aw_load_buildfile'
c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in
`l
oad_buildfile'
c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in
`l
oad_buildfile'
(See full trace by running task with --trace)

Previous to this I was getting some ffi errors but saw in another post that
uninstalling rspec 1.3.0 solved that issue.

Here is output of my installed gems:

C:\p4\spgp4\spg\beaver>jruby -S gem list

*** LOCAL GEMS ***

Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.4.0, 1.3.5)
columnize (0.3.1)
ffi (0.6.3)
highline (1.5.1)
hoe (2.3.3)
jruby-openssl (0.5.2)
json_pure (1.4.0)
net-sftp (2.0.2)
net-ssh (2.0.15)
rake (0.8.7)
rspec (1.2.9, 1.2.8)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3.1)
rubyforge (2.0.3, 1.0.5)
rubyzip (0.9.1)
sources (0.0.1)
xml-simple (1.0.12)

Is this a known issue or should I file a bug? This is on Windows XP.

Thanks,

-Shane

Re: latest jruby and buildr RC broken?

Posted by Shane Witbeck <sh...@digitalsanctum.com>.
Done: https://issues.apache.org/jira/browse/BUILDR-429
<https://issues.apache.org/jira/browse/BUILDR-429>
-Shane


On Tue, Apr 27, 2010 at 5:38 PM, Antoine Toulme <an...@lunar-ocean.com>wrote:

> rspec and ffi are not related I think. The ffi issue appears on Windows.
> Are
> you on Windows ?
>
> Anyway, please open a bug for it. We will look into it ASAP.
>
> Thanks,
>
> Antoine
>
> On Tue, Apr 27, 2010 at 14:24, Shane Witbeck <shane@digitalsanctum.com
> >wrote:
>
> > First off, forgive me if this is a known issue. I just installed the
> latest
> > RC (via
> >
> >
> http://people.apache.org/~toulmean/buildr/1.4.0RC3/dist/buildr-1.4.0-java.gem
> > )
> > and the latest jruby RC1 and I'm getting the following error when I run
> > "jruby -S buildr -v":
> >
> > Buildr aborted!
> > NoMethodError : undefined method `from' for <Rake::Task spg:compile =>
> > []>:Rake::Task
> >
> >
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:400:in
> > `r
> > aw_load_buildfile'
> >
> >
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in
> > `l
> > oad_buildfile'
> >
> >
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in
> > `l
> > oad_buildfile'
> > (See full trace by running task with --trace)
> >
> > Previous to this I was getting some ffi errors but saw in another post
> that
> > uninstalling rspec 1.3.0 solved that issue.
> >
> > Here is output of my installed gems:
> >
> > C:\p4\spgp4\spg\beaver>jruby -S gem list
> >
> > *** LOCAL GEMS ***
> >
> > Antwrap (0.7.0)
> > archive-tar-minitar (0.5.2)
> > builder (2.1.2)
> > buildr (1.4.0, 1.3.5)
> > columnize (0.3.1)
> > ffi (0.6.3)
> > highline (1.5.1)
> > hoe (2.3.3)
> > jruby-openssl (0.5.2)
> > json_pure (1.4.0)
> > net-sftp (2.0.2)
> > net-ssh (2.0.15)
> > rake (0.8.7)
> > rspec (1.2.9, 1.2.8)
> > ruby-debug (0.10.3)
> > ruby-debug-base (0.10.3.1)
> > rubyforge (2.0.3, 1.0.5)
> > rubyzip (0.9.1)
> > sources (0.0.1)
> > xml-simple (1.0.12)
> >
> > Is this a known issue or should I file a bug? This is on Windows XP.
> >
> > Thanks,
> >
> > -Shane
> >
>

Re: latest jruby and buildr RC broken?

Posted by Antoine Toulme <an...@lunar-ocean.com>.
rspec and ffi are not related I think. The ffi issue appears on Windows. Are
you on Windows ?

Anyway, please open a bug for it. We will look into it ASAP.

Thanks,

Antoine

On Tue, Apr 27, 2010 at 14:24, Shane Witbeck <sh...@digitalsanctum.com>wrote:

> First off, forgive me if this is a known issue. I just installed the latest
> RC (via
>
> http://people.apache.org/~toulmean/buildr/1.4.0RC3/dist/buildr-1.4.0-java.gem
> )
> and the latest jruby RC1 and I'm getting the following error when I run
> "jruby -S buildr -v":
>
> Buildr aborted!
> NoMethodError : undefined method `from' for <Rake::Task spg:compile =>
> []>:Rake::Task
>
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:400:in
> `r
> aw_load_buildfile'
>
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in
> `l
> oad_buildfile'
>
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in
> `l
> oad_buildfile'
> (See full trace by running task with --trace)
>
> Previous to this I was getting some ffi errors but saw in another post that
> uninstalling rspec 1.3.0 solved that issue.
>
> Here is output of my installed gems:
>
> C:\p4\spgp4\spg\beaver>jruby -S gem list
>
> *** LOCAL GEMS ***
>
> Antwrap (0.7.0)
> archive-tar-minitar (0.5.2)
> builder (2.1.2)
> buildr (1.4.0, 1.3.5)
> columnize (0.3.1)
> ffi (0.6.3)
> highline (1.5.1)
> hoe (2.3.3)
> jruby-openssl (0.5.2)
> json_pure (1.4.0)
> net-sftp (2.0.2)
> net-ssh (2.0.15)
> rake (0.8.7)
> rspec (1.2.9, 1.2.8)
> ruby-debug (0.10.3)
> ruby-debug-base (0.10.3.1)
> rubyforge (2.0.3, 1.0.5)
> rubyzip (0.9.1)
> sources (0.0.1)
> xml-simple (1.0.12)
>
> Is this a known issue or should I file a bug? This is on Windows XP.
>
> Thanks,
>
> -Shane
>