Skip to content

Instantly share code, notes, and snippets.

View conradwt's full-sized avatar
🎯
Focusing

Conrad Taylor conradwt

🎯
Focusing
View GitHub Profile
@conradwt
conradwt / gem-error.txt
Created September 5, 2012 22:43
Rubygems Segmentation fault
$ ruby -v
ruby 2.0.0dev (2012-09-05 trunk 36913) [x86_64-darwin12.1.0]
$ gem list
/Users/conradwt/.rvm/gems/ruby-head/gems/psych-1.3.2/lib/psych/visitors/to_ruby.rb:144: [BUG] Segmentation fault
ruby 2.0.0dev (2012-09-05 trunk 36913) [x86_64-darwin12.1.0]
-- Control frame information -----------------------------------------------
c:0018 p:---- s:0100 b:0100 e:000099 CFUNC :===
c:0017 p:0109 s:0098 b:0097 e:000096 METHOD /Users/conradwt/.rvm/gems/ruby-head/gems/psych-1.3.2/lib/psych/visitors/to_ruby.rb:144
@conradwt
conradwt / gist:3008085
Created June 28, 2012 01:20
creating a rails 3.2.6 using dev mode
$ rails new testapp --dev
$ cd testapp
$ bundle install
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
require 'rubygems' rescue nil
require 'wirble'
require 'hirb'
require 'awesome_print'
# Wirble options.
Wirble.init
Wirble.colorize
# Hirb options. (active record output format in table)
@conradwt
conradwt / Platform Information
Created April 21, 2012 23:22
Error running 'ant cext'
$ os
Mac OS 10.7.3
$ java -version
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
@conradwt
conradwt / gist:2357313
Created April 11, 2012 06:19
capybara-webkit 0.11.0 fails to build on Mac OS 10.7.3
$ xcodebuild -version
Xcode 4.3.2
Build version 4E2002
$ ruby -v
ruby 1.9.3p176 (2012-04-04 revision 35238) [x86_64-darwin11.3.0]
ERROR START:
Installing capybara-webkit (0.11.0) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
@conradwt
conradwt / gist:1932192
Created February 28, 2012 12:15
excerpt from server log
Started POST "/en/projects" for 99.127.113.203 at 2012-02-28 06:02:33 -0500
Processing by ProjectsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rIb2kRLye609oddkqOqlNDQtBEdql+SgFTnjxNRTiVc=", "project"=>{"user_id"=>"44", "site_id"=>"3", "name"=>"Mission Trip to Thailand ", "video_url"=>"http://vimeo.com/37577763 ", "about"=>"My church is planning for our annual trip to Thailand this summer to provide services to the women of Thailand who have been victims of human trafficking. My church makes this trip every year, but I've never been able to go due to lack of funds. I would really like go on this trip because I feel that this is an opportunity of a lifetime to learn about Thai culture while providing service to their community and ministering to the women.\r\n\r\nThe total cost of my trip is $5000, but my church will pay half of this and I am responsible for the rest. $5,000 will cover my travel expenses and room & board for my two month stay in Thailand. Once there, I'll be su
@conradwt
conradwt / gist:1866081
Created February 19, 2012 21:58
Unable to build 1.9.3-head with RVM
$ rvm get head
$ rvm install 1.9.3-head
Fetching yaml-0.1.4.tar.gz to /Users/conradwt/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/conradwt/.rvm/src
Configuring yaml in /Users/conradwt/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/conradwt/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/conradwt/.rvm/usr
Installing Ruby from source to: /Users/conradwt/.rvm/rubies/ruby-1.9.3-head, this may take a while depending on your cpu(s)...
ruby-1.9.3-head - #fetching
@conradwt
conradwt / gist:1861678
Created February 19, 2012 02:31
Ruby 1.9.3 branch fails to build
$ git clone git://github.com/ruby/ruby.git
$ cd ruby
$ git co ruby_1_9_3
$ autoconf
$ CC=clang ./configure
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
@conradwt
conradwt / configure.log
Created February 18, 2012 23:40
Ruby 1.9.3 fails to build on Mac OS 10.7.3
$ cat /Users/conradwt/.rvm/log/ruby-1.9.3-head/configure.log
[2012-02-18 15:35:02] ./configure --prefix=/Users/conradwt/.rvm/rubies/ruby-1.9.3-head --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/conradwt/.rvm/usr --with-baseruby=/Users/conradwt/.rvm/wrappers/ruby-1.8.7-p357/ruby
configure: WARNING: unrecognized options: --with-libyaml
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0
checking whether the C compiler works... no
configure: error: in `/Users/conradwt/.rvm/src/ruby-1.9.3-head':
configure: error: C compiler cannot create executables
See `config.log' for more details
@conradwt
conradwt / Crash Report log
Created January 31, 2012 10:13
[BUG] Segmentation fault ruby 1.9.3p28 (2012-01-28 revision 34386) [x86_64-darwin11.2.0]
$ cat ruby_2012-01-31-021213_localhost.crash
Process: ruby [25800]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: ruby [25799]
Date/Time: 2012-01-31 02:12:12.199 -0800
OS Version: Mac OS X 10.7.2 (11C74)