<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear list,</p>
<p>I would like to use PatternFly in a new Rails (5.2) project. The
README of <a class="moz-txt-link-freetext" href="https://github.com/patternfly/patternfly">https://github.com/patternfly/patternfly</a> reads:</p>
<p><strong>"Patternfly now supports Sass natively!</strong>
Sass is included in the <code>dist/sass</code> directory. Just
add <code>node_modules</code> to your build tool's Sass include
paths then <code>@import 'patternfly/dist/sass/patternfly';</code>
in your Sass to get started!"</p>
<p>So far so good. My "node_modules" path is added to the assets
lookup path. I ran "npm install patternfly --save" and I renamed
app/assets/stylesheets/application.css to …/application.scss and
added:</p>
<p> @import 'patternfly/dist/sass/patternfly';<br>
</p>
<p>But I end up with this error message:</p>
<p> File to import not found or unreadable: bootstrap/variables.</p>
<p>I am not using any fancy magic like Webpack here – just the
built-in sprockets asset management. I just want to load the CSS
and JS the right way. Has anyone managed to do that? Any hint is
very appreciated because I have been at it for hours.<br>
</p>
<p>Kind regards<br>
Christoph</p>
<p><br>
</p>
</body>
</html>