Skip to content

Instantly share code, notes, and snippets.

View joshuarule's full-sized avatar

Joshua Rule Dobson joshuarule

  • Funko
  • Tacoma, Wa
  • 17:00 (UTC -08:00)
View GitHub Profile
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
@joshuarule
joshuarule / gist:1604539
Created January 13, 2012 03:40
bundle install 02
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for main() in -lstdc++... yes
checking for main() in -ltag... no
You must have taglib installed in order to use taglib-ruby.
Debian/Ubuntu: sudo apt-get install libtag1-dev
Fedora/RHEL: sudo yum install taglib-devel
@joshuarule
joshuarule / gist:1604599
Created January 13, 2012 03:52
brew doctor
fatal: Not a git repository (or any of the parent directories): .git
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libftchipid.0.1.0.dylib
/usr/local/lib/libftd2xx.1.0.2.dylib
/usr/local/lib/libical.0.0.0.dylib
@joshuarule
joshuarule / gist:1608223
Created January 13, 2012 19:20
rake db
JoshuaRule-Lappy-4:explorefm jrd02$ rake db:create:all
fe_sendauth: no password supplied
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `initialize'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `new'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `connect'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:301:in `initialize'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `new'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `postgresql_connection'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/
@joshuarule
joshuarule / gist:1612937
Created January 14, 2012 21:20
rake db
JoshuaRule-Lappy-4:explorefm jrd02$ rake db:create:all
fe_sendauth: no password supplied
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `initialize'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `new'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1032:in `connect'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:301:in `initialize'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `new'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `postgresql_connection'
/Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/c
# Build Notes
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/mxcl/homebrew/issues/issue/2510
To build plpython against a specific Python, set PYTHON prior to brewing:
PYTHON=/usr/local/bin/python brew install postgresql
See:
http://www.postgresql.org/docs/9.1/static/install-procedure.html
JoshuaRule-Lappy-4:explorefm jrd02$ git pull origin master
remote: Counting objects: 1153, done.
remote: Compressing objects: 100% (507/507), done.
remote: Total 999 (delta 702), reused 779 (delta 484)
Receiving objects: 100% (999/999), 2.16 MiB | 225 KiB/s, done.
Resolving deltas: 100% (702/702), completed with 106 local objects.
From github.com:kellydunn/explorefm
* branch master -> FETCH_HEAD
Updating 024b827..120bb15
error: The following untracked working tree files would be overwritten by merge:
JoshuaRule-Lappy-4:explorefm jrd02$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: chef/cookbooks/explorefm/templates/default/pg_hba.conf
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
JoshuaRule-Lappy-4:explorefm jrd02$ git add -A --verbose
add 'chef/cookbooks/explorefm/templates/default/pg_hba.conf'
add '.DS_Store'
add 'app/.DS_Store'
add 'app/assets/.DS_Store'
add 'app/assets/stylesheets/.DS_Store'
add 'app/assets/stylesheets/explorefm.eot'
add 'app/assets/stylesheets/explorefm.svg'
add 'app/assets/stylesheets/explorefm.ttf'
add 'app/assets/stylesheets/explorefm.woff'
Joshs-MacBook-Pro:explorefm jrd02$ rails s
=> Booting WEBrick
=> Rails 3.1.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML at line 20 column 0 (Psych::SyntaxError)
from /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/psych.rb:148:in `parse_stream'
from /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/psych.rb:119:in `parse'
from /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/psych.rb:106:in `load'