Hello Sidu,

quick fix to open Rakefile then change 'rake\xxx' to 'rake/xxx'.

however, you will get another error.

Macintosh-2:ironruby-r180 Jirapong$ rake compile mono=2.0
(in /Users/Jirapong/ironruby-r180)
-------------------------------------------------------------------------------
dlr_core
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
dlr_core
-------------------------------------------------------------------------------
Exception caught by the compiler while compiling:
Block that caused the problem begin at: ast/ LambdaExpression.cs(121,38): Block being compiled: [ast/ LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] System.NullReferenceException: Object reference not set to an instance of an object Internal compiler error at ast/LambdaExpression.cs(121,38):: exception caught while emitting MethodBuilder [Expression`1::Accept]

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) [0x00000]


Hope this helps,
-Jirapong


On Dec 30, 2008, at 11:46 AM, C. K. Ponnappa wrote:

Hey guys,

I'm running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran

rake compile mono=1

I do have pathname2 installed and am using IronRuby trunk revision 180.

I get the following error:
~/Work/ruby/ironruby$ rake compile mono=1  --trace
(in /Users/schonira/Work/ruby/ironruby)
rake aborted!
no such file to load -- /Users/schonira/Work/ruby/ironruby/rake \test.rake
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in `raw_load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Can someone help me out please?

Thanks!
Sidu.
http://blog.sidu.in
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to