Skip to content

Instantly share code, notes, and snippets.

View maestrojed's full-sized avatar

Jed Herzog maestrojed

  • Linkwell Health
  • New York, NY
View GitHub Profile
sudo brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run `xcode-select --install` to install the CLT.
Gem::LoadError on line ["2064"] of /Library/Ruby/Site/2.0.0/rubygems/specification.rb: Unable to activate toolkit-2.1.0, because sass-3.2.19 conflicts with sass (~> 3.3.0)
Checking requirements for osx.
Installing requirements for osx.
Updating system......
Error running 'requirements_osx_brew_update_system ',
showing last 15 lines of /Users/prestonschmidt/.rvm/log/1398355791/update_system.log
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
+ rvm_pretty_print stderr
+ case "${rvm_pretty_print_flag:=auto}" in
+ case "${TERM:-dumb}" in
Checking requirements for osx.
Installing requirements for osx.
Updating system......
Error running 'requirements_osx_brew_update_system ',
showing last 15 lines of /Users/username/.rvm/log/1398355791/update_system.log
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
+ rvm_pretty_print stderr
+ case "${rvm_pretty_print_flag:=auto}" in
+ case "${TERM:-dumb}" in
sudo rvm requirements
Password:
Checking requirements for osx.
Installing requirements for osx.
Updating system.....
Installing required packages: gcc46....
Error running 'requirements_osx_brew_libs_install gcc46',
showing last 15 lines of /Users/username/.rvm/log/1398356087/package_install_gcc46.log
+ case "$1" in
+ [[ -t 1 ]]
ls -laf /Users
total 0
drwxr-xr-x 5 root admin 170 Apr 24 19:15 .
drwxr-xr-x 31 root wheel 1122 Apr 25 14:42 ..
-rw-r--r-- 1 root wheel 0 Aug 25 2013 .localized
drwxr-xr-x+ 27 root admin 918 Apr 25 11:22 maestrojed
drwxrwxrwt 5 root wheel 170 Apr 24 19:21 Shared
preston@ ~/Dropbox (betheoutlier)/preston/corinthian-marine/site/corinthianmarine.dev (master) $ rails server
/Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `require': dlopen(/Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
Referenced from: /Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2/mysql2.bundle
Reason: image not found - /Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2/mysql2.bundle
from /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `block in require'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `require'
from /Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2.rb:8:in `<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.6.2/lib/bundler
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: rails_dbname
pool: 5
username: rails_dbuser
password: password1234
socket: /var/lib/mysql/mysql.sock
preston@ ~/Dropbox (betheoutlier)/preston/corinthian-marine/site/corinthianmarine.dev (master) $ rails s
=> Booting Thin
=> Rails 3.2.15 application starting in development onhttp://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Library/Ruby/Gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2/client.rb:67:in `connect': Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (Mysql2::Error)