[Radiant] Gallery behavior

Oliver Barnes ol1barn3s at gmail.com
Fri Jul 21 15:26:39 CDT 2006


(james: you're right, forgot about that... been a while since
participating on a list)

Hi Oliver,

I did install the RMagick bundle for Locomotive, but rake still
doesn't see it, here's the trace:

~/Sites/radiant 22:12:45 $rake test:plugins --trace
(in /Users/souza/Sites/radiant)
** Invoke test:plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
No such file to load -- RMagick
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
/Users/souza/Sites/radiant/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in
`require'
/Users/souza/Sites/radiant/config/../vendor/plugins/gallery_behavior/lib/gallery_behavior.rb:5
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
/Users/souza/Sites/radiant/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in
`require'
/Users/souza/Sites/radiant/config/../vendor/plugins/gallery_behavior/init.rb:1:in
`load_plugin'
(snip)

on my $PATH i have both
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/bin
(where locomotive has rails and rake and all), and
/Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/bin
(where the rmagick stuff is)

but i also have another ruby install, under /usr/bin... if I run
'which rake', I get /usr/bin/rake, not the locomotive version.

so I tried putting Locomotive foremost on my $PATH, so that the
Locomotive version of everything would be searched first. but then
rake barfs because it doesn't see rubygems :P

I'm starting to think this is something for the Locomotive users list huh...

thanks
Oliver

2006/7/21, Oliver Baltzer <oliver at nitro.glycer.in>:
> Hi Oliver,
>
> On 21-Jul-2006 17:43 +0200, Oliver Barnes was heard to say:
> > by searching the list archives I found the gallery behavior, which
> > looks great, and tried dropping it on the plugins directory. but i
> > couldn't run rake (it doesn't find RMagick though I have it installed
> > in locomotive and have its path added to my environment, but I'm
> > guessing this is locomotive's fault),
>
> I have never used locomotive, but checking their website you seem to
> require the +RMagick bundle (http://tinyurl.com/jj5vb). Do you have this
> installed? If you have it installed try to run the plugin unit tests with:
>
> rake test:plugins
>
> If they fail, you may want to post the output of those tests.
>
> > and I'm getting a 500 internal
> > server error when accessing any part of the site, be it admin or
> > frontend. lighttpd.error.log says
> > 2006-07-20 21:26:00: (mod_fastcgi.c.2430) unexpected end-of-file
> > (perhaps the fastcgi process died): pid: 2665 socket:
> > unix:/tmp/ruby-fastcgi.8cqfQ.socket-1
> > 2006-07-20 21:26:00: (mod_fastcgi.c.3168) child exited, pid: 2665 status: 1
> > 2006-07-20 21:26:00: (mod_fastcgi.c.3215) response not received,
> > request sent: 742 on socket: unix:/tmp/ruby-fastcgi.8cqfQ.socket-1 for
> > /dispatch.fcgi , closing connection
>
> You are getting this error for every request maybe because Rails fails to
> start due to the broken plugin, so the fastcgi manager can actually not
> connect to Rails.
>
> Cheers,
> Oliver
>
> --
> Oliver Baltzer
> .web   > http://nobits.org/oliver/
> .pgp   > 0x32B54706
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEwRl4iww7LTK1RwYRAkO+AKCxUp2eVJEDRv0OcWGiBgEVGaVhAACdFpqD
> pU2YgpVEI6gVbojf9CiVaDQ=
> =dOjb
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
>



More information about the Radiant mailing list