bash: rspec: command not found
Hi!
Solaris 11.4
if you are interested in ruby and rspec, continue on reading.
After installing rspec (as root), it is not found properly. I wonder why. It works out-of-the-box under Linux.
(linux)
$ gem install rspec
$ which rspec
~/bin/rspec
(solaris, root)
# gem install rspec
# rspec
bash: rspec: command not found
# gem contents rspec
/usr/ruby/2.6/lib/ruby/gems/2.6.0/gems/rspec-3.9.0/LICENSE.md
/usr/ruby/2.6/lib/ruby/gems/2.6.0/gems/rspec-3.9.0/README.md
/usr/ruby/2.6/lib/ruby/gems/2.6.0/gems/rspec-3.9.0/lib/rspec.rb
/usr/ruby/2.6/lib/ruby/gems/2.6.0/gems/rspec-3.9.0/lib/rspec/version.rb
I'm new to rspec, but I only made little progress after this step: