/home/username/localにインストールする場合、下記を順に実行
./configure.rb –prefix=/home/username/local –with-charset=UTF-8
ln -s /usr/local/lib/libruby18.so
make
Makefileを編集して「mandir = 」のパスを「/home/username/local/man」に書き換える。
make install
erubyをcgi-bin/eruby.cgiとしてコピー
.htaccessを下記のように設定する。
AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby.cgi
Last 5 posts in Ruby
- ruby-dbiをさくらインターネット共有サーバにインストールするには - June 27th, 2008
- MySQL/Rubyをさくらインターネット共有サーバにインストールするには - June 27th, 2008
- rubygemsをさくらインターネット共有サーバにインストールするには - June 26th, 2008