[rspec-users] rspec 1.1.99.12, Rails 2.3.1, undefined method `rspec_options='

José Gomes Jr. zegomesjf at gmail.com
Sat Mar 14 20:54:43 EDT 2009


Thank you for providing the requested information.


On 12 mar, 13:44, David Chelimsky <dchelim... at gmail.com> wrote:
> On Sun, Mar 8, 2009 at 6:19 PM,JoséGomes Jr. <zegome... at gmail.com> wrote:
>
>
>
> > Hi David, all:
>
> > I recently upgraded to Rails 2.3.1RC2 (Ubuntu 8.10, ruby 1.8.7
> > (2008-08-11 patchlevel 72) [i486-linux]) and have been dilligently
> > following the instructions for upgrading rspec and rspec-rails
> > according to:  http://wiki.github.com/dchelimsky/rspec/rails-with-rspec-gems.
> > and when I run 'rake gem' fails with error:
>
> > rake aborted!
> > undefined method `rspec_options=' for #<Hoe:0xb782caf0>
> > /rspec/Rakefile:24
>
> > rspec / Rakefile look like
> > # -*- ruby -*-
>
> > $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
> > require 'hoe'
> > require 'spec/version'
> > require 'spec/rake/spectask'
> > require 'cucumber/rake/task'
>
> > class Hoe
> >  def extra_deps
> >    @extra_deps.reject! { |x| Array(x).first == 'hoe' }
> >    @extra_deps
> >  end
> > end
>
> > Hoe.new('rspec', Spec::VERSION::STRING) do |p|
> >  p.summary = Spec::VERSION::SUMMARY
> >  p.url = 'http://rspec.info/'
> >  p.description = "Behaviour Driven Development for Ruby."
> >  p.rubyforge_name = 'rspec'
> >  p.developer('RSpec Development Team', 'rspec-de... at rubyforge.org')
> >  p.extra_dev_deps = [["cucumber",">= 0.1.13"]]
> >  p.remote_rdoc_dir = "rspec/#{Spec::VERSION::STRING}"
> >  p.rspec_options = ['--options', 'spec/spec.opts']
>
> [sudo] gem update hoe
>
> rspec_options is a relatively new hoe addition.
>
> Cheers,
> David
>
> > end
>
> > Thanks in advance for your assistance,
> >JoséGomes Júnior
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us... at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list