It sucks and takes forever, but it should reduce roadblocks in the future.
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
It sucks and takes forever, but it should reduce roadblocks in the future.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Adding GitHub password to login keychain for use with git-credential-osxkeychain
:
security add-internet-password -a chasetopher -r htps -s github.com -T /Library/Developer/CommandLineTools/usr/libexec/git-core/git-credential-osxkeychain -w
security add-internet-password -a chasetopher -r htps -s gist.github.com -T /Library/Developer/CommandLineTools/usr/libexec/git-core/git-credential-osxkeychain -w
Due to what I think is a bug, add-internet-password
sets partition list to apple-tool:
instead of apple:
. (Adding the password though Keychain Access.app results in apple:
)
security set-internet-password-partition-list -a chasetopher -r htps -S apple:
Beat the game while collecting the following:
partitions.min_by { |p| p.inject(0) { |combined_weight, file| combined_weight + file_weights[file] } } | |
.push(files_biggest_first.delete_at(0)) until files_biggest_first.empty? |
config/initializers/mime_types.rb
Mime::Type.register_alias "text/html", :mobile
app/controllers/application_controller.rb
If you're unfamiliar with the issue, there is an intermittent failure when running Capybara tests on any machine (spec/requests/
or features/
):
undefined method `db_charmer_connection_name' for #<ActiveRecord::ConnectionAdapters::Mysql2Adapter:0x00000009f16ec8>
/var/lib/jenkins/.rvm/gems/ruby-1.9.3-p0/gems/db-charmer-1.7.0/lib/db_charmer/active_record/class_attributes.rb:85:in `db_charmer_remapped_connection'