Subject:
Re: [ruby-ffi] Re: Install ffi on Mac OS one a volume name with a space
From:
Wayne Meissner
Date:
7/5/12 11:09 PM
To:
ruby-ffi@googlegroups.com


Yes, I think libffi is the only bit now that doesn't work with spaces.

There are a couple of alternatives:
1) Install libffi via macports or brew - ruby-ffi should detect these when installing
2) I don't think there is anything in ruby-ffi that requires the latest libffi anymore ... its possible that it would work just fine with the ancient libffi that macosx ships with.



On Thursday, July 5, 2012 5:54:36 AM UTC+10, Zac Parker wrote:
This may be the way to go. I think first I might submit a pull request to libffi, as this shouldn't be particularly difficult to handle. If the path has a space, wrap the path in quotes.

Thanks, when I get time to make a bootable partition I will give this solution a try. Though I am hesitant after previous disasters that set me back weeks.

On Wednesday, July 4, 2012 10:32:13 AM UTC-7, Luis Lavena wrote:
On Wed, Jul 4, 2012 at 2:16 PM, Zac Parker wrote:
> Unfortunately that is not an option. Since I have two HD's (Macintosh HD and
> Macintosh SSD), my full pwd is "/Volumes/Macintosh HD/etcetera/etcetera" and
> if I rename the folder Macintosh HD (I have tried this) the OS instantly
> shuts down (doesn't know where it's files are!) and EVERYTHING is lost. So
> while the error message may be clear, the solution is not.
>

Boot with OSX install disk, access disk utility, rename partition,
that worked for me.

I used to have disk with spaces, now only use _ or no spaces at all :)

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry