informatics-lab / blog

The Met Office Lab Jekyll Blog
http://www.informaticslab.co.uk
Other
3 stars 6 forks source link

Installation issues on OS X El Capitan #338

Open 05tb opened 8 years ago

05tb commented 8 years ago

sudo bundle install does not work on El Capitan. See the link for more information:

https://github.com/bundler/bundler/issues/4065

05tb commented 8 years ago

https://github.com/sergiokopplin/indigo/issues/81 Also helpful for trying to install nokogiri

05tb commented 8 years ago

https://www.snip2code.com/Snippet/369949/Error--Permission-denied----usr-local-Ce

05tb commented 8 years ago

Following the information in the links above do the following to install on El Capitan:

sudo gem install bundler -n /usr/local/bin
brew update
brew tap homebrew/dupes
brew install libxml2 libxslt
brew install libiconv
xcode-select --install
xcode-select --update
ls -l /usr/local/Cellar/
sudo chown UserName /usr/local/Cellar/libiconv
bundle install

Note: not all of those commands will be required for everyone.

Mbex commented 8 years ago

This works for me!