Glam Prestige Journal

Bright entertainment trends with youth appeal.

I can't use my command line (terminal).

sudo gem install compass

but I only get "command not found". I'm admin om my Mac and my password is not blank.

I've also tried this:

defaults write com.apple.Finder AppleShowAllFiles YES

same result.

4

1 Answer

You've probably overwritten your PATH. Check this file* for statements with export PATH:

/Users/your-username/.bash_profile

If Sencha has made any changes to that file, note that this is the correct syntax to be used to add a folder to your PATH:

export PATH=/some/other/path:$PATH

If you forgot the :$PATH, you'll overwrite it every time you start the Terminal. Therefore, OS X won't be able to find your commands. So, the fix would be to remove offending export lines completely, or fix them to use the right syntax.

export PATH=/Users/Oskar/Sencha:$PATH

* The file is hidden by default. If you are unable to see it from Finder, and your PATH is still broken, run the following command: /usr/bin/open ~/.bash_profile to open it in a text editor.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy