We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce886f9 commit 787d875Copy full SHA for 787d875
macos/install_rvm.sh
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+
3
+brew install gpg
4
5
+gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
6
+\curl -sSL https://get.rvm.io | bash -s stable
7
8
+echo "Sourcing RVM and reloading shell"
9
+. /Users/$(whoami)/.rvm/scripts/rvm
10
11
+echo "RVM requirements"
12
+rvm requirements
13
14
+echo "Installing ruby-2.5.3"
15
+rvm install ruby-2.5.3
16
17
+echo "Setting ruby-2.5.3 as default"
18
+rvm --default use ruby-2.5.3
19
20
+echo "Install bundler"
21
+gem install bundler --no-document
22
23
+# This wouldn't work because it is executed in a different
24
+# shell which gets invoked inside the script and not the
25
+# terminal window
26
+echo "...again"
27
0 commit comments