Can I run rubigems in iron?

Is this possible with the preliminary release of iron to run rubigems? It seems I need to set an environment variable to find them?

+3
source share
3 answers

You can run rubygems under IronRuby for a long time. Just download and install the latest IronRuby from codeplex and run igem on the command line


Original answer:

I am on this mailing list - to save you from digging, someone asked this a few weeks ago, and that was the answer

The answer (for now) is no, you cannot, but it looks like it will be too far away.

PS: listen briefly. He is in the main team for iron. <3

+5
source

if you set ENV ['GEM_PATH'] correctly before using rubygems, then gems will sometimes work under IronRuby. I'm actually looking at it right now.

Also, this question is probably better suited for the IronRuby mailing list than for StackOverflow.

+1
source

with IronRuby 1.0 Alpha 2. You can get igem.bat out of the box. According to Jim Devil November 19, 2008

The announcement of the release of IronRuby 1.0 Alpha 2. You can download it at RubyForge ( http://rubyforge.org/frs/?group_id=4359 ), I will have a tag in SVN in the near future. Known features: enable iirb.bat, igem.bat, irails.bat, irake.bat! This is our first independent release. Two reservations. If you want the caller to work correctly, use -X: Interpret. If you want to work with Rubygems, make sure all your sources end in /. You can check ~ / .gemrc

Since then, we now have an official website with daily builds. You can find in http://www.ironruby.net/Download

After that, install GEM_PATH in the directory \ lib \ ruby ​​\ gems \ 1.8, for example. C: \ ruby ​​\ Lib \ ruby ​​\ gems \ 1.8

 c:\> set GEM_PATH=c:\ruby\lib\ruby\gems\1.8 

Testing with

 c:\> igem.bat 
+1
source

All Articles