You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by lacton <la...@users.sourceforge.net> on 2008/07/25 01:52:36 UTC
[buildr] Error constant
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?
Cheers.
--
Lacton
Re: [buildr] Error constant
Posted by Assaf Arkin <ar...@intalio.com>.
On Thu, Jul 24, 2008 at 4:52 PM, lacton <la...@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
>