Adding-Custom-Radius-Tags


#1

I’m trying to write my own extension. I’ve followed this article
https://github.com/radiant/radiant/wiki/Adding-Custom-Radius-Tags.
I’ve written first spec files custom_tags_spec.rb. Now whenever I
call rake spec I get this error

(in F:/Work/Rails/Radiant/Blogg/vendor/extensions/custom_tags)
rake aborted!
no such file to load – spec/rake/spectask
F:/Work/Ruby187/p302/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2383:in `raw_load_rakefile’
(See full trace by running task with --trace)

What I’m doing wrong? plz help. Rspec gem is installed.


#2

On Dec 16, 2010, at 3:17 AM, rcz wrote:

no such file to load – spec/rake/spectask

What version of RSpec do you have installed? “spec/rakespectask” is the
include for RSpec 1. If you’re on RSpec 2, try “rspec/core/rake_task”.