I have using rcov together with rspec2 using the following rake task: desc "Run all specs with rcov" RSpec::Core::RakeTask.new("test_cov") do |t| t.rcov = true t.rcov_opts = %w{--rails --include views --exclude gems\/,spec \/,features\/,seeds\/} end but since the latest beta, this doesn''t work anymore. Does anybody have an idea what is going wrong? The error i get is this: `require'': no such file to load -- spec_helper (LoadError)
> The error i get is this: > > `require'': no such file to load -- spec_helper (LoadError)The only solution I have found for this is to revert from rspec-rails beta.22 to rspec-rails beta.20 -- Posted via http://www.ruby-forum.com/.
I hoped the new rspec2.0.0.rc would fix it, but it doesn''t. I hope anybody can shed any light on this? On Oct 4, 3:24?am, Will Marshall <li... at ruby-forum.com> wrote:> > The error i get is this: > > > `require'': no such file to load -- spec_helper (LoadError) > > The only solution I have found for this is to revert from rspec-rails > beta.22 to rspec-rails beta.20 > -- > Posted viahttp://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
On Tue, Oct 5, 2010 at 6:20 AM, nathanvda <nathanvda at gmail.com> wrote:> On Oct 4, 3:24?am, Will Marshall <li... at ruby-forum.com> wrote: >> > The error i get is this: >> >> > `require'': no such file to load -- spec_helper (LoadError) >> >> The only solution I have found for this is to revert from rspec-rails >> beta.22 to rspec-rails beta.20Please post replies inline or at the bottom (I moved yours from the top).> I hoped the new rspec2.0.0.rc would fix it, but it doesn''t. > > I hope anybody can shed any light on this?I''ll need more information as rcov + rspec-2.0.0.rc is working just fine for me. Please report this to http://github.com/rspec/rspec-core/issues and include OS, ruby version, and the full backtrace you are seeing.
On Tue, Oct 5, 2010 at 7:28 AM, David Chelimsky <dchelimsky at gmail.com> wrote:> On Tue, Oct 5, 2010 at 6:20 AM, nathanvda <nathanvda at gmail.com> wrote: >> On Oct 4, 3:24?am, Will Marshall <li... at ruby-forum.com> wrote: >>> > The error i get is this: >>> >>> > `require'': no such file to load -- spec_helper (LoadError) >>> >>> The only solution I have found for this is to revert from rspec-rails >>> beta.22 to rspec-rails beta.20 > > Please post replies inline or at the bottom (I moved yours from the top). > >> I hoped the new rspec2.0.0.rc would fix it, but it doesn''t. >> >> I hope anybody can shed any light on this? > > I''ll need more information as rcov + rspec-2.0.0.rc is working just > fine for me. Please report this to > http://github.com/rspec/rspec-core/issues and include OS, ruby > version, and the full backtrace you are seeing.Actually somebody just reported this to http://github.com/rspec/rspec-rails/issues and I figured out the problem and fixed it in rspec-rails. I''ve also added http://github.com/rspec/rspec-core/issues/issue/172 to address this now that I understand the problem. Feel free to comment on that issue rather than adding a new one. Cheers, David
On 5 okt, 15:17, David Chelimsky <dchelim... at gmail.com> wrote:> On Tue, Oct 5, 2010 at 7:28 AM, David Chelimsky <dchelim... at gmail.com> wrote: > > On Tue, Oct 5, 2010 at 6:20 AM, nathanvda <nathan... at gmail.com> wrote: > >> On Oct 4, 3:24?am, Will Marshall <li... at ruby-forum.com> wrote: > >>> > The error i get is this: > > >>> > `require'': no such file to load -- spec_helper (LoadError) > > >>> The only solution I have found for this is to revert from rspec-rails > >>> beta.22 to rspec-rails beta.20 > > > Please post replies inline or at the bottom (I moved yours from the top). > > >> I hoped the new rspec2.0.0.rc would fix it, but it doesn''t. > > >> I hope anybody can shed any light on this? > > > I''ll need more information as rcov + rspec-2.0.0.rc is working just > > fine for me. Please report this to > >http://github.com/rspec/rspec-core/issuesand include OS, ruby > > version, and the full backtrace you are seeing. > > Actually somebody just reported this tohttp://github.com/rspec/rspec-rails/issuesand I figured out the > problem and fixed it in rspec-rails. > > I''ve also addedhttp://github.com/rspec/rspec-core/issues/issue/172to > address this now that I understand the problem. Feel free to comment > on that issue rather than adding a new one. > > Cheers, > DavidThanks David, that helped me out!