Added rspec hook for ruby