File tree Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# Do not run as sudo or there could be trouble setting up RVM
33
4- gpg --keyserver hkp://keys.gnupg .net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
4+ gpg --keyserver hkp://pool.sks-keyservers .net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
55\c url -sSL https://get.rvm.io | bash -s stable
66
77echo " Sourcing RVM and reloading shell"
@@ -23,4 +23,4 @@ gem install bundler --no-rdoc --no-ri
2323# shell which gets invoked inside the script and not the
2424# terminal window
2525echo " ...again"
26- . /home/$( whoami) /.rvm/scripts/rvm
26+ . /home/$( whoami) /.rvm/scripts/rvm
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # Resources:
4+ # - http://stackoverflow.com/questions/25460047/cant-install-imagemagick-with-brew-on-mac-os-x-mavericks
5+ # - https://glucode.com/blog/installing-rmagick-gem-with-imagemagick-and-homebrew-on-macos-10-14-mojave
6+
37brew update
4- brew install imagemagick --disable-openmp --build-from-source
8+ brew install imagemagick@6
59
6- # http://stackoverflow.com/questions/25460047/cant-install-imagemagick-with-brew-on-mac-os-x-mavericks
10+ # Verify installation with command
11+ #
12+ # $ convert -version
13+ #
14+ # If the command is not found by the terminal do:
15+ #
16+ # $ brew link imagemagick@6 --force
17+ #
18+ # Or find the path of the installation and add it to `PATH`
19+ #
20+ # /usr/local/opt/imagemagick@6/bin
21+ #
22+ # See comments beginning with https://github.com/rmagick/rmagick/issues/256#issuecomment-273113469
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ brew install gpg
4+
5+ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
6+ \c url -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+ . /Users/$( whoami) /.rvm/scripts/rvm
You can’t perform that action at this time.
0 commit comments