Login  Register

Re: Compile Error Using the Stylesheet Factory

Posted by mojavelinux on Oct 08, 2019; 8:53am
URL: https://discuss.asciidoctor.org/Compile-Error-Using-the-Stylesheet-Factory-SOLVED-tp7185p7188.html

Please use bundle install instead of the gem command.

See https://github.com/asciidoctor/asciidoctor-stylesheet-factory#setup-and-compilation

> By the way, during the installation of Compass I got the following warning message:

I'm aware of that. This project will continue to use Ruby Sass since it serves its purpose (to produce the default stylesheet) and I don't have time right now to deal with upgrading it.

Best,

-Dan

On Mon, Oct 7, 2019 at 4:15 PM TheMagician [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I want to compile the .css files that come bundled with the Stylesheet Factory. However, I run into a compilation error.

I've followed the steps to install the Stylesheet Factory (see manual, chapter 72).

I used:

gem install compass --version 0.12.2
gem install zurb-foundation --version 4.3.2

By the way, during the installation of Compass I got the following warning message:

"Ruby Sass has reached end-of-life and should no longer be used."

However, installation completed without errors.

When I now navigate to the root directory of the Stylesheet Factory and type:

compass compile

I get the following error message:

D:/Programs/Ruby/lib/ruby/gems/2.6.0/gems/compass-0.12.2/lib/compass/sass_extensions/functions/urls.rb:5:in `has?': undefined method `has?' for Sass::Util:Module (NoMethodError)
Did you mean?  hash

Any ideas what could cause this error?

Kind regards.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Compile-Error-Using-the-Stylesheet-Factory-tp7185.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux