[rspec-users] Basic help
jazzez ravi
lists at ruby-forum.com
Thu Mar 19 23:57:47 EDT 2009
Zach Dennis wrote:
> On Thu, Mar 19, 2009 at 5:28 AM, jazzez ravi <lists at ruby-forum.com>
> wrote:
>> �before(:each) do
>> class Bowling
>>
>> require 'spec' --> �No Error But also no output mentioned as per that
>> website.
>>
>> Please anyone help to continue that program.
>
> Try to put this at the top:
>
> require 'rubygems'
> require 'spec'
>
> I have an environment variable set to always load rubygems on my
> system so I can omit the require of it explicitly in code:
>
> RUBYOPTS=-rubygems
>
>
>
>>
> --
> Zach Dennis
> http://www.continuousthinking.com
> http://www.mutuallyhuman.com
Hi Zach,
I tried this one too. But the same error occurred.
spec bowling_spec.rb --format specdoc is working ..
Thank you
Regards,
P.Raveendran
http://raveendran.wordpress.com
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list