Rails Mountain Lion Errors

The Problem If you're starting rails server on Mountain Lion you might be encountering errors like these: $ thin start >> Using rack adapter /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/lib/libltdl.7.dylib (LoadError) Referenced from: /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle Reason: image not found - /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle from /Library/Ruby/Gems/1.8/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in `require' from /Library/Ruby/Gems/1.8/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236:in `load_dependency' from /Library/Ruby/Gems/1.8/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in `require' from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/rmagick.rb:11 from /Library/Ruby/Gems/1.8/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require' [...]

By | September 27th, 2012|Development|0 Comments

Audibly: Audio Recording for Everyday Use

We've developed a utility for quickly and easily creating and sharing recordings from your mac desktop. Audibly is a menubar application that lets you record audio anytime by holding a hotkey. When you're done recording the audio will be available on your desktop (like a screenshot). We also upload the recording to the cloud and [...]

By | June 19th, 2012|Development, Featured|0 Comments

An iOS match game for my kids

There are a lot of games in the app store available for entertaining young kids but the majority of them aren't ideal for kids or parents. I built a simple match game for my kids that addresses a few common shortcomings of existing kids apps. Important differences for me as a parent No way for [...]

By | May 9th, 2012|Development, Featured|0 Comments

15-30 Second Page Loads in Rails 3 Development Environment

The Problem Rails development environment has incredibly slow page loads while production is fast. And when I say slow, I mean 15-30 seconds. Rails server will likely report the page as loading in under a second but it's still taking 30 secons to show up. The Cause DNS problems. Nothing to do with rails, this [...]

By | May 5th, 2012|Development|0 Comments

Everyday Grep

Grep is well known and commonly used command line search function that far too many people aren't taking advantage of. The purpose of this article is to give technically inclined folks easy to follow examples to speed up work. I'll also discuss speed concerns because no one wants to wait 8 seconds for a search [...]

By | December 24th, 2011|Development|0 Comments

Passing additional data to jQuery.Ajax callbacks

jQuery makes it effortless to make additional data available from within the jQuery.ajax callbacks (success | error | complete) because within the callbacks, this refers to the object that was passed to jQuery.ajax. Knowing this, you can provide extra parameters that jQuery.ajax will ignore but you can access later. For example: $.ajax({ url: ‘/‘, pudding: [...]

By | November 22nd, 2011|Development|0 Comments

Brew Install Postgresql on OS X Lion

The Problem If you're installing postgresql via homebrew on Lion you might be encountering errors like these: psql: could not connect to server: Permission denied Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? createuser: could not connect to database postgres: could not connect to server: Permission denied Is the [...]

By | September 4th, 2011|Development|51 Comments

Compiling the MySQL2 gem on OS X with any version of MAMP

There are a number of solutions for compiling mysql with MAMP on OS X but there's a simpler solution. Download and install MySQL (any version, I did 5.5.14 which is the latest as of this writing). Choose the "Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive" option. From Terminal, run the following in your [...]

By | July 11th, 2011|Development|3 Comments

Link Shortening on Twitter.com

I love using the twitter web interface whenever i'm not at my primary computer but after getting used to the way Twitter for Mac handles link shortening I'm often frustrated with Twitter.com. Twitter for Mac The letter count of a tweet with a long link in Twitter for Mac displays what the character count will [...]

By | February 22nd, 2011|Development|0 Comments

One line Javascript browser detection

Browser Detection Sucks There are a lot of good arguments for avoiding browser detection and they're 100% correct in most cases. Anyone who's ever seen the "Browser version does not meet minimum requirements" message while in a capable browser will agree that filtering based on user-agent should be stopped. Browser Detection Rocks That being said, [...]

By | February 18th, 2011|Development|3 Comments