projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd6252
)
Force ruby1.9.3 install. (refs #2221)
author
Tim Pierce <twp@curoverse.com>
Tue, 11 Mar 2014 14:12:55 +0000
(10:12 -0400)
committer
Tim Pierce <twp@curoverse.com>
Tue, 11 Mar 2014 14:12:55 +0000
(10:12 -0400)
docker/build.sh
patch
|
blob
|
history
diff --git
a/docker/build.sh
b/docker/build.sh
index 9473e015b8e3845033a6adb24c5693cc16cd9317..add3194f52ab412dab965e621bdb24832ebec8f7 100755
(executable)
--- a/
docker/build.sh
+++ b/
docker/build.sh
@@
-1,11
+1,11
@@
#! /bin/bash
-# make sure Ruby is installed before proceeding
-if ! ruby -v
> /dev/null 2>&1
+# make sure Ruby
1.9.3
is installed before proceeding
+if ! ruby -v
2>/dev/null | grep '1\.9\.3' > /dev/null
then
echo "Installing Ruby. You may be required to enter your password."
sudo apt-get update
- sudo apt-get
install ruby
+ sudo apt-get
-y install ruby1.9.3
fi
./build.rb $*