Skip to main content

All Questions

Tagged with
0 votes
1 answer
34 views

Rails project .scss partial file isn't being loaded

I have a component file for a css card called "_teapot_card.scss" located in the usual "components" folder along with other css components (that are working) such as the navbar. It ...
Jason Sturgeon's user avatar
1 vote
0 answers
48 views

CONSULDEMOCRACY: Sass fails (sassc-embeded-import stylesheet not found)

User Story I am trying to deploy a local instance of consuledemocracy and if fails with Sass::CompileError Description My system is an Ubuntu 22.04 and i use the following versions: Rails v6.1.7.7 ...
user24275397's user avatar
0 votes
0 answers
31 views

Identify sass mixin location at rails asset precompilation

I am updating a ruby on rails app. One of the problem I am encountering is that a sass is no longer compiling because of a missing mixin : Sass::SyntaxError: Undefined mixin 'transform'. When I am in ...
Syl's user avatar
  • 3,819
0 votes
0 answers
67 views

Merging Sass compilation scripts in package.json for Rails Admin

I'm encountering an error while integrating Rails Admin into my Rails application. When trying to add the Sass compilation script for Rails Admin in the package.json file as prompted, I'm continuously ...
Ma-Recman's user avatar
0 votes
0 answers
40 views

How to use Sass variables for view-specific stylesheets in Ruby on Rails without error?

In Ruby Rails 7, I am trying to create a sass stylesheet for a specific view. I want the stylesheet to use a variable defined in another stylesheet. However I get an error when I try to reference the ...
auto's user avatar
  • 1,113
0 votes
0 answers
96 views

Unable to serve Jekyll website locally on macOS High Sierra with Ruby 3.2.2: SASS error

I need help please. I’m trying to run bundle exec jekyll serve on a relatively old macOS system (High Sierra, v10.13.6) with Ruby v3.2.2 and the latest Jekyll, but I encounter the following error: /...
mabalenk's user avatar
  • 991
0 votes
1 answer
409 views

You don't have write permissions for the /var/lib/gems/3.0.0 directory

I want to install sass in my Ubuntu Linux, I'm trying to install it using ruby, but then I got this output haphoera@Xubuntu:~$ gem install sass-embedded ERROR: While executing gem ... (Gem::...
HappyRat's user avatar
1 vote
1 answer
347 views

Can we add SCSS file in HTML?

Is there any way that we can use SCSS file in HTML? I just came to know about SCSS and found that we generally use it in Ruby language, So out of curiosity I tried to add SCSS in my frontend project ...
Rudreshwar Baranwal's user avatar
0 votes
1 answer
25 views

Ruby sass and undefined variables in imported files

I have two scss files in a folder scss which will be included into a primary app.scss file. All of these are transpiled to corresponding css files in /css folder: scss/global/swatches.scss: $swatch-...
Musaffar Patel's user avatar
4 votes
1 answer
2k views

remove sassc rails 7

I have a rails 7 application I created with tailwind css. Custom font wasn't working in production, so I added gem rails-sassc and converted the application.css to .scss. Ended up reverting the ...
Mason SB's user avatar
  • 505
0 votes
1 answer
553 views

Installing and running jekyll on Windows 10

I tried Github pages on Friday and found it great so decided to install Jekyll locally (Windows 10) so I could build and test offline. After spending almost a day and trying multiple recipes (from ...
AJR's user avatar
  • 1,601
1 vote
0 answers
218 views

ruby sass cannot compile bootstrap

I'm using ruby 3.1.2p20, gem 3.3.7, sass: ruby sass 3.7.4 and having a problem. I can't compile the bootstrap, my bootstrap version is "bootstrap-sass": "^3.3.5", "react-...
vinhspm's user avatar
  • 93
2 votes
0 answers
137 views

Execute Grunt-Sass in a GitHub Action

I'm trying to publish a Blazor WASM in an Azure Static Web App with a GitHub Action. This application uses a custom Bootstrap stylesheet, generated by grunt-contrib-sass npm module. Grunt Contrib Sass ...
Andres Talavera's user avatar
2 votes
1 answer
2k views

Rails 7 doesn’t generate SCSS file on the `generate scaffold` command

I created a new fresh project in Rails 7, and whenever I use the generating script rails generate scaffold or rails generate controller, all of the generated files are created except the css/scss. ...
taz mazia's user avatar
  • 331
1 vote
0 answers
20 views

Sharing sass files between an npm package and a ruby gem

I have two libraries where I am creating view components. One library is written in sass for styles and typescript for markup. The other is using ruby for the markup (view helpers) and also using sass ...
Zarc Rowden's user avatar

15 30 50 per page
1
2 3 4 5
56