On Mac OSX Lion: “ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension”

Running Mac OSX Lion, trying to bundle install a project that included the ruby-oci8 gem, I received the following error: Building native extensions. This could take a while… ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension. The fix: Fortunately, the 64-bit client for Oracle has now been updated for Lion/Mountain Lion. Download […]

Twitter Bootstrap Modal Won’t Load Content from Another (“Remote”) Page

Short answer You apparently need a skeleton [modal … modal-body … /modal] for your data-target, not just an empty modal with the data-target. A Programmer’s False Assumptions – The API is Broken or Old Initially, I was concerned that my Rails plugin wasn’t using a version of Bootstrap that didn’t include the remote loading of […]

Experimenting with Rails’ String Manipulation from ActiveSupport::CoreExtensions::String::Inflections

This is my experimentation with the string manipulation methods used [largely internally] in Rails. This is largely a repeat of the documentation here, but I did dig into pluralize/singularize and a couple of other examples more in depth. Look at [path to active_support gem version]/lib/active_support/inflections.rb for the full list of plural, singular, irregular, and uncountable […]

Background on Mac OS X Lion Gets Stuck on Gray Linen Background and Menu Bar is Black

I’ve been having this problem intermittently when plugging in and unplugging my external monitor. I found a fix to the black menu bar that involved going into System Preferences->Desktop & Screen Saver and toggling the “Translucent Menu Bar” setting. However, my backgrounds were still the gray linen background. Upon further searching for that system, I […]