-
Notifications
You must be signed in to change notification settings - Fork 41
Modern Panoptes Install for Devs
Amy Boyer edited this page Apr 5, 2016
·
11 revisions
It was quite difficult to get Panoptes working under El Capitan
- Clone the repository
$ git clone [email protected]:zooniverse/Panoptes.git
- Install rbenv
$ brew install rbenv
- Add rbenv to your
.bash_profile
by inserting the lineeval "$(rbenv init -)"
- Use rbenv to install Rails 2.3
$ rbenv install 2.3.0
- Update rbenv versions info
$ rbenv rehash
- Restart your terminal
- Tell rbenv to use rails 2.3 for panoptes by running
$ echo "ruby-2.3.0" > .ruby-version
- Try
$ bundle install
. It will fail while trying to compile libv8 - Get a working version of libv8 by doing the following:
- Remove existing v8 from your system
$ brew uninstall v8
- Remove existing libv8 gem
$ gem uninstall libv8
$ brew tap homebrew/version
$ brew install v8-315
$ brew link --force v8-315
$ gem install libv8 -- --with-system-v8
$ gem install therubyracer
$ bundle install