summaryrefslogtreecommitdiff
path: root/ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-05-25 13:32:55 +0200
committerAndreas Maunz <andreas@maunz.de>2012-05-25 13:32:55 +0200
commit4d26a300f51d698c3558a89f7919caa92955321c (patch)
tree5e8bb44336442ed02c936ba21b92b6fd19424950 /ruby.sh
parentb5f9186a72cb2dc107e65e5d50baa57d42f7658d (diff)
Adjusted Ruby + Java Package hint
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