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