So you want to play with Ruby?
I heard last week two people complaining about the difficulty to install ruby on a mac and start coding with all our precious gems. They deserve explanations.
Alright let’s have a quick look at that and let’s install our Ruby env with all tools required to code and deploy on heroku.
Being able to compile:
First of all you need GCC aka the compiler. It was previously coming along with XCode but it’s not the case anymore. You can get GCC from github. Download it and just unpack it as usual.
New packaging system:
If you’re bored by macport or if you dont know it already try homebrew. Homebrew is a package installer based on recipes. To install it: