ruhoh / ruhoh.rb

http://ruhoh.com
616 stars 69 forks source link

errors running 'ruhoh help' #278

Closed dph01 closed 10 years ago

dph01 commented 10 years ago

Hi,

I haven't used ruhoh for quite a while and I see that a lot has changed! So, I've gone back to the beginning and I working my way through the helps pages, tutorial style.

Following the installation instructions on http://ruhoh.com/docs/2/installation/, I called

gem install ruhoh

which installed fine, but when I ran

ruhoh help

I got the error:

WARN: Unresolved specs during Gem::Specification.reset:
      nokogiri (~> 1.5)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
fatal: Not a git repository (or any of the parent directories): .git
Could not find gem 'rspec (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.

Are the warnings anything to worry about? Why is it complaining about the directory not being a git repository? I'm not familiar with Ruby, but is there something missing from the install instructions?

When I run

bundle exec ruhoh help

it works fine.

Not sure if it's significant, but when I installed the ruhoh gem in had to use sudo:

sudo gem install ruhoh

Thanks

Damian.