[MacRuby-devel] [0.5 beta 1] issues running ruby specs with macrake and rake

Laurent Sansonetti lsansonetti at apple.com
Thu Oct 8 01:55:29 PDT 2009


This regression was introduced by r2762 (which was committed *after*  
the beta :)) and it has been reverted.

Laurent

On Oct 7, 2009, at 11:20 PM, Conrad Taylor wrote:

> a)  running spec:ci using macrake segmentation fault
>
> $ macrake spec:ci
> unknown: warning: already initialized constant TOPDIR
> unknown: warning: already initialized constant CONFIG
> unknown: warning: already initialized constant MAKEFILE_CONFIG
> Segmentation fault
>
> b)  running spec:ci using rake aborts
>
> $ rake spec:ci
> (in /Users/conradwt/macruby.dir/projects/macruby-trunk)
> ./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
> MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
> .............................................................................................................................................................2009 
> -10-07 23:02:23.167 macruby[11134:1b07] *** Terminating app due to  
> uncaught exception 'NameError', reason: 'undefined method `pwd' for  
> module `RbConfig''
> *** Call stack at first throw:
> (
> 	0   CoreFoundation                      0x00007fff82a995a4  
> __exceptionPreprocess + 180
> 	1   libobjc.A.dylib                     0x00007fff86ae3313  
> objc_exception_throw + 45
> 	2   libmacruby.dylib                    0x000000010017a185  
> rb_vm_raise + 197
> 	3   libmacruby.dylib                    0x000000010003f8c9  
> rb_exc_raise + 9
> 	4   libmacruby.dylib                    0x000000010003c3d4  
> rb_name_error + 260
> 	5   libmacruby.dylib                    0x0000000100040154  
> rb_print_undef + 196
> 	6   libmacruby.dylib                    0x000000010012065d  
> rb_export_method + 157
> 	7   libmacruby.dylib                    0x0000000100120d09  
> rb_mod_modfunc + 441
> 	8   libmacruby.dylib                    0x000000010016d02f  
> rb_vm_dispatch + 5679
> 	9   fileutils.rbo                       0x00000001011bdea5  
> __ruby_scope1 + 197
> )
> terminate called after throwing an instance of 'NSException'
> rake aborted!
> Command failed with status (): [./mspec/bin/mspec ci -B ./spec/ 
> macruby.msp...]
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list