[Locomotive-users] Rmagick bundle not working?

Ryan Raaum ryan.raaum at gmail.com
Fri Jun 23 16:56:27 GMT 2006


Hi Paul,

On 6/23/06, Paul Welty <ponch at paulwelty.com> wrote:
> I'm trying to use/play with Gruff. And it's entirely possible I'm doing
> something totally wrong and stupid. But, heck if I know what it is.
> Anyway...
>
> I installed the gem, and now I see this line in my gem list --local
>
> gruff (0.1.2)
>     Beautiful graphs for one or multiple datasets.
>
> Using a 'test' script, I created a controller, etc. with just these
> commands:
>
>   require 'rubygems'
>   require 'gruff'
>
> The require 'rubygems' along works fine (and doesn't do anything weird).
> When I add the require 'gruff' and reload the page, ruby crashes. In the
> system.log, I get:
>
> Jun 23 12:32:20 pjw crashdump[2699]: ruby crashed
> Jun 23 12:32:20 pjw crashdump[2699]: crash report written to:
> /Users/paul/Library/Logs/CrashReporter/ruby.crash.log
>
> In this log, I find:
>
> Host Name:      pjw
> Date/Time:      2006-06-23 12:32:19.709 -0400
> OS Version:     10.4.6 (Build 8I127)
> Report Version: 4
>
> Command: ruby
> Path:
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/b
> in/ruby
> Parent:  lighttpd [2695]
>
> Version: ??? (???)
>
> PID:    2697
> Thread: Unknown
>
> Link (dyld) error:
>
> Library not loaded: /usr/X11R6/lib/libXext.6.dylib
>   Referenced from:
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/l
> ib/ruby/site_ruby/1.8/powerpc-darwin7.9.0/RMagick.bundle
>   Reason: image not found

For some unknown reason, I failed to include the X11 libraries in the
ppc +rmagick bundle, so you need to have installed X11.  You can
download it from here:

http://www.apple.com/downloads/macosx/apple/x11formacosx.html

Hopefully I will fix this sometime.

Also, hopefully this fixes your current problem :)

Best,

-r

>
>
>
> On 6/23/06 12:11 PM, "Ryan Raaum" <ryan.raaum at gmail.com> wrote:
>
> > On 6/23/06, Paul Welty <ponch at paulwelty.com> wrote:
> >>
> >>  There's a post from about a month ago suggesting that the Rmagick bundle
> >> isn't working, and indeed when I try to use it, I get Ruby crashes in the
> >> console and the app won't start. I just wanted to check in and make sure
> >> that I'm not doing something wrong.
> >
> > Hi Paul,
> >
> > What are your system details?
> >
> > And, most helpful for me, do you have a simple example of something
> > using rmagick that fails that you could send me to help me debug?
> >
> > Best,
> >
> > -r
> >
> >>
> >>
> >> _______________________________________________
> >> Locomotive-users mailing list
> >> Locomotive-users at lists.raaum.org
> >> http://lists.raaum.org/mailman/listinfo/locomotive-users
> >>
> >>
> >>
> >
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>


-- 
Ryan Raaum
http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X


More information about the Locomotive-users mailing list