Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 881 Bytes

rails_development_setup.md

File metadata and controls

25 lines (21 loc) · 881 Bytes

Setting up Rails/Samvera development on a Mac

Install xcode

  1. xcode-select --install

Install Homebrew

  1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. brew update
  3. brew tap AdoptOpenJDK/openjdk
  4. brew install --cask adoptopenjdk8
  5. brew install clamav git imagemagick libvorbis libvpx openssl redis sqlite ghostscript mysql wget tmux ffmpeg

Install rvm

  1. \curl -sSL https://get.rvm.io | bash -s stable --ruby
  2. rvm install 2.5.3
  3. rvm use 2.5.3 --default

Install FITS:

  1. wget http://projects.iq.harvard.edu/files/fits/files/fits-1.0.5.zip
  2. unzip fits-1.0.5.zip
  3. cd fits-1.0.5
  4. chmod a+x fits.sh
  5. Add the fits-1.0.5 directory to the path in ~/.bash_profile echo "export PATH=$PATH:~/fits-1.0.5" >> ~/.bash_profile