Skip to content

Instantly share code, notes, and snippets.

@c3mediagroup
Created June 7, 2009 17:28
Show Gist options
  • Save c3mediagroup/125405 to your computer and use it in GitHub Desktop.
Save c3mediagroup/125405 to your computer and use it in GitHub Desktop.
~ > ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.7.0]
~ > which ruby
/usr/local/bin/ruby
~ > gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.7.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-9
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /Users/rpierce2/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/", "http://gems.github.com", "http://gems.github.com", "http://gems.fiveruns.com"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com
- http://gems.github.com
- http://gems.fiveruns.com
~ > RUBY_SOURCE_DIR="/usr/local/src/ruby-1.8.6-p287" sudo gem install rubynode
Password:
Building native extensions. This could take a while...
ERROR: Error installing rubynode:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
==================== ERROR =====================
Please set RUBY_SOURCE_DIR to the source path of ruby 1.8.6 (2008-08-11)!
================================================
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rubynode-0.1.5 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rubynode-0.1.5/ext/rubynode_ext/gem_make.out
~ >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment