Fantastic!  Thanks, Ivan. That worked. I think my problem was that I hadn't
run 'chmod +x' on the .dll files. I hope that helps someone else.

Okay, as far as building
IronRuby<http://wiki.github.com/ironruby/ironruby/building#wiki_building-mono>,
I'm still having some issues. I pulled down Ivan's fork from github. Running
./build tells me:
Beleriand:ironruby ryan$ ./build --trace
(in /Volumes/Nargothrond/dev/ironruby)
rake aborted!
Don't know how to build task 'compile:all'

(See full trace by running task with --trace)
(in /Volumes/Nargothrond/dev/ironruby)
rake aborted!
Don't know how to build task 'compile:all'

(See full trace by running task with --trace)

When I run rake compile, I get:
Beleriand:ironruby ryan$ rake compile --trace
(in /Volumes/Nargothrond/dev/ironruby)
rake aborted!
Don't know how to build task 'compile'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:1728:in
`[]'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2050:in
`invoke_task'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2029:in
`each'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2001:in
`run'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/gems/rake-0.8.7/bin/rake:31
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/bin/rake:19:in `load'
/Users/ryan/.rvm/gems/ruby-1.8.6-p399/bin/rake:19

What might I be doing wrong?

Ryan Riley

Email: ryan.ri...@panesofglass.org
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
Twitter: @panesofglass
Website: http://panesofglass.org/


On Thu, Mar 4, 2010 at 12:34 AM, Ivan Porto Carrero <
i...@whiterabbitconsulting.eu> wrote:

> Hello Ryan,
>
> I've included the mailinglist because this info can be of help to other
> people trying to get going with IronRuby on mono.
>
> if you do want to symlink then you have to symlink everything under
> /usr/local/ironruby/bin/* to /usr/local/bin and
> /usr/local/ironruby/lib/ironruby/* /usr/local/lib/ironruby
>
> it might be easier to not symlink (it can't find ir.exe.config then I
> think) but just add
>
>     export PATH=/usr/local/ironruby/bin:$PATH
>
> to the bottom of your ~/.bashrc or ~/.profile file
> if you don't want to start a new bash session you can execute that export
> command in your current bash session too.
>
> then if you do
> which ir
>
> it should show you /usr/local/ironruby/bin/ir
>
> You can download the rc2 files from:
> http://dl.dropbox.com/u/21717/ironruby-rc2.tar.bz2
>
> Another option to use ironruby on mono is to use rvm I believe, but Daniele
> has more info on that.
>
> Which version of mono are you using? mono -V
> AFAIK mono needs to be 2.6.1 built from the branch because there are a few
> issues that got fixed after the mono 2.6.1 release
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
> Microsoft IronRuby/C# MVP
>
>
>
> On Wed, Mar 3, 2010 at 11:56 PM, Ryan Riley <ryan.ri...@panesofglass.org>
>  wrote:
>
>> Ivan,
>>
>> I'm following your setup for installing ir on mono. I've created a symlink
>> to ir in /usr/local/bin from /usr/local/ironruby/bin using the included ir
>> script. The only difference is that the one in ir now has an '*' instead of
>> the '@' you have in the book. However, when I run 'ir' on the command line,
>> I get "env: bash\r: No such file or directory". I've no idea what to do now.
>> Any thoughts?
>>
>> Cheers!
>>
>>
>> Ryan Riley
>>
>> Email: ryan.ri...@panesofglass.org
>> LinkedIn: http://www.linkedin.com/in/ryanriley
>> Blog: http://wizardsofsmart.net/
>> Twitter: @panesofglass
>> Website: http://panesofglass.org/
>>
>
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to