Rick Lloyd wrote:
[...]
> Here's how to see the documentation for installed gems on your system.
> 
> 1) create an executable file named "gem_server.rb" that contains
> 
> #!/usr/bin/env ruby
> 
> require 'rubygems/server'
> 
> gem_server = Gem::Server.new Gem.dir, 8089, false
> puts gem_server.inspect
> gem_server.run
> 
> 2) run: gem_server.rb &
> 
> 3) browse to: localhost:8089

Why go to all that trouble?  Much simpler to just type "gem server" at a 
command prompt (if you do that, the default port is 8808).  I don't see 
any advantage in your method...am I missing something?

> 
> 
> On Oct 4, 9:24�pm, David Sousa <rails-mailing-l...@andreas-s.net>

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to