Same problem here...


I grabbed ruby from here:

http://rubyosx.rubyforge.org/

I got the 1.9 mono dist from mono-project.org

I installed the missing gem module:

$ sudo gem install -b pathname

then tried to build:

[EMAIL PROTECTED]:/usr/src/svn/rubyforge.org/ironruby/trunk$ mono=1 rake -- trace compile
(in /usr/src/svn/rubyforge.org/ironruby/trunk)
** 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 clean_build
** Execute compile_dlr
rake aborted!
cannot resolve path System.dll
./context.rb:90:in `resolve_framework_path'
./context.rb:89:in `each'
./context.rb:89:in `resolve_framework_path'
./context.rb:130:in `resolve_framework_path'
./context.rb:405:in `resolve_framework_path'
./context.rb:420:in `references'
./context.rb:418:in `each'
./context.rb:418:in `references'
./context.rb:434:in `compile'
./context.rb:432:in `chdir'
./context.rb:432:in `compile'
/usr/src/svn/rubyforge.org/ironruby/trunk/rakefile:137
./context.rb:578:in `instance_eval'
./context.rb:578:in `source_context'
/usr/src/svn/rubyforge.org/ironruby/trunk/rakefile:135
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in `invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in `invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:16:in `load'
/usr/local/bin/rake:16

[EMAIL PROTECTED]:/usr/src/svn/rubyforge.org/ironruby/trunk$ MONO_PATH= $MONO_PATH:/Library/Frameworks/Mono.framework/Versions/1.9/lib/mono/ 2.1/ mono=1 rake compile(in /usr/src/svn/rubyforge.org/ironruby/trunk)
rake aborted!
cannot resolve path System.dll
/usr/src/svn/rubyforge.org/ironruby/trunk/rakefile:137
(See full trace by running task with --trace)



On May 9, 2008, at 6:22 AM, C.J. Adams-Collier wrote:

I usually put mono=1 before the call to rake, but I haven't tried building on my darwin box yet... I'll try it now and see what happens...


On May 9, 2008, at 5:30 AM, Robert Bazinet wrote:

Yeah, that was that error. I was reading it as not needing a gem but the gem reporting an error in the path.

I am now getting an error where it can find system.dll. I saw some postings on here about that and pkg-config. I installed Mono from the OSX package installer. I would expect these things to be set correctly. Is this a wrong assumption? Should I have installed from source instead?

What is the correct setting if using the Mono package installer?

Thanks,
     Rob


On Thu, May 8, 2008 at 11:26 PM, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote:
ok looks like you need the gem pathname2

sudo gem install pathname2  (might be pathname my memory fails me)


On 9/05/2008, at 3:20 PM, Robert Bazinet wrote:

Ivan, I wanted to see if you were paying attention..yes, what I sent over shows the command from the WRONG directory. I was in that directory and just used the command history to run the command so I could send it over to the group. The command is failing and I am sending the right one now. You can see I am not nuts, just copying and pasting the wrong info.

So, here it is:

rbazinet: ~/ironruby$ rake compile mono=1
(in /Users/rbazinet/ironruby)
rake aborted!
Could not find RubyGem pathname2 (>= 0)
/Users/rbazinet/ironruby/rakefile:5
(See full trace by running task with --trace)
rbazinet: ~/ironruby$ rake --trace compile mono=1
(in /Users/rbazinet/ironruby)
rake aborted!
Could not find RubyGem pathname2 (>= 0)
/Library/Ruby/Site/1.8/rubygems.rb:523:in `report_activate_error'
/Library/Ruby/Site/1.8/rubygems.rb:131:in `activate'
/Library/Ruby/Site/1.8/rubygems.rb:49:in `gem'
/Users/rbazinet/ironruby/rakefile:5
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `raw_load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in `load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in `load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Does this make more sense??

Thanks,
    Rob



On Thu, May 8, 2008 at 11:06 PM, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote: This happens to me sometimes but isn't related to ironruby in my case.

if you do ls Rake* does something show up? Rake is complaining about the fact that it can't find its instruction set (Rakefile). From the output I see, it doesn't even start to build

I merely suggested navigating to the folder because of he prompt I see

rbazinet:~$ which would indicate you tried to run the rake command in your home drive instead of in
rbazinet:~/ironruby $

But of course I'm making the assumption that your prompt indicates in which folder you are.



_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Rob Bazinet
InfoQ Ruby and .NET Editor
http://www.accidentaltechnologist.com
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core




--
Rob Bazinet
InfoQ Ruby and .NET Editor
http://www.accidentaltechnologist.com
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to