开发者

sass command not working

开发者 https://www.devze.com 2023-02-25 15:59 出处:网络
I have something stupid: I installe开发者_Go百科d haml with bundle and did a \"bundle install\". The gem is installed, it is in the local gem list. When I then do \"sass --watch style.scss:style.css\"

I have something stupid: I installe开发者_Go百科d haml with bundle and did a "bundle install". The gem is installed, it is in the local gem list. When I then do "sass --watch style.scss:style.css" then I get: "'sass' is not recognized as an internal or external command". What am I doing wrong here? Thanks for your reply!


To execute commands from the gems in the bundle, you can use bundle exec. In your case e.g. bundle exec sass --watch style.scss:style.css.


I installed sass with:

$ sudo gem install sass

Then you can just run:

$ sass --watch ftw.scss:ftw.css
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号