Permalink
Browse files

Update rvm_install

  • Loading branch information...
1 parent bc98cd0 commit 2c7e03a826a89c97aaad816690e20e2061f8fd04 @inforserver2 committed May 3, 2014
Showing with 10 additions and 4 deletions.
  1. +10 −4 rvm_install
View
@@ -8,7 +8,7 @@
# dependency
sudo apt-get install curl
# GET stable version
-\curl -L https://get.rvm.io | sudo bash -s stable
+\curl -L https://get.rvm.io | bash -s stable
# install
source /etc/profile.d/rvm.sh
echo "source /etc/profile.d/rvm.sh" | sudo tee -a ~/.bashrc
@@ -24,12 +24,18 @@ rvm --default use 2.1.0
rvm gemset create rails4
rvm use 2.1.0@rails4 --default
-sudo bash -c "gem install rails --no-ri --no-rdoc"
-sudo bash -c "gem install passenger"
-sudo bash -c "passenger-install-apache2-module -a"
+gem install rails --no-ri --no-rdoc
+gem install passenger
+passenger-install-apache2-module -a
# rvm --create --rvmrc 2.0.0@rails4
+
+
+
+
+
+
# done
# ? link your bashrc to rvm.sh
# ? install ruby versions with 'rvm list known' and 'rvm install version'

0 comments on commit 2c7e03a

Please sign in to comment.