forked from samvera/hydra-head
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Prerequisites
ndushay edited this page Apr 6, 2012
·
12 revisions
-
ruby
- ruby 1.9.3 is required by hydra-head gem release 4.0
- ruby 1.8.7 is used by release 3.3 and below. RVM (see below) expects ree 1.8.7 (Ruby Enterprise Edition)
- git
- java NOTE: version 1.6 or higher
- sqlite3
-
RVM (Ruby Version Manager)
- We strongly suggest using RVM as a means of keeping your different ruby applications with their specific gem requirements from having version clashes. The instructions assume the use of RVM.
- If you don’t have the desired ruby version in RVM, e.g. ruby 1.9.3 or ree 1.8.7, then install it.
rvm install ruby-1.9.3
-
NOTE: OS X 10.7 users; XCode no longer has a real gcc, and ruby 1.8.7 needs the real deal. If you are using homebrew, you can get gcc with this command
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
- After installing RVM, set it up to use .rvmrc files when they’re available. This will cause RVM to automatically switch Ruby versions and gemsets when you cd into different code bases. Each component or Hydra Head uses its own gemset (i.e. hydra-head uses a gemset called hyhead, hypatia uses a gemset called hypatia) so that you can use a different set of dependencies for each.