Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Loaderror: cannot load such file -- sassc when generating the project from the template #404

Closed
sanG-github opened this issue May 11, 2023 · 0 comments · Fixed by #406
Assignees

Comments

@sanG-github
Copy link
Contributor

sanG-github commented May 11, 2023

Issue

We're facing an error when trying to generate a project from the template (without addons). It seems to require sassc before running the task related to Rails 7

  • rails importmap:install
  • rails turbo:install stimulus:install

image

It looks a bit odd as from Rails 7, we use the cssbundling-rails to bundle and process CSS instead of using a third party, but it works well when I try to install sassc-rails before moving on.

Expected

Remove this error and try to install it with/without add-ons.

Steps to reproduce

  1. Make sure you're using Ruby version 3.0.1
  2. Run rails new test-dev-remote -m https://raw.githubusercontent.com/nimblehq/rails-templates/main/template.rb to generate the project from the latest develop branch.
  3. Enter many times (without addons)
  4. Boom 💥
@sanG-github sanG-github self-assigned this May 11, 2023
@sanG-github sanG-github changed the title Fix: Loaderror: cannot load such file -- sassc when generating the project from the template Fix: Loaderror: cannot load such file -- sassc when generating the project from the template May 11, 2023
sanG-github added a commit that referenced this issue May 19, 2023
malparty added a commit that referenced this issue May 26, 2023
[#404] Fix: Loaderror: cannot load such file -- sassc when generating the project from the template
@malparty malparty mentioned this issue Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant