Skip to content

Commit

Permalink
fix ruby installer script to support new url
Browse files Browse the repository at this point in the history
  • Loading branch information
kwatch committed Jul 28, 2014
1 parent b206022 commit 138a96e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions installers/vs_install_ruby.sh
Expand Up @@ -41,18 +41,9 @@ _install_ruby() {
;;
esac
## donwload, compile and install
local ver
case $version in
1.8*) ver="1.8";;
1.9*) ver="1.9";;
*)
echo "$prompt ERROR: version $version is not supported to install." 1>&2
return 1
;;
esac
local base="ruby-$version"
local filename="$base.$ext"
local url="ftp://ftp.ruby-lang.org/pub/ruby/$ver/$filename"
local url="ftp://ftp.ruby-lang.org/pub/ruby/$filename"
local nice="nice -10"
if [ ! -f "$filename" ]; then
local down
Expand Down

0 comments on commit 138a96e

Please sign in to comment.