Reputation: 41
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
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:
/usr/lib/ruby/vendor_ruby/jekyll/converters/sass.rb
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
Reputation: 52829
You can try to gem update
or bundle update
. This seems to be an old bug.
Upvotes: 2