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.
On Fri, Dec 3, 2010 at 4:14 PM, mindshadow <cdwy...@gmail.com> wrote: > 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 received this message because you are subscribed to the Google Groups > "RubyInstaller" group. > To post to this group, send email to rubyinstaller@googlegroups.com. > To unsubscribe from this group, send email to > rubyinstaller+unsubscribe@googlegroups.com<rubyinstaller%2Bunsubscribe@goog legroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyinstaller?hl=en.
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:
> That's expected behavior, isn't it? You've got to point a browser athttp://localhost:8808to request doc pages I think.
> On Fri, Dec 3, 2010 at 4:14 PM, mindshadow <cdwy...@gmail.com> wrote:
> > 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 received this message because you are subscribed to the Google Groups
> > "RubyInstaller" group.
> > To post to this group, send email to rubyinstaller@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyinstaller+unsubscribe@googlegroups.com<rubyinstaller%2Bunsubscribe@goog legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyinstaller?hl=en.
On Fri, Dec 3, 2010 at 7:36 PM, mindshadow <cdwy...@gmail.com> wrote: > 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: > > That's expected behavior, isn't it? You've got to point a browser > athttp://localhost:8808to request doc pages I think.
> > On Fri, Dec 3, 2010 at 4:14 PM, mindshadow <cdwy...@gmail.com> wrote: > > > 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 received this message because you are subscribed to the Google > Groups > > > "RubyInstaller" group. > > > To post to this group, send email to rubyinstaller@googlegroups.com. > > > To unsubscribe from this group, send email to > > > rubyinstaller+unsubscribe@googlegroups.com<rubyinstaller%2Bunsubscribe@goog legroups.com> > <rubyinstaller%2Bunsubscribe@googlegroups.com<rubyinstaller%252Bunsubscribe @googlegroups.com>
> -- > You received this message because you are subscribed to the Google Groups > "RubyInstaller" group. > To post to this group, send email to rubyinstaller@googlegroups.com. > To unsubscribe from this group, send email to > rubyinstaller+unsubscribe@googlegroups.com<rubyinstaller%2Bunsubscribe@goog legroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyinstaller?hl=en.
On Sat, Dec 4, 2010 at 12:36 AM, mindshadow <cdwy...@gmail.com> wrote: > 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.
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
> On Sat, Dec 4, 2010 at 12:36 AM, mindshadow <cdwy...@gmail.com> wrote: > 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.
> 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 > -
I believe Shopify's Vision app works in a similar fashion. It might be a good place to look.
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:
> On Sat, Dec 4, 2010 at 12:36 AM, mindshadow <cdwy...@gmail.com> wrote:
> > 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 athttp://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.
> 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
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:
-- 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
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/)
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:
> 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:
> --
> 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
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/)
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
> On Sat, Dec 4, 2010 at 7:54 PM, mindshadow <cdwy...@gmail.com> wrote:
> > On thehttp://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/)
> 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
On Sat, Dec 4, 2010 at 4:13 PM, mindshadow <cdwy...@gmail.com> wrote: > 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: > > On Sat, Dec 4, 2010 at 7:54 PM, mindshadow <cdwy...@gmail.com> wrote: > > > On thehttp://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/)
> > 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 received this message because you are subscribed to the Google Groups > "RubyInstaller" group. > To post to this group, send email to rubyinstaller@googlegroups.com. > To unsubscribe from this group, send email to > rubyinstaller+unsubscribe@googlegroups.com<rubyinstaller%2Bunsubscribe@goog legroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyinstaller?hl=en.
> On Sat, Dec 4, 2010 at 4:13 PM, mindshadow <cdwy...@gmail.com> wrote:
>> 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: >> > On Sat, Dec 4, 2010 at 7:54 PM, mindshadow <cdwy...@gmail.com> wrote: >> > > On thehttp://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/)
>> > 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
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.
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.
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:
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
On Sun, Dec 5, 2010 at 10:58 AM, Luis Lavena <luislav...@gmail.com> wrote: > 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.
> 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... > 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
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 ?
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
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.