logo
Currently Browsing: Programming & Development
Sep
17
imarichardson

Paperclip and the busted “not recognized by identify” error, and a couple other gotchas

If you’re using the Paperclip Gem, hopefully you won’t have the hours of stumpage I incurred. Here’s something for the Google information vat to swallow. 1. “Not recognized by identify”: This one is resulting from a call to ImageMagick (you did know ImageMagic was required, right?) and a bad relationship with Passenger. The easiest way to resolve this is to place the following...
Aug
3
imarichardson

Using Declarative Association with HABTM Relationships

In my search for an authorization/access control list solution for my Ruby needs I came across Steffen Bartsch’s “Declarative Authorization” plugin (Github source here). Short aside … the plugin allows for a very DRY approach to managing permission from one configuration file, not to mention that it generates a visualization of your ACL, too. This is a huge benefit when building an app...
Jul
15
imarichardson

Flex 4 (Gumbo) “Application Descriptor Not Found” woes

Try as I might, I could not figure out for the life of me why my Application Descriptor file couldn’t be generated. I cleaned my application, built, and rebuilt, then even sought out on a completely unsuccessful “Google-ca-pade”. I had the correct AIR runtime version referenced and even had another application file in the project building successfully, however the main mxml file continually...
Oct
6
imarichardson

OSX SVN woes: client is too old to work with working copy

If you are caught somewhere between subversion 1.4  and 1.5 then you’ll suddenly find yourself one day presented with the message:  svn: This client is too old to work with working copy; please get a newer Subversion client I originally found myself here while beta testing a new subversion client and inadvertently clicking “yes” I want to upgrade my working directory. But that’s...
May
30
imarichardson

Apache and Mongrel frustrations: 502, 503, Operation Not Permitted, Proxy Error, & Connection Refused Errors

For a good deal of time I’ve been experiencing numerous problems relating to mongrel and mongrel_cluster. I’ve received proxy errors from my main site: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /. Reason: Error reading from remote server Apache/2.2.3 (Red Hat) Server at [myserver.com] Port 443 And when viewing...
Feb
8
imarichardson

“sudo gem update rails” doesn’t work

I’ve finally gotten to a point where I have been ready to upgrade to Rails 2.0.2 on one of my production machines (running Red Hat Enterprise 5). I ran into a little snag in that when trying to update rails; no error or anything, just a response that Rails 1.2.3 was installed: 123456-bash-3.1$ sudo gem update rails Password: Updating installed gems... Attempting remote update of rails Successfully...
Nov
1
imarichardson

Installing Subversion Bindings for Warehouse App

A number of months ago ActiveReload came on the scene with a new application called “Warehouse” which makes for a really aesthetic and functional way of managing repositories in Subversion. The app requires you to install the Ruby Subversion Bindings, and while it may seem quick in the instructions, it wasn’t like that for me installing on RHEL 5. (I’m following through the instructions...
Page 1 of 812345»...Last »
logo
Powered by Wordpress