home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] ubuntu, ruby and building the github courseware

  • Subject: Re: [OCLUG-Tech] ubuntu, ruby and building the github courseware
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Sat, 22 Sep 2012 12:20:13 -0400 (EDT)
On Sat, 22 Sep 2012, Robert P. J. Day wrote:

>
>   recently, github opensourced their git and github courseware, which
> i am predictably interested in looking at, so i git-cloned it:
>
>   $ git clone https://github.com/github/teach.github.com.git
>
> but what i get is clearly something that has to be processed with ruby
> (actually "rake") to build the courseware.  so i installed ruby, then
> two required gems -- jekyll and rdiscount -- but running "rake" gives
> me only this before it appears to hang:
>
>
> $ rake
> rm -rf _site
> jekyll --server --auto
> Configuration from
> /home/rpjday/courses/github/teach.github.com/_config.yml
> Auto-regenerating enabled: /home/rpjday/courses/github/teach.github.com ->
> /home/rpjday/courses/github/teach.github.com/_site
> [2012-09-22 12:05:21] regeneration: 96 files changed
> [2012-09-22 12:05:21] INFO  WEBrick 1.3.1
> [2012-09-22 12:05:21] INFO  ruby 1.8.7 (2011-06-30) [x86_64-linux]
> [2012-09-22 12:05:26] WARN  TCPServer Error: Address already in use - bind(2)
> [2012-09-22 12:05:26] INFO  WEBrick::HTTPServer#start: pid=5957 port=4000
> ... hang ...

  ok, based on knowledgeable advice, once i started the "rake"
operation, i can then browse to localhost:4000 to see the courseware.
weirdly, the README file didn't mention that.  thanks, all.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================