Installing IronRuby using RVM on Linux

Has anyone successfully installed IronRuby using RVM on Linux? It seems
that
IronRubyh itself is installed, but I get an error during some
post-install
bit:

Error running
'PATH=/home/will/.rvm/rubies/ironruby-1.0/bin:/home/will/.rvm/bin:/home/will/.rvm/bin:/home/will/.rvm/rubies/ironruby-1.0/bin:/home/will/.rvm/gems/ironruby-1.0/bin:/home/will/.rvm/gems/ironruby-1.0@global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/will/opt/clojure-contrib/launchers/bash
GEM_HOME=/home/will/.rvm/gems/ironruby-1.0
GEM_PATH=/home/will/.rvm/gems/ironruby-1.0
/home/will/.rvm/rubies/ironruby-1.0/bin/gem install --no-rdoc --no-ri
rake
', please check /home/will/.rvm/log/ironruby-1.0/gems.install*.log

/home/will/.rvm/log/ironruby-1.0/gems.install.error.log contains this:

[2010-05-09 19:59:21]
PATH=/home/will/.rvm/rubies/ironruby-1.0/bin:/home/will/.rvm/bin:/home/will/.rvm/bin:/home/will/.rvm/rubies/ironruby-1.0/bin:/home/will/.rvm/gems/ironruby-1.0/bin:/home/will/.rvm/gems/ironruby-1.0@global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/will/opt/clojure-contrib/launchers/bash
GEM_HOME=/home/will/.rvm/gems/ironruby-1.0
GEM_PATH=/home/will/.rvm/gems/ironruby-1.0
/home/will/.rvm/rubies/ironruby-1.0/bin/gem install --no-rdoc --no-ri
rake
ERROR: While executing gem … (ArgumentError)
Invalid path

And here is the backtrace:

Invalid path

mscorlib:0:in GetDirectoryName' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/1.8/fileutils.rb:243:inmkdir’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/1.8/fileutils.rb:243:in
fu_mkdir' mscorlib:0:inreverse_each’
mscorlib:0:in CallSite.Target' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/1.8/fileutils.rb:217:inmkdir_p’
mscorlib:0:in each' mscorlib:0:inCallSite.Target’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/1.8/fileutils.rb:215:in
mkdir_p' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/1.8/fileutils.rb:201:inmkdir_p’
mscorlib:0:in each' mscorlib:0:inCallSite.Target’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/installer.rb:538:in
extract_files' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/installer.rb:521:inextract_files’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/installer.rb:217:in
install' mscorlib:0:ineach’
mscorlib:0:in CallSite.Target' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:252:ininstall’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:222:in
install' mscorlib:0:ineach’
mscorlib:0:in CallSite.Target' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:118:inexecute’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in
execute' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/command.rb:257:ininvoke’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:132:in
process_args' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:inrun’
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in
`run’

Hello Will,

I have the same problem, if you find a solution please don’t forget to
post back… I’m still trying to resolve this issue too.
I’m running Ubuntu 10.04:
Notes for Linux ( DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=“Ubuntu 10.04 LTS” )

Regards,
Rodrigo.

Will G. wrote:

Has anyone successfully installed IronRuby using RVM on Linux? It seems
that
IronRubyh itself is installed, but I get an error during some
post-install
bit:

I’m having the same issue as well.
Fedora 11, with Mono 2.4.3

Thanks,
Sidu.

Rodrigo Albuquerque wrote:

Hello Will,

I have the same problem, if you find a solution please don’t forget to
post back… I’m still trying to resolve this issue too.
I’m running Ubuntu 10.04:
Notes for Linux ( DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=“Ubuntu 10.04 LTS” )

Regards,
Rodrigo.

Will G. wrote:

Has anyone successfully installed IronRuby using RVM on Linux? It seems
that
IronRubyh itself is installed, but I get an error during some
post-install
bit:

Perhaps Ivan Porto C. can shed some insight. He was maintaining the
mono builds of IronRuby for a while; perhaps he knows how to get
IronRuby to
build on Mono, and maybe we can contribute this knowledge back to the
RVM
team.


Will G.
http://hotgazpacho.org/