Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Oct 08, 2019; 10:09am.
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. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Please use bundle install instead of the gem command. > 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. ... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you very much for your quick reply and your hard work on Asciidoctor!
Using Bundler solved the problem. Perhaps point 72.1.1. ("Install the Gems") of the manual could be updated to make it clearer that using Bundler is the only option to set up the libraries needed to compile the Stylesheet Factory. Right now it sounds like the two options (Bundler and Gems) are equivalent. I would suggest the following changes (in bold): In order to build the stylesheets, you must download the Asciidoctor stylesheet factory repository and install the Compass and Foundation gems. 1) Download or clone the Asciidoctor stylesheet factory repository. It does not matter where you save the project on your system. 2) Make sure you have Ruby and RubyGems and Bundler installed 3) Navigate to the Asciidoctor stylesheet factory directory on your system. 4) Run Bundler to install the Compass and Foundation gems. $ bundle install Then leave out the info box about the install process via gems. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Glad to hear it worked! The stylesheet factory documentation is slated to be removed from the user manual. That's because it's no longer a supported project and only continues to exist to build the default stylesheet. We will be creating a new project for creating stylesheets in the future that is based on a simpler stack. For an alternative, see https://github.com/darshandsoni/asciidoctor-skins Best, -Dan On Tue, Oct 8, 2019 at 4:08 AM TheMagician [via Asciidoctor :: Discussion] <[hidden email]> wrote: Thank you very much for your quick reply and your hard work on Asciidoctor! ... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Free forum by Nabble | Edit this page |