Terminal: command not found
Hi,
I was trying to install Sass on my computer, I started to go through this tutorial:
http://sass-lang.com/install
But it gave me an error: "ERROR:
Error installing sass: ERROR: Failed to build gem native extension."
So I did some googleing and it turned out that I need Ruby to install Sass, which should be preinstalled on Mac, so to check if it is, I tried to use this tutorial:
https://code.tutsplus.com/tutorials/how-to-install-ruby-on-a-mac--net-21664
It turned out that my version of Ruby is: "ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]"
So I thought why not update it, I typed: "
$ \curl -L https://get.rvm.io |bash-s stable --rails --autolibs=enabled" but I got a "-bash: $: command not found" error.As the tutorial suggested, I should have GIT installed, so I went here to install GIT:https://git-scm.com/book/en/v2/Getting-Started-Installing-GitAs you might have guessed now, I got an error again:
"-bash: $: command not found"
And that's how I ended up here.
I tried this:
https://stackoverflow.com/questions/29688932/mac-terminal-bash-command-not-found #29689064
The 2nd answer from this:
terminal - "-bash: ls: command not found" - Ask Different
I don't really know what the code means, I just copy-pasting them, but nothing seemed to help so far, I got the same "command not found" error for anything I try to type in the terminal.
Anyone could help me walk through what to do? I just want Sass installed, it's quite frustrating to go through all of this.
Many thanks!
MacBook Air (13-inch, Early 2014), macOS High Sierra (10.13.1), null