DlangScience / DlangScience.github.io

DlangSciences website (for now)
DlangScience.github.io
1 stars 2 forks source link

jekyll dependencies #20

Closed ghost closed 8 years ago

ghost commented 8 years ago

After some tribulations I managed to run bundle install successfully (installed a whopping 60 gems :-( ). Running bundle exec jekyll serve complained about no JavaScript runtime (see below). I solved it by adding gem "therubyracer" to Gemfile and rerunning bundle install, but I have no idea if that is a good or general solution.

Would it not be simpler if we just generated a static site (with ddox and possibly md_to_html.py) and avoided the dependency on jekyll?

[DlangScience.github.io]$ bundle exec jekyll serve
/var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs.rb:4:in `<top (required)>'
    from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `require'
    from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `<top (required)>'
    from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `require'
    from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `<top (required)>'
    from /var/lib/gems/2.2.0/gems/jekyll-coffeescript-1.0.1/lib/jekyll-coffeescript.rb:2:in `require'
       ...
'''