Ruby on Rails cannot generate StaticPages controllers.

Asked 2 years ago, Updated 2 years ago, 102 views

3 Answers

Perhaps you need to specify a version for sass-rails.
Why don't you add gem'sass-rails', '5.0.3' to your Gemfile?
https://stackoverflow.com/questions/29716284/uninitialized-constant-sassscript-nameerror


2022-09-30 20:20

RVM, but the directory configuration is rbenv, so
Why don't you uninstall one of them?


2022-09-30 20:20

When you do rails tutorial, be sure to match the versions!
I used to do it with the latest version, but due to an error,
It stumbles where it's not the essence...
It might be better to switch the Ruby version and then do a new one.
How to specify the version and rails new

First of all, why don't you try bundle update pass-rails?


2022-09-30 20:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.