Came across this error when trying out the ruby on rails tutorial section with rspec on a windows platform using jruby 1.6:
c:\\rails_projects\\sample_app>
Run the following command
c:\rails_projects\sample_app>rails generate rspec:install
This will put the spec_helper.rb file in your /spec directory
spec_helper.rb
/spec