Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
RubyGems Documentation Server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  17 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mindshadow  
View profile  
 More options Dec 3 2010, 7:14 pm
From: mindshadow <cdwy...@gmail.com>
Date: Fri, 3 Dec 2010 16:14:51 -0800 (PST)
Local: Fri, Dec 3 2010 7:14 pm
Subject: RubyGems Documentation Server
The RubyGems Documentation Server is installed as part of ruby
1.9.2p0; but when one chooses it from the start menu, it starts up and
then appears to do nothing.

Two lines beginning with "Server started at..." appear and a blinking
cursor appears on the third line.

Input is ignored, except for ctrl-C, which produces the message
    Terminate batch job (Y/N)?
Typing either Y or N terminates the batch job.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roy Pardee  
View profile  
 More options Dec 3 2010, 8:41 pm
From: Roy Pardee <rpar...@gmail.com>
Date: Fri, 3 Dec 2010 17:41:09 -0800
Local: Fri, Dec 3 2010 8:41 pm
Subject: Re: [RubyInstaller] RubyGems Documentation Server

That's expected behavior, isn't it?  You've got to point a browser at
http://localhost:8808 to request doc pages I think.

--
Roy Pardee
http://facebook.com/rpardee

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mindshadow  
View profile  
 More options Dec 3 2010, 10:36 pm
From: mindshadow <cdwy...@gmail.com>
Date: Fri, 3 Dec 2010 19:36:32 -0800 (PST)
Local: Fri, Dec 3 2010 10:36 pm
Subject: Re: RubyGems Documentation Server
Thanks, Roy.  That helped.

Actually, as a non-initiate, I expected documentation to appear when I
clicked the link in the Start Menu, just as happens when I click on
Ruby 1.9.2-p0 API Reference or The Book of Ruby.  The command that is
executed apparently fires up the server(s) but does not then open the
relevant page in the default browser.

What seems to work is to
* first select RubyGems Documentation Server (from the Start Menu);
* then point a browser at http://localhost:8808 (as you advised).

I guess this makes sense if you already know how to do it, but it's
not obvious to someone who is new to Ruby.

On Dec 3, 7:41 pm, Roy Pardee <rpar...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roy Pardee  
View profile  
 More options Dec 3 2010, 11:11 pm
From: Roy Pardee <rpar...@gmail.com>
Date: Fri, 3 Dec 2010 20:11:13 -0800
Local: Fri, Dec 3 2010 11:11 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

Aye--true enough.  It'd be nice if that command also launched a browser for
you, but I don't think it does.  It'd be easy to do in a batch file I think:

  start gem server
  start http://localhost:8808

Probably there's a slicker way to do it, but that seems to work...

--
Roy Pardee
http://facebook.com/rpardee

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Dec 4 2010, 10:00 am
From: Luis Lavena <luislav...@gmail.com>
Date: Sat, 4 Dec 2010 12:00:38 -0300
Local: Sat, Dec 4 2010 10:00 am
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

This is an awesome opportunity to improve the gem server behavior, as
RubyGems team is wrapping things for 1.4 release.

Would you mind open an Issue for us with your feature suggestion? we can
provide the patches to RubyGems in some sort of "--launch" parameter so when
the server is started, it fires the browser.

Thank you for your feedback.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gordon Thiesfeld  
View profile  
 More options Dec 4 2010, 12:02 pm
From: Gordon Thiesfeld <gthiesf...@gmail.com>
Date: Sat, 4 Dec 2010 11:02:33 -0600
Local: Sat, Dec 4 2010 12:02 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Dec 4, 2010, at 9:00 AM, Luis Lavena <luislav...@gmail.com> wrote:

I believe Shopify's Vision app works in a similar fashion. It might be a good place to look.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mindshadow  
View profile  
 More options Dec 4 2010, 5:06 pm
From: mindshadow <cdwy...@gmail.com>
Date: Sat, 4 Dec 2010 14:06:18 -0800 (PST)
Local: Sat, Dec 4 2010 5:06 pm
Subject: Re: RubyGems Documentation Server
I've written up an issue but cannot find any way to add it.  The
Issues tab doesn't appear to have an Add button, and the New issue tab
says "No tracker is associated to this project. Please check the
Project settings."  Any suggestions?

