user3572494
user3572494

Reputation: 41

jekyll commands output some failure

I have something wrong with my jekyll installation. After typing however jekyll command in terminal, it outputs following:

/usr/lib/ruby/vendor_ruby/jekyll/converters/sass.rb:6:in

<module:Converters>': uninitialized constant Jekyll::Converters::Scss (NameError) from /usr/lib/ruby/vendor_ruby/jekyll/converters/sass.rb:5:in ...'

Anyone knows what's wrong? I have no idea. Thanks

Upvotes: 2

Views: 257

Answers (2)

skagedal
skagedal

Reputation: 2411

I had this problem with jekyll on Ubuntu 14.10. It's been fixed in Debian, and reported as a bug in Ubuntu. You can manually apply the same fix, it's just one line (see patch) that needs to be added to a file:

  1. Open /usr/lib/ruby/vendor_ruby/jekyll/converters/sass.rb
  2. Add require 'jekyll/converters/scss' at the top, just after require 'jekyll/utils'

Also make sure that the package ruby-mercenary is installed (sudo apt-get ruby-mercenary), because of another bug.

Then Jekyll will work. Alternatively, use Rubygems: gem install jekyll.

Upvotes: 2

David Jacquel
David Jacquel

Reputation: 52829

You can try to gem update or bundle update. This seems to be an old bug.

Upvotes: 2

Related Questions