Thanks Luis. I uninstaled rubygems1.8 and reinstalled rubygems1.8 and
rspec. This time it worked.
I installed rubygems1.8 from the Ubuntu Software Center. Then from the
terminal:
gem install rspec -v 2.0.0
WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and
/var/lib/gems/1.8/bin are
On Thu, Jan 20, 2011 at 6:51 PM, wolf volpi wrote:
> I installed rspec on Linux Ubuntu 10.04, but no command 'rspec' is
> found. Perhaps the PATH is wrong. What is the correct search path?
> The following was copied from my terminal. Thank you for taking a look:
>
> ~$ sudo gem install rspec --
Thanks Richard. Adding the home .gem/ruby/1.8 path did not help. I
have rspec version 2 installed. How do I make sure version 1 is not
installed?
Here is a copy&paste from my terminal:
~$ printenv PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wolf/.gem/ru
Make sure that version 1 of rspec is NOT installed!
Here is my path:
/home/rich/.gem/ruby/1.8:/var/lib/gems/1.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
On 01/20/2011 03:51 PM, wolf volpi wrote:
I installed rspec on Linux Ubuntu 10.04, but no command 'rspec' is
found. Perh
I installed rspec on Linux Ubuntu 10.04, but no command 'rspec' is
found. Perhaps the PATH is wrong. What is the correct search path?
The following was copied from my terminal. Thank you for taking a look:
~$ sudo gem install rspec --version 2.0.0
~$ gem list --local
*** LOCAL GEMS ***
rspec