On Dec 4, 9:00 am, Luis Lavena <luislav...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Dec 4 2010, 5:13 pm
From: Luis Lavena <luislav...@gmail.com>
Date: Sat, 4 Dec 2010 19:13:01 -0300
Local: Sat, Dec 4 2010 5:13 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Sat, Dec 4, 2010 at 7:06 PM, mindshadow <cdwy...@gmail.com> wrote:
> I've written up an issue but cannot find any way to add it.  The
> Issues tab doesn't appear to have an Add button, and the New issue tab
> says "No tracker is associated to this project. Please check the
> Project settings."  Any suggestions?

I don't know where are you trying to add the issue, but here is the link:

https://github.com/oneclick/rubyinstaller/issues

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mindshadow  
View profile  
 More options Dec 4 2010, 5:54 pm
From: mindshadow <cdwy...@gmail.com>
Date: Sat, 4 Dec 2010 14:54:12 -0800 (PST)
Local: Sat, Dec 4 2010 5:54 pm
Subject: Re: RubyGems Documentation Server
On the http://www.ruby-lang.org/en/libraries/ page, I found this link
Issue Tracking: Report or help solve issues in Ruby. (http://
redmine.ruby-lang.org/)

From there, I found
http://redmine.ruby-lang.org/wiki/ruby/HowtoReport
http://redmine.ruby-lang.org/projects/ruby/issues

After going to the page you supplied (https://github.com/oneclick/
rubyinstaller/issues)
and signing up, I find a Create Issue button, but when I click that, I
am sent to
https://github.com/
which has nothing to do with creating issues.

On Dec 4, 4:13 pm, Luis Lavena <luislav...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Dec 4 2010, 5:58 pm
From: Luis Lavena <luislav...@gmail.com>
Date: Sat, 4 Dec 2010 19:58:49 -0300
Local: Sat, Dec 4 2010 5:58 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Sat, Dec 4, 2010 at 7:54 PM, mindshadow <cdwy...@gmail.com> wrote:
> On the http://www.ruby-lang.org/en/libraries/ page, I found this link
> Issue Tracking: Report or help solve issues in Ruby. (http://
> redmine.ruby-lang.org/)

> From there, I found
> http://redmine.ruby-lang.org/wiki/ruby/HowtoReport
> http://redmine.ruby-lang.org/projects/ruby/issues

That is Ruby, we're talking about RubyInstaller and the shortcut.

> After going to the page you supplied (https://github.com/oneclick/
> rubyinstaller/issues)
> and signing up, I find a Create Issue button, but when I click that, I
> am sent to
> https://github.com/
> which has nothing to do with creating issues.

Dunno what browser are you using, but if you had problems with GitHub site,
that is something else that I can't help you with.

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mindshadow  
View profile  
 More options Dec 4 2010, 7:13 pm
From: mindshadow <cdwy...@gmail.com>
Date: Sat, 4 Dec 2010 16:13:34 -0800 (PST)
Local: Sat, Dec 4 2010 7:13 pm
Subject: Re: RubyGems Documentation Server
Firefox.  I was able to get through using IE8.  I will follow up with
github.

On Dec 4, 4:58 pm, Luis Lavena <luislav...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roy Pardee  
View profile  
 More options Dec 4 2010, 8:03 pm
From: Roy Pardee <rpar...@gmail.com>
Date: Sat, 4 Dec 2010 17:03:19 -0800
Local: Sat, Dec 4 2010 8:03 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

FWIW--I added a thread to rubygems' "suggestions" board:

http://help.rubygems.org/discussions/suggestions/24-gem-server-should...

--
Roy Pardee
http://facebook.com/rpardee

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gordon Thiesfeld  
View profile  
 More options Dec 5 2010, 10:42 am
From: Gordon Thiesfeld <gthiesf...@gmail.com>
Date: Sun, 5 Dec 2010 09:42:51 -0600
Local: Sun, Dec 5 2010 10:42 am
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

I've forked rubygems on github, and made a gem_server_launch branch
[1].  I have made the necessary changes[2].  I have not tested them on
any other OS than Windows yet.  I'd appreciate it if Luis, or anyone
else could review it for me.

