summaryrefslogtreecommitdiff
path: root/ruby.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.sh')
-rwxr-xr-xruby.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby.sh b/ruby.sh
index 2e53384..8f96604 100755
--- a/ruby.sh
+++ b/ruby.sh
@@ -44,6 +44,8 @@ if [ ! $RUBY_DONE ]; then
cmd="$WGET $URI" && run_cmd "$cmd" "Download"
cmd="tar xzf $RUBY_VER.tar.gz" && run_cmd "$cmd" "Unpack"
fi
+ # Fix Bug
+ sed -i '1672s/__memalign/\ volatile\ __memalign/g' $HOME/tmp/$RUBY_VER/source/distro/google-perftools-1.7/src/tcmalloc.cc
cmd="sh $HOME/tmp/$RUBY_VER/installer --dont-install-useful-gems --no-dev-docs --auto=$RUBY_DEST" && run_cmd "$cmd" "Install"
fi