File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ echo " Installs Homebrew for installing other software"
4
+ /usr/bin/ruby -e " $( /usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb) "
5
+ brew update
6
+
7
+ echo " Installs RVM (Ruby Version Manager) for handling Ruby installation"
8
+ curl -kL get.rvm.io | bash -s stable
9
+ source ~ /.rvm/scripts/rvm
10
+
11
+ echo " Install Ruby"
12
+ rvm install 1.9.3-p194
13
+ rvm use 1.9.3-p194 --default
14
+
15
+ gem install bundler --no-rdoc --no-ri
16
+ gem install rails --no-rdoc --no-ri
17
+
18
+ echo -e " \n- - - - - -\n"
19
+ echo -e " Now we are going to print some information to check that everything is done:\n"
20
+
21
+ echo -n " Should be brew 0.8 or higher: brew "
22
+ brew -v
23
+ echo -n " Should be sqlite 3.7.3 or higher: sqlite "
24
+ sqlite3 --version
25
+ echo -n " Should be rvm 1.6.32 or higher: "
26
+ rvm --version | sed ' /^.*$/N;s/\n//g' | cut -c 1-10
27
+ echo -n " Should be ruby 1.9.3-p194: "
28
+ ruby -v | cut -d " " -f 2
29
+ echo -n " Should be Rails 3.2.2 or higher: "
30
+ rails -v
31
+ echo -e " \n- - - - - -\n"
32
+
33
+ echo " If the versions match, everything is installed correctly. If the versions
34
+ don't match or errors are shown, something went wrong with the automated process
35
+ and we will help you do the installation the manual way at the event.
36
+
37
+ Congrats!"
You can’t perform that action at this time.
0 commit comments