LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2007, 01:00 AM   #1
thelostbutler
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Rep: Reputation: 0
gem_server installation problem


Hi,

I am trying to set up a local mirror of gems for installation on multiple systems. I ran the setup
according to

http://rubyforge.org/docman/view.php...ror_setup.html


on a new system (debian) i compile rubygems package
and installed . then i when i run gem_server , i get
the following error

gem_server
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load --
rdoc/template (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/usr/local/lib/site_ruby/1.8/rubygems/server.rb:6
from /usr/bin/gem_server:3:in `require'
from /usr/bin/gem_server:3

dpkg -l | grep ruby
ii libruby1.6 1.6.8-12sarge3 Libraries necessary
to run Ruby 1.6.x
ii libruby1.8 1.8.2-7sarge5 Libraries necessary
to run Ruby 1.8
ii libyaml-ruby 1.8.2-1 YAML for Ruby
ii libyaml-ruby1. 0.49.1-4 YAML for Ruby 1.6
ii libzlib-ruby 0.6.0+ruby1.8. Extension library to
use zlib from Ruby
ii ruby 1.8.2-1 An interpreter of
object-oriented scripting
ii ruby1.8 1.8.2-7sarge5 Interpreter of
object-oriented scripting lan



on another system where there is already gem_server
installed. when i tried to run gem_screen and did lynx
http://localhost:8808 or http://hostname:8808 as
recommened

http://docs.rubygems.org/read/chapter/2#page9 i get
the following error.

- -> /
[2007-02-21 05:48:51] ERROR NoMethodError: undefined
method `[]=' for nil:NilClass
/usr/bin/gem_server:403
/usr/bin/gem_server:366:in `call'

/usr/lib/ruby/1.8/webrick/httpservlet/prochandler.rb:26:in
`do_GET'

/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`__send__'

/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
`run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in
`start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in
`start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in
`start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in
`start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in
`each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in
`start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in
`start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in
`start'
/usr/bin/gem_server:437
10.46.80.107 - - [21/Feb/2007:05:48:51 GMT] "GET /
HTTP/1.0" 500 321
- -> /

then i found this page

http://docs.rubygems.org/read/chapter/18#page80

I don't know which package to install to get the file
generate_yaml_index.rb . i would appreciate some help
on this.i am a noob.

thanks
karan
 
  


Reply

Tags
mirror, rubygems


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM
Installation Problem noelg100 Linux - Newbie 1 05-20-2005 04:00 PM
Installation problem aahad1 Red Hat 1 05-06-2004 11:45 AM
problem during installation mrwood411 Linux - Newbie 8 07-08-2003 05:23 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM


All times are GMT -5. The time now is 10:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration