From 127a5254497109009b18ec6ab7d7250e3857b8ad Mon Sep 17 00:00:00 2001 From: Karthikeyan A K Date: Fri, 10 Aug 2012 13:29:26 +0530 Subject: [PATCH] added ruby install bash --- ruby_install.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ruby_install.bash diff --git a/ruby_install.bash b/ruby_install.bash new file mode 100644 index 0000000..1001d14 --- /dev/null +++ b/ruby_install.bash @@ -0,0 +1,7 @@ +$ sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake + +$ curl -L https://get.rvm.io | bash -s stable --ruby + +$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bashrc + +$ source ~/.bashrc