summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-14 22:21:42 -0600
committermo khan <mo.khan@gmail.com>2020-04-14 22:21:42 -0600
commitbdcc78c5944b1cfa14f7d92276cc0658f415e60c (patch)
treebcc35328d9cb252f5bfda571e4614f13dd4390a3
parent1b2b95d957860dd25060a2175610e01df103c7b2 (diff)
Compile statically linked ruby
-rw-r--r--config/install.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/install.sh b/config/install.sh
index 88f56aa..eadeca6 100644
--- a/config/install.sh
+++ b/config/install.sh
@@ -13,12 +13,11 @@ wget https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.gz
tar -xf ruby-2.7.1.tar.gz
cd ruby-2.7.1
-./configure
+./configure --disable-install-doc --disable-install-rdoc --disable-install-capi --disable-dln --with-static-linked-ext --without-valgrind --disable-jit-support
make -j"$(nproc)"
make install
cd /root
rm -fr ruby-2.7.1*
-
gem update --system
gem install bundler -v '~> 2.0'
echo "Done"