[rspec-users] How to setup rspec to be included on the PATH
dchelimsky at gmail.com
Mon Nov 8 20:23:54 EST 2010
On Nov 8, 2010, at 6:12 PM, Robert Stagner wrote:
> I've recently installed a copy of rspec (2.0.0) on my Linux distribution (Ubuntu 9.10). All went well. However, when I attempt to access cucumber from the shell, like so
You mean "attempt to access rspec," right?
> $ rspec --help
> I receive the following:
> No command 'rspec' found
> I know there is a simple solution to this, likely dealing with the PATH environment variable. Any help in pointing me to a solution where I can get rspec setup on my PATH would be most appreciated.
Please run "gem env" and look at the section of the output that starts with "GEM PATHS" and make sure that all of the paths listed there (there may only be one) are included in your PATH.
> I used the following command taken from the RSpec book to install rspec
> sudo gem intall rspec --version 2.0.0
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users