From: Chad Fowler Date: 2004-11-15T00:40:21+09:00 Subject: Re: ERROR: While Executing gem On Mon, 15 Nov 2004 00:33:23 +0900, otaku wrote: > Greetings to all, > > 1.) rubygems installed fine... using the latest stable snapshot of ruby > > 2.) i am getting the following ERROR while trying to install various > gems > > BEGIN ERROR LOG > ------- > hacker-otakus-Computer:/usr/local/src/rubygems-0.8.1 root# > /usr/local/bin/gem install net-ssh > Attempting local installation of 'net-ssh' > Local gem file not found: net-ssh*.gem > Attempting remote installation of 'net-ssh' > Successfully installed net-ssh, version 0.1.0 > ERROR: While executing gem ... (ArgumentError) > string contains null byte > hacker-otakus-Computer:/usr/local/src/rubygems-0.8.1 root# > /usr/local/bin/gem install rake > Attempting local installation of 'rake' > Local gem file not found: rake*.gem > Attempting remote installation of 'rake' > Successfully installed rake, version 0.4.11 > ERROR: While executing gem ... (ArgumentError) > string contains null byte > hacker-otakus-Computer:/usr/local/src/rubygems-0.8.1 root# > /usr/local/bin/ruby --version > ruby 1.8.2 (2004-11-12) [powerpc-darwin7.6.0] > hacker-otakus-Computer:/usr/local/src/rubygems-0.8.1 root# > ----- > END ERROR LOG > > Greetings! Can you add "--backtrace" to your gem command and show us what it displays? e.g.: $ sudo gem install rake --backtrace This will show a hopefully more descriptive error message that will help us track down the problem. Thanks! Chad Fowler http://chadfowler.com http://rubycentral.org http://rubygarden.org http://rubygems.rubyforge.org (over 20,000 gems served!)