Problem in building site from repository (ubuntu)
vahtras opened this issue · 2 comments
Hi
I have ubuntu 14.04 LTS and I encounter the following problem with make site
:
$ make site
jekyll build -t -d _site
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/lib/ruby/1.9.1/time.rb:265:in `_parse': can't convert nil into String (TypeError)
from /usr/lib/ruby/1.9.1/time.rb:265:in `parse'
from /usr/bin/jekyll:95:in `block (2 levels) in <main>'
from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `call'
from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `block in parse_in_order'
from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
from /usr/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
from /usr/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
from /usr/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
from /usr/bin/jekyll:137:in `<main>'
make: *** [_site/index.html] Error 1
So far I have only installed standard packages, jekyll and python-yaml. I have also changed the source only so that make check
passes.
$ git diff
diff --git a/index.html b/index.html
index b3a45da..1c873a6 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,7 @@ latlng: 41.7901128,-87.6007318
registration: restricted
instructor: ["Grace Hopper", "Alan Turing"]
helper: ["John von Neumann"]
-contact: admin@software-carpentry.org
+contact: nobody@example.com
#redirect: http://www.3rd.party.workshop.home.page.com
#eventbrite: 00000000000
lessons: ['R', 'Python', 'SQL', 'Git', 'Bash', 'VM']
@@ -22,18 +22,6 @@ lessons: ['R', 'Python', 'SQL', 'Git', 'Bash', 'VM']
Please use three-letter month names for the 'humandate' field.
-->
-<!-- Remove the block below. -->
-<div align="center">
- <p><strong><em>
- This page is a template for workshop home pages.
- <br/>
- Please see
- <a href="//github.com/swcarpentry/bc">github.com/swcarpentry/bc</a>
- for instructions on how to create
- a repository for your workshop.
- </em></strong></p>
-</div>
-
<!--
and
$ make check
Testing file "./index.html".
Everything seems to be in order.
I have no clue really what is going on, so I am helpful for any advice.
Regards,
Olav
Problem was that the jekyll of the ubuntu package is too old and it was all solved following instructions in
http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/ (thanks to Olivier Lafleur for pointing this out)
/Olav
Thanks Olav - can you please send a PR against README.md (there's a FAQ
at the bottom) explaining the symptoms and the fix? We'd be happy to
take that as your contribution for instructor training...
Cheers,
Greg
On 2014-11-11 1:51 AM, Olav Vahtras wrote:
Problem was that the jekyll of the ubuntu package is too old and it
was all solved following instructions in
http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/ (thanks
to Olivier Lafleur for pointing this out)/Olav
—
Reply to this email directly or view it on GitHub
#848 (comment).
Dr. Greg Wilson | gvwilson@software-carpentry.org
Software Carpentry | http://software-carpentry.org