「IronRuby」の版間の差分
imported>Administrator |
imported>Administrator |
||
| 15行目: | 15行目: | ||
以下は2012年3月14日時点でのインストール方法です。 | 以下は2012年3月14日時点でのインストール方法です。 | ||
URLなど、IronRubyのバージョンはIronRuby 1.1.3(Ruby 1.9.2互換)を対象としています。 | URLなど、IronRubyのバージョンはIronRuby 1.1.3(Ruby 1.9.2互換)を対象としています。 | ||
基本的にはzipファイルをダウンロードしてきて展開するだけです。 | |||
<source lang="bash"> | <source lang="bash"> | ||
| 21行目: | 23行目: | ||
# 展開 | # 展開 | ||
$ unzip IronRuby.zip -d ironruby | $ unzip IronRuby.zip -d /opt/ironruby | ||
# ショートカット用のシェルスクリプトを用意しておく | # ショートカット用のシェルスクリプトを用意しておく | ||
$ echo '#!/bin/sh'$'\nexec mono $MONO_OPTIONS "/opt/ironruby/lib/ir.exe" "$@"' > | $ echo '#!/bin/sh'$'\nexec mono $MONO_OPTIONS "/opt/ironruby/lib/ir.exe" "$@"' > /opt/ironruby/bin/ir | ||
$ chmod 755 ironruby/bin/ir | $ chmod 755 /opt/ironruby/bin/ir | ||
</source> | </source> | ||