Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ERROR: While Executing gem

Reply
Thread Tools

ERROR: While Executing gem

 
 
otaku
Guest
Posts: n/a
 
      11-14-2004
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

 
Reply With Quote
 
 
 
 
Chad Fowler
Guest
Posts: n/a
 
      11-14-2004
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!)


 
Reply With Quote
 
 
 
 
otaku
Guest
Posts: n/a
 
      11-14-2004
hacker-otakus-Computer:/Users/otaku root# /usr/local/bin/ruby --version
ruby 1.8.2 (2004-11-12) [powerpc-darwin7.6.0]
hacker-otakus-Computer:/Users/otaku root# /usr/local/bin/gem install
rake --backtrace
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
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
`directory?'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
`search_loadpath'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
`delete_if'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
`search_loadpath'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:4:in
`require'
/usr/local/lib/ruby/1.8/rdoc/rdoc.rb:8
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:42:in
`generate_rdoc'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:167:in
`execute'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:166:in
`each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:166:in
`execute'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in `invoke'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
`process_args'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run'
/usr/local/bin/gem:11
hacker-otakus-Computer:/Users/otaku root#

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gem list --remote --details gives "ERROR: While executing gem ...(NoMethodError)" Markus Fischer Ruby 4 03-27-2011 12:59 PM
ERROR: While executing gem ... (Gem::GemNotFoundException) C Lost Warrior Ruby 0 04-12-2008 03:50 PM
buffer error while executing gem Ronald Fischer Ruby 1 05-14-2007 03:23 PM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rubygems-upodate (> 0) in the repository han Ruby 1 10-24-2005 10:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57