gem install eventmachine -v '1.0.8' -- --with-cppflags=-I/usr/local/opt/openssl/includebrew link --force openssl| around_action :user_time_zone, if: :current_user | |
| def user_time_zone(&block) | |
| Time.use_zone(current_user.time_zone, &block) | |
| end |
| #!/bin/sh | |
| . "$(git --exec-path)/git-sh-setup" | |
| args=$(git rev-parse --sq "$@") | |
| eval "git diff-tree -r $args" | { | |
| total=0 | |
| while read A B C D M P; do |
gem install eventmachine -v '1.0.8' -- --with-cppflags=-I/usr/local/opt/openssl/includebrew link --force opensslsudo xcodebuild -licenseI hereby claim:
To claim this, I am signing this object:
| # When: Capybara execution. | |
| # Cause: Using Firefox 35.x. | |
| # Fix: Downgrade to Firefox 34.x. |
| NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install |
| #!/bin/bash | |
| sudo apt-get remove phantomjs | |
| sudo unlink /usr/local/bin/phantomjs | |
| sudo unlink /usr/local/share/phantomjs | |
| sudo unlink /usr/bin/phantomjs | |
| cd /usr/local/share |
| # replace ruby-1.9.3-p448 for your ruby version | |
| gem install debugger-linecache -v '1.1.2' -- --with-ruby-include=$rvm_path/rubies/ruby-1.9.3-p448 |