[Ironruby-core] Rake error with IronRuby on Mono - PathName2 / System.dll

Cory Foy cory.foy at gmail.com
Sat Mar 6 21:50:45 EST 2010


Hi All,

I'm following Aslak's instructions here to get IronRuby running on Mono/OSX.

http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-mono

I'm getting a failure when I do the "rake compile mono=1" that it can't find
the pathname2 gem. Looking back on the list, I saw that was resolved by
installing the pathname2, which I tried, and I also tried the "gem install
-y pathname2" trick I saw on the list. What that got me was what is below. I
did some more research and couldn't find what was going on, so I thought I'd
ask the list before I got too much further. Any ideas?

cory-foys-macbook-pro:ironruby foyc$ rake -v compile mono=1 --trace(in
/Users/foyc/Workspace/ironruby)
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/Scripts/irtests.rb:92:
warning: don't put space before argument parentheses
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
** Invoke compile:dlr (first_time)
** Invoke compile:extension_attributes (first_time)
** Invoke clean_build
** Execute compile:extension_attributes
-------------------------------------------------------------------------------
dlr_extension
-------------------------------------------------------------------------------
rake aborted!
cannot resolve path System.dll
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:96:in
`resolve_framework_path'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:95:in
`each'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:95:in
`resolve_framework_path'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:136:in
`resolve_framework_path'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:339:in
`resolve_framework_path'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:351:in
`references'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:349:in
`each'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:349:in
`references'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:279:in
`compile'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:277:in
`chdir'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/context.rb:277:in
`compile'
/Users/foyc/Workspace/ironruby/Merlin/Main/Languages/Ruby/rake/compile.rake:24
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19

cory-foys-macbook-pro:ironruby foyc$ mono --version
Mono JIT compiler version 2.6.1 (tarball Thu Dec 17 10:19:23 MST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           normal
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       normal
    Notification:  Thread + polling
    Architecture:  x86
    Disabled:      none

cory-foys-macbook-pro:ironruby foyc$ rake --version
rake, version 0.8.7

cory-foys-macbook-pro:ironruby foyc$ ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0]


Cory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100306/159b0c69/attachment.html>


More information about the Ironruby-core mailing list