I’ve been trying the Adding-Custom-Radius-Tags example at Adding Custom Radius Tags · radiant/radiant Wiki · GitHub.
After generating ~/radiant/testCMS/vendor/extensions/custom_tags/spec/
lib/custom_tags_spec.rb as described running ‘rake spec --trace’
results in:
Jeweler (or a dependency) not available. This is only required if you
plan to package custom_tags as a gem.
rake aborted!
no such file to load – spec/rake/spectask
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require’
/home/pipi/radiant/testCMS/vendor/extensions/custom_tags/Rakefile:39
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in load' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in raw_load_rakefile’
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in load_rakefile' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling’
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in load_rakefile' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in run’
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run’
/usr/local/bin/rake:31
wich happens to be the same when I try ‘rake -T’ or plain rake.
Any idea what I’ve been missing?
I’m on debian squeeze running Radiant 0.9.1 with ruby 1.8.7
(2010-06-23 patchlevel 299).
Besides the complaint about missing jeweler it’s still the same, but
thanks for the reply.
Anyone else got an idea?
Where spec/rake/spectask is supposed to go. And what it should
contain? I didn’t find it anywhere at my system.
Besides the complaint about missing jeweler it’s still the same, but
thanks for the reply.
Anyone else got an idea?
Where spec/rake/spectask is supposed to go. And what it should
contain? I didn’t find it anywhere at my system.
seems like something up with rspec. do you have it installed? do you
have an appropriate version installed (e.g. something from the 1.3
series)? is that version being loaded or are you getting a newer (or
older) version in your environment?