ERROR: While Executing gem

O

otaku

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#
 
C

Chad Fowler

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#

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!)
 
O

otaku

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#
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top