For edi_translator on RHEL
authoratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Sep 2010 01:22:40 +0000 (01:22 +0000)
committeratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Sep 2010 01:22:40 +0000 (01:22 +0000)
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 [new file with mode: 0755]

diff --git a/Open-ILS/src/edi_translator/install.RHEL.sh b/Open-ILS/src/edi_translator/install.RHEL.sh
new file mode 100755 (executable)
index 0000000..890451c
--- /dev/null
@@ -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
+