Skip to content

Commit badcb3c

Browse files
committed
Merge pull request #24 from leesharma/master
Update ruby version, rvm in ubuntu installer
2 parents f436249 + 748e0d9 commit badcb3c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

rails-install-ubuntu.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ echo "Installs ImageMagick for image processing"
1212
sudo apt-get install imagemagick --fix-missing -y
1313

1414
echo "Installs RVM (Ruby Version Manager) for handling Ruby installation"
15-
curl -L get.rvm.io | bash -s stable
15+
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
16+
curl -sSL https://get.rvm.io | bash -s -- --version 1.26.11
1617
source ~/.rvm/scripts/rvm
1718

1819
echo "Installs Ruby"
19-
rvm install 1.9.3-p547
20-
rvm use 1.9.3-p547 --default
20+
rvm install 2.2.1
21+
rvm use 2.2.1 --default
2122

2223
gem install bundler --no-rdoc --no-ri
2324
gem install rails --no-rdoc --no-ri
@@ -29,13 +30,13 @@ echo -e "Now we are going to print some information to check that everything is
2930
# echo -n "Should be brew 0.8 or higher: brew "
3031
# brew -v
3132

32-
echo -n "Should be sqlite 3.7.3 or higher: sqlite "
33+
echo -n "Should be sqlite 3.8.1 or higher: sqlite "
3334
sqlite3 --version
34-
echo -n "Should be rvm 1.6.32 or higher: "
35+
echo -n "Should be rvm 1.26.11: "
3536
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-10
36-
echo -n "Should be ruby 1.9.3-p547: "
37+
echo -n "Should be ruby 2.2.1: "
3738
ruby -v | cut -d " " -f 2
38-
echo -n "Should be Rails 3.2.2 or higher: "
39+
echo -n "Should be Rails 4.2.1 or higher: "
3940
rails -v
4041
echo -e "\n- - - - - -\n"
4142

0 commit comments

Comments
 (0)