Having recently reformatted my Mac, I thought I’d jot some notes down on setting up a Ruby dev environment too. In this post we’ll set up our fresh dev enviroment for Ruby, and cover installing and setting up the following…
Archived (old posts)
Please note these posts may contain outdated information – most of them were posted between 5 to 10 years ago!
Just putting this up mainly for my own benefit, but if it helps you too – great! This guide covers the following: Backing up your files Clean Install Restoring files, settings, passwords, etc
Widely regarded as the language of the web, Ruby’s always been pretty damn hawt. But now it’s about to get even hotter. AltRubies have been pushing Ruby into realms we never thought possible. Is Ruby set to become the preferred language of the browser? Of mobile apps? Of hardware, even? Let’s take a look at …
Or are you getting ‘connection failed’? If you’ve been pulling your hair out (like I have!) despite following advice on the Apple forums (like turning off SMB, but keeping AFP sharing on) to no avail, then this might be of help!
As many of you might know, I LOVE Railscasts – and like many of you, I miss Ryan heaps. He has a knack of being able to make things look super easy; his screen casts enable you to learn a great deal in just a few minutes. I don’t know about you, but my Rails …
If you’re getting this error (probably after a bundle update), all you need to do is comment out: require "whenever/capistrano" Form your deploy.rb file, then deploy as usual, then uncomment it, and deploy again. Simple huh?
This has been doing my head in all day – so hopefully it will save some of you the trouble. I’m on a CentOS box. First thing you want to do is check which version of postgres you have, with:
Vips is a brilliant new image processing library that is reported to be far more efficient than most other image processing libraries out there (such as ImageMagick). To install on CentOS simply:
Here’s a quick reference on how to create a user, a database and grant the user all privileges to the database (on Mac OS X). If you haven’t yet installed PostgreSQL, look here: How to install PostgreSQL on Mac OS X
There are a number of ways to install Postgres on Mac, here’s three. While these instructions are for a clean install of Lion, they may work for Mountain Lion.