Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Problem in building site from repository (ubuntu) #848

Closed
vahtras opened this issue Nov 10, 2014 · 2 comments
Closed

Problem in building site from repository (ubuntu) #848

vahtras opened this issue Nov 10, 2014 · 2 comments

Comments

@vahtras
Copy link
Contributor

vahtras commented Nov 10, 2014

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: [email protected]
+contact: [email protected]
 #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

@vahtras
Copy link
Contributor Author

vahtras commented Nov 11, 2014

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

@vahtras vahtras closed this as completed Nov 11, 2014
@gvwilson
Copy link
Contributor

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 | [email protected]
Software Carpentry | http://software-carpentry.org

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants