# Installing IronRuby using RVM on Linux

**URL:** <https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306>\
**Category:** IronRuby\
**Created:** [May 10, 2010, 2:15am UTC](https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306 "2010-05-10T02:15:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [May 10, 2010, 2:15am UTC](https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306/1 "2010-05-10T02:15:41Z")

</div>

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:in`mkdir’  
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/1.8/fileutils.rb:243:in  
`fu_mkdir' mscorlib:0:in`reverse\_each’  
mscorlib:0:in `CallSite.Target' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/1.8/fileutils.rb:217:in`mkdir\_p’  
mscorlib:0:in `each' mscorlib:0:in`CallSite.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:in`mkdir\_p’  
mscorlib:0:in `each' mscorlib:0:in`CallSite.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:in`extract\_files’  
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site\_ruby/1.8/rubygems/installer.rb:217:in  
`install' mscorlib:0:in`each’  
mscorlib:0:in `CallSite.Target' /home/will/.rvm/rubies/ironruby-1.0/bin/../lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:252:in`install’  
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site\_ruby/1.8/rubygems/dependency\_installer.rb:222:in  
`install' mscorlib:0:in`each’  
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:in`execute’  
/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:in`invoke’  
/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:in`run’  
/home/will/.rvm/rubies/ironruby-1.0/bin/…/lib/ruby/site\_ruby/1.8/rubygems/gem\_runner.rb:58:in  
`run’

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [May 18, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306/2 "2010-05-18T14:09:21Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [May 23, 2010, 4:26pm UTC](https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306/3 "2010-05-23T16:26:30Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [May 23, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/installing-ironruby-using-rvm-on-linux/188306/4 "2010-05-23T23:33:43Z")

</div>

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/](http://hotgazpacho.org/)
