[rspec-users] CRITICAL: Rspec gem install > spec command not found!

Ashley Moran ashley.moran at patchspace.co.uk
Tue Feb 2 08:46:41 EST 2010

On Feb 02, 2010, at 8:58 am, Kristian Mandrup wrote:

> Using brew as package manager
> kristian-mandrups-macbook-pro:rspec-coding kristianconsult$ spec --
> help
> -bash: spec: command not found
> $

If you're using Homebrew[1] (?) you'll need to figure out where it's storing binaries.

Run "find / -name spec" to locate the command.  Then run "echo $PATH" and check that the directory containing "spec" is in the list.  If not you'll need to add it in your .bashrc or something (I don't use bash).



[1] http://github.com/mxcl/homebrew


More information about the rspec-users mailing list