Skip to content

Commit

Permalink
Merge branch '123.08stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Jan 5, 2016
2 parents 922afb0 + fd59ce7 commit c2c76a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/passenger.sh
Expand Up @@ -5,7 +5,7 @@ VER='0.0.3'
# for Centminmod.com
# written by George Liu (eva2000) vbtechsupport.com
######################################################
RUBYVER='2.2.3'
RUBYVER='2.2.4'
RUBYBUILD=''

NODEJSVER='4.1.1'
Expand Down Expand Up @@ -189,15 +189,15 @@ if [[ -z $(which ruby >/dev/null 2>&1) || -z $(which rvm >/dev/null 2>&1) || -z
echo "--------------------------------"

echo "PATH echo..."
sed -i 's/export PATH/#export PATH/' ~/.bashrc
# sed -i 's/export PATH/#export PATH/' ~/.bashrc

# PATH=$(echo $PATH | tr ':' '\n' | sort | uniq | tr '\n' ':')

# echo "export PATH=\"$PATH:/usr/local/rvm/gems/ruby-${RUBYVER}/bin:/usr/local/rvm/gems/ruby-${RUBYVER}@global/bin:/usr/local/rvm/rubies/ruby-${RUBYVER}/bin\"" >> ~/.bashrc
# export PATH="$PATH:/usr/local/rvm/gems/ruby-${RUBYVER}/bin:/usr/local/rvm/gems/ruby-${RUBYVER}@global/bin:/usr/local/rvm/rubies/ruby-${RUBYVER}/bin"

echo "export PATH="$PATH"" >> ~/.bashrc
export PATH="$PATH"
# echo "export PATH="$PATH"" >> ~/.bashrc
# export PATH="$PATH"

echo "--------------------------------"
rvm rubygems current
Expand Down

0 comments on commit c2c76a5

Please sign in to comment.