Hello!

I'm in despair! I try to install extensions to Radiant, but in
different ways have different problems.

First of all, I change GEM_HOME and PATH to right values, like when
install Radiant. (If i don't do it, there are another errors.)

Easiest way:

Code:

[z...@web108 radiant]$ ./script/extension install tags
/usr/local/ruby1.8.7ee/lib/ruby/1.8/fileutils.rb:121:in `chdir': No
such file or directory - /tmp/tags (Errno::ENOENT)
        from /usr/local/ruby1.8.7ee/lib/ruby/1.8/fileutils.rb:121:in
`cd'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:57:in `__send__'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:57:in `cd'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:167:in `checkout'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:115:in `install'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:11:in `install'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:310:in `initialize'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:261:in `new'
        from /home/zela/webapps/sfp_radiant/gems/gems/radiant-0.9.0/
lib/radiant/extension/script.rb:261:in `execute'
        from ./script/extension:5

It always respond with such error: "No such file or directory - /tmp/
extension_name (Errno::ENOENT)"

Second way:

Code:

[z...@web108 radiant]$ rake ray:extension:install name=reorder
(in /home/zela/webapps/sfp_radiant/radiant)
tar xzvf reorder.tar.gz

#Here it enumerates extracted files

rm reorder.tar.gz
rake aborted!
undefined local variable or method `directory_name' for #<Object:
0x8420948>

It always respond with such error: "undefined local variable or method
`directory_name' for #<Object:0x8420948>"

There is opinion that it appears to be a problem with Radiant's
Rakefile(s). (http://forum.webfaction.com/viewtopic.php?pid=17282)
The second way is a programming error with Radiant's rake task.
/home/zela/webapps/sfp_radiant/radiant/vendor/extensions/ray/lib/tasks/
ray_extension_tasks.rake

Have you any ideas about problem? How to solve it?

Reply via email to