You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Marko Sibakov <ma...@ri.fi> on 2007/11/18 13:57:01 UTC
noobie question
Hi,
I am totally noobie with buildr and ruby. I tried to run buildr test =>
rake test and had error like this:
/usr/lib/ruby/1.8/rake.rb:1948:in `const_missing': uninitialized
constant Buildr::Application::DEFAULT_RAKEFILES (NameError)
from /home/msibakov/duunit/buildr/lib/core/application.rb:14
when looking at line 14 in application.rb
DEFAULT_BUILDFILES = ["buildfile", "Buildfile"] + DEFAULT_RAKEFILES
i found DEFAULT_RAKEFILES and it is not initialized.
So what i am doing something wrong?
MSi
Re: noobie question
Posted by Assaf Arkin <ar...@intalio.com>.
On my machine Rake installs in:
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb
You stack trace points probably to the core library?
/usr/lib/ruby/1.8/rake.rb
Can you check what's in that file?
Assaf
On 11/19/07, Marko Sibakov <ma...@ri.fi> wrote:
> Assaf Arkin wrote:
> > DEFAULT_BUILDFILES is defined by Rake, the version we're using is Rake
> > 0.7.3. Buildr extends Rake, so it depends on a particular version,
> > currently Rake 0.7.3.
> >
> i'm using
>
> rake --version
> rake, version 0.7.3
>
> any other ideas?
> > Assaf
> >
> > On 11/18/07, Marko Sibakov <ma...@ri.fi> wrote:
> >
> >> Hi,
> >>
> >> I am totally noobie with buildr and ruby. I tried to run buildr test =>
> >> rake test and had error like this:
> >>
> >> /usr/lib/ruby/1.8/rake.rb:1948:in `const_missing': uninitialized
> >> constant Buildr::Application::DEFAULT_RAKEFILES (NameError)
> >> from /home/msibakov/duunit/buildr/lib/core/application.rb:14
> >>
> >> when looking at line 14 in application.rb
> >>
> >> DEFAULT_BUILDFILES = ["buildfile", "Buildfile"] + DEFAULT_RAKEFILES
> >>
> >> i found DEFAULT_RAKEFILES and it is not initialized.
> >>
> >> So what i am doing something wrong?
> >>
>
--
CTO, Intalio
http://www.intalio.com
Re: noobie question
Posted by Marko Sibakov <ma...@ri.fi>.
Assaf Arkin wrote:
> DEFAULT_BUILDFILES is defined by Rake, the version we're using is Rake
> 0.7.3. Buildr extends Rake, so it depends on a particular version,
> currently Rake 0.7.3.
>
i'm using
rake --version
rake, version 0.7.3
any other ideas?
> Assaf
>
> On 11/18/07, Marko Sibakov <ma...@ri.fi> wrote:
>
>> Hi,
>>
>> I am totally noobie with buildr and ruby. I tried to run buildr test =>
>> rake test and had error like this:
>>
>> /usr/lib/ruby/1.8/rake.rb:1948:in `const_missing': uninitialized
>> constant Buildr::Application::DEFAULT_RAKEFILES (NameError)
>> from /home/msibakov/duunit/buildr/lib/core/application.rb:14
>>
>> when looking at line 14 in application.rb
>>
>> DEFAULT_BUILDFILES = ["buildfile", "Buildfile"] + DEFAULT_RAKEFILES
>>
>> i found DEFAULT_RAKEFILES and it is not initialized.
>>
>> So what i am doing something wrong?
>>
Re: noobie question
Posted by Assaf Arkin <ar...@intalio.com>.
DEFAULT_BUILDFILES is defined by Rake, the version we're using is Rake
0.7.3. Buildr extends Rake, so it depends on a particular version,
currently Rake 0.7.3.
Assaf
On 11/18/07, Marko Sibakov <ma...@ri.fi> wrote:
> Hi,
>
> I am totally noobie with buildr and ruby. I tried to run buildr test =>
> rake test and had error like this:
>
> /usr/lib/ruby/1.8/rake.rb:1948:in `const_missing': uninitialized
> constant Buildr::Application::DEFAULT_RAKEFILES (NameError)
> from /home/msibakov/duunit/buildr/lib/core/application.rb:14
>
> when looking at line 14 in application.rb
>
> DEFAULT_BUILDFILES = ["buildfile", "Buildfile"] + DEFAULT_RAKEFILES
>
> i found DEFAULT_RAKEFILES and it is not initialized.
>
> So what i am doing something wrong?
>
>
> MSi
>
>
--
CTO, Intalio
http://www.intalio.com