Oracle Solaris System Administration (MOSC)

MOSC Banner

bash: rspec: command not found

edited February 2020 in Oracle Solaris System Administration (MOSC) 10 commentsAnswered ✓

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:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center