When trying to execute sass --watch scss:css
inside of a target folder I get returned the message command not found
I know I had sass installed. gem list
doesn't show that it's installed anymore.
I run sudo gem install sass
and get the following message:
WARNING: You don't have /root/.gem/ruby/2.3.0/bin in your PATH
gem executables will not run.
I go to my .bashrc
file. I have PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
I also put it in /etc/bash.bashrc
just in case. Nothing Changes.
I go to /etc/profile and insert:
#Setting the GEM_PATH and GEM_HOME variables may not be necessary, check 'gem env' output to verify whether both variables already exist
GEM_HOME=$(ls -t -U | ruby -e 'puts Gem.user_dir')
GEM_PATH=$GEM_HOME
export PATH=$PATH:$GEM_HOME/bin
I reload profile with . /etc/profile
I try reinstalling sass with sudo gem install sass
Still the same error message. gem list
still doesn't show sass
What now??