Skip to main content

Installing Ruby 1.8.7 on Mountain Lion with rbenv

Trying to build ruby-1.8.7 with rbenv on Mountain Lion and getting something similar to:

tcltklib.c:9862: error: expected ‘;’ before ‘event’
 You need to install XQuartz first and then use the following CPPFLAGS evn-var. (Also won't hurt to throw proper readline support in there while we are at it (brew install readline first):
CPPFLAGS=-I/opt/X11/include/ RUBY_CONFIGURE_OPTS=--with-readline-dir=`brew --prefix readline` rbenv install 1.8.7-p374

Hope that helps you. If anything is a future reference point to myself :P

Comments

Popular posts from this blog

It is time for a new post.

What's happened? Well, I still don't have my new PC. But, I have ordered the new components, though. It will be a P4 530, with a GigaByte 8I915P-Duo Pro-A motherboard. I haven't made my final decision about what graphic card it will be. I'm tending to a GeForce6600 GT. Probably the GV-NX66T128D, also form GigaByte. What have I been doing the past month? Well I used a great part of my time studying hardware guides and forums, to make a well informed decision about my new PC. The other part of my time, well, college lectures started again. So I've been investing time in that as well. The bit of spare time left I used for online playing. Hmm?? Online playing, I thought your PC was broke! You might say. Well that's where my girlfriend comes in. She let me borrow her PC very often. That way it won't be like starting online play all over again. :)

What's in my bag?

So lets see here. Johannes Kleske wrote on imgriff.com about sharing what's in your bag on a daily basis on his post . And called for other bloggers to share. I'll follow this one up right here. So what do I take with me every day? my MacBook including a Crumpler Gimp power brick and MDVI to VGA adapter for my MacBook Apple Remote for presentations old headphones from my 3G iPod some pens and a pencil & eraser my business cards a Moleskine for on the go notes my trusty point and shoot HP R717 Cables(cross-over Ethernet, power extention, USB cable for cam, audio jack with adapter a small 256MB USB stick for quick transfers ear plugs in case it gets really noisy where I am a spare pair of contact lenses and some eye drops some chap stick, tic tacs and winter green chewing gum, and some paper handkerchiefs a small "survival kit" with a lighter a knife and a flash light and a glow stick. (Although I have to leave the lighter and the knife at home when I go by plan...

A day in New York City

2012/10/16 - New York City, New York, United States of America NY, NY, you just never know what might happen. I was traveling to my airbnb host's place. I just got off the subway at 2nd Ave on the F line. And headed down Allen St. towards Stranton St. And I saw the film crews. Fuck yeah—I thought to myself. These are the things that make me love New York so much. You just walk down the street suspecting nothing and then next minute there's something happening around the next corner. They were filming infront of TMS (The Meatball Shop). It was Celebrity-Meatballs time. I figured I'd hang around once I saw the all cameras around. Next thing you know there is there is thunder rolling down the street. Orange County Choppers thunder that is. They were driving up Allen St. and pulled into Stranton St. with three custom bikes. A lot of commotion and everybody was looking. Guess that's the point of all the noise they were making. I used to watch the show often a while ...