I have written previously about using Pow for Ruby/Rails development. Pow is great if you are purely developing in Ruby, however I’ve recently found myself needing to edit a WordPress site. Pow intercepts requests to port 80 by default meaning that no requests can make it through to the default Apache installation on OSX. I’ve […]
I’ve been venturing into the world of MongoDB via Mongoid in a Rails app. On one hand it’s a breath of fresh air (no migrations, flexible schemas etc.) but on the other hand I really, really miss transactions. If somebody asked me if I used transactions much in MySQL, I would probably have said no… […]
If you find yourself in the Terminal app with a bunch of tabs open, the default name of “bash” isn’t very useful when navigating between them. You can change the tab name via the UI by right clicking the tab, then clicking “Inspect Tab” and changing the window or tab names but this is somewhat […]
I heard about Pow a while ago which is “a zero-config Rack server for Mac OS X” but never got around to giving it a go. I’ve just installed it and can instantly see that it is going to make developing with Rails (or any Rack app) a whole lot nicer, especially when dealing with […]
On occasion under OSX Lion, TextMate refuses to launch. I’ve found that simply deleting it’s pid file seems to get things working again, just open Terminal and type: rm ~/Library/Application\ Support/TextMate/TextMate.pid Hope this safes someone some puzzled frowning time.
I was just running some cucumber features on an old project and came across a problem whereby “tableish” has been depreciated in Cucumber. Dennis Reimann has posted a nice alternative here using Capybara… thanks Dennis.
If you maintain your own ongoing fork of a project on Github, you will inevitably want to pull in changes from the originator’s repository. Here’s how I usually go about it. First add the other guy’s repository to your list of remotes: cd my-fork git remote add other-guy https://github.com/other-guy/other-guys-repo.git If you were to then list […]
It’s been a little quiet around here, so I thought I’d share something that’s been on mind for a while. At what point in the lifecycle of a commercial project is it a good idea to Open Source? Take Shopify for instance, they open sourced their payment integration code early on in the form of […]
In my day-to-day Git workflow I often find myself doing the the following before a commit: git add . git add -u git status The first line adds any new or modified file contents to the Git index and the second uses the “update” flag which marks any deleted files as deleted in the Git […]