Forum: Radiant CMS trouble running rake for custom extension

30d90a3b77f6663b97a121e0dceeafbf?d=identicon&s=25 Tobi (Guest)
on 2010-10-30 20:40
(Received via mailing list)
Hi all,

I've been trying the Adding-Custom-Radius-Tags example at
http://github.com/radiant/radiant/wiki/Adding-Cust....
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).

Greets, Tobi
B31d716442065527b3058af76fb81206?d=identicon&s=25 Lenteo com (Guest)
on 2010-11-02 21:02
(Received via mailing list)
Hi all,

I have the same issue. Can someone give an advise?

Thank you,
ion
1f532d12a82c61fcd69090f0488dfaba?d=identicon&s=25 Guilherme Costa (guilherme_c)
on 2010-11-07 13:15
I had the same problem here, it worked after with "gem install jeweler"
(I'm running on RVM, so I don't use 'sudo').

Regards,
Guilherme
30d90a3b77f6663b97a121e0dceeafbf?d=identicon&s=25 Tobi (Guest)
on 2010-11-07 19:34
(Received via mailing list)
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.

Regards, Tobi
Efc9d9d149b91368c764d4eaee4c58ca?d=identicon&s=25 John Muhl (johnmuhl)
on 2010-11-07 19:58
(Received via mailing list)
On Sun, Nov 7, 2010 at 10:06 AM, Tobi
<tobold.hornblaeser@kaffeeschluerfer.com> wrote:
> 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?
1f532d12a82c61fcd69090f0488dfaba?d=identicon&s=25 Guilherme Costa (guilherme_c)
on 2010-11-08 11:20
Tobi,

Check the rspec version you are running. I have rspec2, and the issue
remains! Apparently spec/rake/spectask is from 1.3!

Regards,
Guilherme
1f532d12a82c61fcd69090f0488dfaba?d=identicon&s=25 Guilherme Costa (guilherme_c)
on 2010-11-09 01:26
Tobi,

This line did the trick here:

gem install rspec -v=1.3

It will install the version 1.3 of RSpec, the one needed by the
"spec/rake/spectask"!


Regards,
Guilherme Costa
1a8792d5f52552dff9cd287a32a5d9a7?d=identicon&s=25 ReK2GnuLinux (Guest)
on 2010-11-09 01:45
(Received via mailing list)
is there any extension to have articles/post with voting? like digg or
similar?

Thanks
09477c358c5897d44121a248326e16d7?d=identicon&s=25 Jim Gay (Guest)
on 2010-11-10 14:03
(Received via mailing list)
30d90a3b77f6663b97a121e0dceeafbf?d=identicon&s=25 Tobi (Guest)
on 2010-11-12 07:04
(Received via mailing list)
Wiping rspec2 did the trick. Thanks or your help.
Seems like I should get rvm running. These compatibility issues begin
to cause early hair loss ;-)

Greets, Tobi
This topic is locked and can not be replied to.