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 aren't both writable. WARNING: You don't have /home/wolf/.gem/ruby/1.8/bin in your PATH, gem executables will not run. ************************************************** Thank you for installing rspec-core-2.0.0 Please be sure to look at Upgrade.markdown to see what might have changed since the last release. ************************************************** Successfully installed diff-lcs-1.1.2 Successfully installed rspec-core-2.0.0 Successfully installed rspec-expectations-2.0.0 Successfully installed rspec-mocks-2.0.0 Successfully installed rspec-2.0.0 5 gems installed Installing ri documentation for diff-lcs-1.1.2... Installing ri documentation for rspec-core-2.0.0... Installing ri documentation for rspec-expectations-2.0.0... Installing ri documentation for rspec-mocks-2.0.0... Installing ri documentation for rspec-2.0.0... Installing RDoc documentation for diff-lcs-1.1.2... Installing RDoc documentation for rspec-core-2.0.0... Installing RDoc documentation for rspec-expectations-2.0.0... Installing RDoc documentation for rspec-mocks-2.0.0... Installing RDoc documentation for rspec-2.0.0... ~$ rspec --help No command 'rspec' found, did you mean: Command 'spec' from package 'librspec-ruby1.8' (universe) Command 'tspec' from package 'tendra' (universe) rspec: command not found ~$ printenv PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ~$ export PATH=$PATH:/home/wolf/.gem/ruby/1.8/bin ~$ rspec --help Usage: rspec [options] [files or directories] -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users