TheOdinProject / curriculum

The open curriculum for learning web development
https://www.theodinproject.com/
Other
9.67k stars 13.11k forks source link

Websockets and Actioncable: Add "dartsass-rails" install to ActionCable walkthrough lesson #27917

Closed kjester15 closed 4 months ago

kjester15 commented 4 months ago

Checks

Describe your suggestion

In the following ActionCable walkthrough https://github.com/TheOdinProject/curriculum/blob/main/ruby_on_rails/mailers_advanced_topics/actioncable_lesson.md, we're instructed to install bulma-rails, then update our application.css file extension to application.scss.

Doing so results in the following error: "LoadError (cannot load such file -- sassc):". Upon checking the bulma-rails documentation, it's suggested to run "rails tmp:clear and restarting the server" when getting that error, which did not fix the issue. I noticed steps 2 and 3 of the installation process are as follows:

Run ./bin/bundle add dartsass-rails Run ./bin/rails dartsass:install

These steps are both left out of the above walkthrough. After installing, my app worked as intended.

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-on-rails-websockets-and-actioncable

(Optional) Discord Name

kjester

(Optional) Additional Comments

No response

JoshDevHub commented 4 months ago

Thank you for making this issue! @kjester15

This is definitely a problem. Since you indicated you'd like to work on this, I've assigned you. Let me know if you have any questions.