Skip to content

Instantly share code, notes, and snippets.

@nathandao
Created October 16, 2015 18:49
Show Gist options
  • Save nathandao/a1930f52b5d7659e2f47 to your computer and use it in GitHub Desktop.
Save nathandao/a1930f52b5d7659e2f47 to your computer and use it in GitHub Desktop.
Ruby installation weirdness commands
# Add rbenv init to your shell to enable shims and autocompletion.
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
# if installing eventmachine complains fatal error: 'openssl/ssl.h' file not found on OSX
gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment