Sha256: dbf8427b6242c6dd9e5c13a19927d0cace1618fa0820113d39975458a5d4fb0d
Contents?: true
Size: 1.1 KB
Versions: 16
Compression:
Stored size: 1.1 KB
Contents
#!/bin/bash #------------------------------------------------------------------------------- # Uninstall the nucleon gem echo "1. Removing old versions of Nucleon gem" su - -c "gem uninstall nucleon -x --force" root >/tmp/nucleon.uninstall.log 2>&1 || exit 90 # Install the nucleon gem if [ "$DEVELOPMENT_BUILD" ] then rm -Rf /tmp/nucleon mkdir /tmp/nucleon || exit 91 cd /tmp/nucleon || exit 92 echo "2. Fetching Nucleon source repository" git clone --branch 0.2 git://github.com/coralnexus/nucleon.git /tmp/nucleon >/tmp/nucleon.git.log 2>&1 || exit 93 git submodule update --init --recursive >>/tmp/nucleon.git.log 2>&1 || exit 94 echo "3. Building Nucleon gem from branch 0.2" su - -c "cd /tmp/nucleon; gem build /tmp/nucleon/nucleon.gemspec" root >/tmp/nucleon.build.log 2>&1 || exit 95 echo "4. Installing latest dev build of Nucleon" su - -c "cd /tmp/nucleon; gem install /tmp/nucleon/nucleon-*.gem" root >/tmp/nucleon.install.log 2>&1 || exit 96 else echo "2. Installing latest release of Nucleon" su - -c "gem install nucleon" root >/tmp/nucleon.install.log 2>&1 || exit 91 fi
Version data entries
16 entries across 16 versions & 1 rubygems