[1] https://github.com/vertiginous/rubygems/commits/gem_server_launch
[2] https://github.com/vertiginous/rubygems/commit/28822b581aa5645d7dd624...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Dec 5 2010, 11:58 am
From: Luis Lavena <luislav...@gmail.com>
Date: Sun, 5 Dec 2010 13:58:07 -0300
Local: Sun, Dec 5 2010 11:58 am
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Sun, Dec 5, 2010 at 12:42 PM, Gordon Thiesfeld <gthiesf...@gmail.com>wrote:

> I've forked rubygems on github, and made a gem_server_launch branch
> [1].  I have made the necessary changes[2].  I have not tested them on
> any other OS than Windows yet.  I'd appreciate it if Luis, or anyone
> else could review it for me.

> [1] https://github.com/vertiginous/rubygems/commits/gem_server_launch
> [2]
> https://github.com/vertiginous/rubygems/commit/28822b581aa5645d7dd624...

Thank you Gordon, your modifications looks good, but I would suggest a small
change.

Instead of considering launch a boolean, allow to take a value.

Saying this because 'start' works on Windows and 'open' works on Darwin and
some Linux, but depending on the user system, the way to open web pages
differ.

If you take a closer look at launchy, will see they cover so many cases:

https://github.com/copiousfreetime/launchy/blob/master/lib/launchy/br...

<https://github.com/copiousfreetime/launchy/blob/master/lib/launchy/br...>I
will not suggest add all that logic to RubyGems, but instead allow an easy
override of launch value, defaulting to 'start' on Windows and 'open' on
*nix.

Then is up to the user specify --launch=firefox if they want to open with it
instead of their default chrome.

Thank you for making the fork Gordon, once you're ready send the pull
request and I'll get it merged.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gordon Thiesfeld  
View profile  
 More options Dec 5 2010, 1:02 pm
From: Gordon Thiesfeld <gthiesf...@gmail.com>
Date: Sun, 5 Dec 2010 12:02:50 -0600
Local: Sun, Dec 5 2010 1:02 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

Good idea, Luis.  I've updated it per your suggestion [1].  If the
user provides a command with --launch=command , the command will be
used to attempt to open the browser.  If no command is given (ie.
--launch), it will default to 'start' on Windows, and 'open'
everywhere else.

This should probably be documented somewhere, but I'm not sure the
best place.  Perhaps in Gem::Commands::ServerCommand#description ?

Gordon

[1] https://github.com/vertiginous/rubygems/commit/585ee90fa289baee2e58c0...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Dec 5 2010, 1:19 pm
From: Luis Lavena <luislav...@gmail.com>
Date: Sun, 5 Dec 2010 15:19:34 -0300
Local: Sun, Dec 5 2010 1:19 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Sun, Dec 5, 2010 at 3:02 PM, Gordon Thiesfeld <gthiesf...@gmail.com>wrote:

> Good idea, Luis.  I've updated it per your suggestion [1].  If the
> user provides a command with --launch=command , the command will be
> used to attempt to open the browser.  If no command is given (ie.
> --launch), it will default to 'start' on Windows, and 'open'
> everywhere else.

> This should probably be documented somewhere, but I'm not sure the
> best place.  Perhaps in Gem::Commands::ServerCommand#description ?

Well, I'm not sure.

I think the modification is enough to be submitted for inclusion. If more
documentation than "gem help server" is needed, then that can be added
later.

Thank you Gordon for working on this.

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gordon Thiesfeld  
View profile  
 More options Dec 5 2010, 1:38 pm
From: Gordon Thiesfeld <gthiesf...@gmail.com>
Date: Sun, 5 Dec 2010 12:38:45 -0600
Local: Sun, Dec 5 2010 1:38 pm
Subject: Re: [RubyInstaller] Re: RubyGems Documentation Server

On Sun, Dec 5, 2010 at 12:19 PM, Luis Lavena <luislav...@gmail.com> wrote:.
> I think the modification is enough to be submitted for inclusion. If more
> documentation than "gem help server" is needed, then that can be added
> later.
> Thank you Gordon for working on this.
> --
> Luis Lavena
> AREA 17
> -
> Perfection in design is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.
> Antoine de Saint-Exupéry

> --

Pull request sent.  I also  created a rubyinstaller branch to add the
--launch switch to the Rubygems Documentation Server icon.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »