From d27794d0dbc5ccd99beb7e2d90949d64512fb843 Mon Sep 17 00:00:00 2001 From: atz Date: Tue, 28 Sep 2010 01:22:40 +0000 Subject: [PATCH] For edi_translator on RHEL Note: RubyGems 1.3.4 is not available anymore git-svn-id: svn://svn.open-ils.org/ILS/trunk@18055 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/edi_translator/install.RHEL.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 Open-ILS/src/edi_translator/install.RHEL.sh diff --git a/Open-ILS/src/edi_translator/install.RHEL.sh b/Open-ILS/src/edi_translator/install.RHEL.sh new file mode 100755 index 000000000..890451c8f --- /dev/null +++ b/Open-ILS/src/edi_translator/install.RHEL.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# JEDI converter scripts installation +# +# RHEL/CENTOS Install +# note: need older version of rubygems since RHEL package for ruby is old +# +# run this script as root or with sudo + +yum install ruby ruby-devel ruby-rdoc + +wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.5.tgz +tar zxvf rubygems-1.3.5.tgz +pushd rubygems-1.3.5 +ruby setup.rb # this gives harmless errors about README files missing +gem install rubygems-update +update_rubygems +popd + +# RHEL has a bug in json module, but mbklein moved to using yajl for us.... +gem install parseconfig rspec edi4r edi4r-tdid rcov openils-mapper # mkmf + -- 2.11.0