Skip to content

Instantly share code, notes, and snippets.

@Quintus
Created March 4, 2013 16:52
Show Gist options
  • Save Quintus/5083674 to your computer and use it in GitHub Desktop.
Save Quintus/5083674 to your computer and use it in GitHub Desktop.
(1001) [17:51:12 quintus@roma] ~
% ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
(1002) [17:51:16 quintus@roma] ~
% gem -v
2.0.0
(1003) [17:51:17 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 --no-ri"
- "update" => "--format-executable --no-ri"
- REMOTE SOURCES:
- http://rubygems.org/
(1004) [17:51:19 quintus@roma] ~
% sudo gem install rbtree
[sudo] password for quintus:
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“ und „/opt/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/rbtree-0.3.0/./rbtree.so“ sind die gleiche Datei
make: *** [install-so] Fehler 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
(1005) [17:51:37 quintus@roma] ~
%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment