[LRUG] RVM help

Adrian Stainforth adrian.stainforth at gmail.com
Tue Dec 14 11:01:31 PST 2010


Thanks Guys for the pointers...

The Mark Needham post was really useful.  I moved my mac onto the 64bit
kernel and ran though it, although it didn't work first time.  I figured out
that I had to update libxlst as well as libxml and then it all started to
work. So now finally playing around with rails3! Thanks again!

Cheers
Adrian

Date: Tue, 14 Dec 2010 16:27:05 +0100
From: Vahagn <vahagnh at gmail.com>
To: London Ruby Users Group <chat at lists.lrug.org>
Subject: Re: [LRUG] RVM help
Message-ID:
       <AANLkTinvwxkzT5Kw_rvS=9UEpvYpvAtzdppfhHmENbzg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Adrian,-

no personal experience with this issue here but maybe this will help?

http://www.markhneedham.com/blog/2010/07/08/installing-ruby-1-9-2-with-rvm-on-snow-leopard/

Cheers, Vahagn

Date: Tue, 14 Dec 2010 16:51:07 +0000
From: Ben Lovell <benjamin.lovell at gmail.com>
To: London Ruby Users Group <chat at lists.lrug.org>
Subject: Re: [LRUG] RVM help
Message-ID:
       <AANLkTimAMcUWDWCgWMjSmG8w_pZ80VL-+vfN4mCJbwdm at mail.gmail.com<AANLkTimAMcUWDWCgWMjSmG8w_pZ80VL-%2BvfN4mCJbwdm at mail.gmail.com>
>
Content-Type: text/plain; charset="iso-8859-1"

On 14 December 2010 14:24, Adrian Stainforth <adrian.stainforth at gmail.com
>wrote:

> Hi Everyone,
>
> I am having a massive issue with my RVM on my mac.  Everytime I try and
> upgrade to a new version of ruby it fails on the make.  It seems to be
> something to do with the libxslt.1.dylib as far as I can tell, seems to be
> getting confused between 32bit and 64bit.  I've tried reinstalling them
but
> no joy, does anyone have any advice?
>
> The error I'm getting is:
>
> gcc -dynamic -bundle -o ../../.ext/x86_64-darwin10.5.0/tcltklib.bundle
> stubs.o tcltklib.o -L. -L../.. -L/System/Library/Frameworks/Tcl.framework
> -L/System/Library/Frameworks/Tk.framework -L/usr/local/lib -L/usr/lib -L.
> -L/usr/local/lib   -lpthread -framework CoreFoundation
>  -F/System/Library/Frameworks -framework Tcl    -lpthread -framework
> CoreFoundation -framework Cocoa -framework Carbon -framework IOKit
> -lpthread -framework CoreFoundation  -F/System/Library/Frameworks
-framework
> Tk -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
> -Wl,-flat_namespace  -lruby.1.9.1 -lm -ldl  -lpthread -ldl -lobjc
> ld: in /usr/local/lib/libxslt.1.dylib, file was built for i386 which is
not
> the architecture being linked (x86_64)
> collect2: ld returned 1 exit status
> make[1]: *** [../../.ext/x86_64-darwin10.5.0/tcltklib.bundle] Error 1
> make: *** [mkmain.sh] Error 1
>
> I'd be very grateful for any help!
>
> --
> Kind Regards
> Adrian Stainforth
>
>
Try specifying the arch_flags in the rvmrc dotfile?

rvm_archflags="-arch x86_64"

Cheers,
Ben

Date: Tue, 14 Dec 2010 15:30:14 -0200
From: Hakan ?enol Ensari <hakan.ensari at papercavalier.com>
To: London Ruby Users Group <chat at lists.lrug.org>
Subject: Re: [LRUG] RVM help
Message-ID:
       <AANLkTimv+UDtr8WBwk-PZM8+vjEiNazX0j3TG6DmG_xd at mail.gmail.com<AANLkTimv%2BUDtr8WBwk-PZM8%2BvjEiNazX0j3TG6DmG_xd at mail.gmail.com>
>
Content-Type: text/plain; charset="utf-8"

IMHO, the reboot-your-computer-if-you-can't-do-x advice for rvm is to `rvm
implode` and install things from scratch if you find yourself scratching the
head and can't figure out what's what within five minutes of googling.

Hakan

http://hakanensari.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20101214/4f9cc9b2/attachment.html>


More information about the Chat mailing list