addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

RE: [ruby-81] Setting up Mac for development...

From: Janos M.
Sent on: Thursday, January 28, 2010 8:10 PM
In addition to the very latest xCode for Snow Leopard, you also need to remove the old Ruby 1.8.6 that comes with Macs (/Applications/Frameworks/Ruby or similar).


-------- Original Message --------
Subject: [ruby-81] Setting up Mac for development...
From: Jon Seidel <[address removed]>
Date: Thu, January 28,[masked]:54 pm
To: [address removed]

For some reason, I am having LOTS of trouble setting up my MacBook (Snow Leopard;[masked]) to do development.

I go to install heroku (sudo gem install heroku) and I get:
Building native extensions.  This could take a while...
ERROR:  Error installing heroku:
ERROR: Failed to build gem native extension.

/opt/local/bin/ruby extconf.rb
checking for ruby/st.h... no
checking for st.h... no
checking for ruby/encoding.h... no
creating Makefile

sh: make: command not found

Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/json-1.2.0 for inspection.
Results logged to /opt/local/lib/ruby/gems/1.8/gems/json-1.2.0/ext/json/ext/generator/gem_make.out
so that means I don't have make installed...right? (But I've done this before...)

So I go to Mac Ports (port list) and it blows up in my face:
dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found.  Did find:
/Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)
I've used Mac Ports before on this machine and it worked OK.

I recall hearing somewhere that upgrading to Snow Leopard might cause some problems for development (?!)

I could use a few pointers for how to setup my Mac: I've got a Windows machine and a Kubuntu machine both setup for development, but I want this laptop to work for portability -- I can't believe that the Mac OS seems to cause more challenges than other OS's.

Jon Seidel, CMC��
EDP Consulting, Inc. /
Technology that means Business - Since 1979
3373 Guido Street
OaklandCA 94602
The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute ofManagement Consultants USA, including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics.
Check out IMC USA for more information.

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jon Seidel ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Jon Seidel, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup Inc. PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy