[rspec-users] How to setup rspec to be included on the PATH

David Chelimsky 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.

HTH,
David

> I used the following command taken from the RSpec book to install rspec
> 
> sudo gem intall rspec --version 2.0.0
> 
> Thanks. 
> 
> 
> -- 
> Regards,
> Robert
> 
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20101108/2de2a5c6/attachment.html>


More information about the rspec-users mailing list