Skip to content

Commit

Permalink
update rvm version, ruby version, rails version
Browse files Browse the repository at this point in the history
  • Loading branch information
emorima committed Jun 12, 2019
1 parent 3f2f1b0 commit fa32ffa
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions rails-install-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,23 @@ curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm

echo "Installs Ruby"
rvm install 2.5.3
rvm use 2.5.3 --default
rvm install 2.6.3
rvm use 2.6.3 --default

echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler
gem install rails

echo -e "\n- - - - - -\n"
echo -e "Now we are going to print some information to check that everything is done:\n"


echo -n "Should be sqlite 3.8.1 or higher: sqlite "
echo -n "Should be sqlite 3.22.0 or higher: sqlite "
sqlite3 --version
echo -n "Should be rvm 1.26.11 or higher: "
echo -n "Should be rvm 1.29.8 or higher: "
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-11
echo -n "Should be ruby 2.5.3: "
echo -n "Should be ruby 2.6.3: "
ruby -v | cut -d " " -f 2
echo -n "Should be Rails 4.2.1 or higher: "
echo -n "Should be Rails 5.2.3 or higher: "
rails -v
echo -e "\n- - - - - -\n"

Expand Down

0 comments on commit fa32ffa

Please sign in to comment.