Skip to content

Instantly share code, notes, and snippets.

@Quintus
Created March 4, 2013 16:57
Show Gist options
  • Select an option

  • Save Quintus/5083703 to your computer and use it in GitHub Desktop.

Select an option

Save Quintus/5083703 to your computer and use it in GitHub Desktop.
(1008) [17:54:21 quintus@roma] ~
% ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
(1009) [17:55:21 quintus@roma] ~
% gem -v
2.0.0
(1010) [17:55:22 quintus@roma] ~
% gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.0
- RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0
- RUBY EXECUTABLE: /opt/rubies/ruby-2.0.0-p0/bin/ruby
- EXECUTABLE DIRECTORY: /opt/rubies/ruby-2.0.0-p0/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0
- /home/quintus/.gem/ruby/2.0.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--format-executable"
- "update" => "--format-executable"
- REMOTE SOURCES:
- http://rubygems.org/
(1011) [17:55:27 quintus@roma] ~
% LANG=en_US.utf8 sudo gem install rbtree
Building native extensions. This could take a while...
ERROR: Error installing rbtree:
ERROR: Failed to build gem native extension.
/opt/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for ruby/st.h... yes
checking for rb_exec_recursive() in ruby.h... yes
creating Makefile
make
compiling rbtree.c
compiling dict.c
linking shared-object rbtree.so
make install
/usr/bin/install -c -m 0755 rbtree.so /opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/rbtree-0.3.0/.
/usr/bin/install: ‘rbtree.so’ and ‘/opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/rbtree-0.3.0/./rbtree.so’ are the same file
make: *** [install-so] Error 1
Gem files will remain installed in /opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/rbtree-0.3.0 for inspection.
Results logged to /opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/rbtree-0.3.0/./gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment