buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: [buildr] Error constant
Date Fri, 25 Jul 2008 00:01:16 GMT
On Thu, Jul 24, 2008 at 4:52 PM, lacton <lacton@users.sourceforge.net> wrote:
> When running buildr from the trunk (rev 679547), I get the following
> stack trace.
>
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2237:in
> `const_missing': uninitialized constant Error (NameError)
>        from /home/cvf/projets/buildr-trunk/lib/buildr/core/application.rb:429
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>        from /home/cvf/projets/buildr-trunk/lib/buildr/core.rb:18
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>        from /home/cvf/projets/buildr-trunk/lib/buildr.rb:22
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>        from /home/cvf/projets/buildr-trunk/bin/buildr:19
>
> Where should the constant 'Error' be defined?

Should have been Error..., I didn't remember which one :-) Changed to Exception.

Assaf

>
> Cheers.
>
> --
> Lacton
>

Mime
View raw message