Skip to content

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

  1. Clone the repository $ git clone [email protected]:zooniverse/Panoptes.git
  2. Install rbenv $ brew install rbenv
  3. Add rbenv to your .bash_profile by inserting the line eval "$(rbenv init -)"
  4. Use rbenv to install Rails 2.3 $ rbenv install 2.3.0
  5. Update rbenv versions info $ rbenv rehash
  6. Restart your terminal
  7. Tell rbenv to use rails 2.3 for panoptes by running $ echo "ruby-2.3.0" > .ruby-version
  8. Try $ bundle install. It will fail while trying to compile libv8
  9. Get a working version of libv8 by doing the following:
  10. Remove existing v8 from your system $ brew uninstall v8
  11. Remove existing libv8 gem $ gem uninstall libv8
  12. $ brew tap homebrew/version
  13. $ brew install v8-315
  14. $ brew link --force v8-315
  15. $ gem install libv8 -- --with-system-v8
  16. $ gem install therubyracer
  17. $ bundle install
Clone this wiki locally