Archive for the ‘Ruby’ Category
Posted by Ed on January 19th, 2012 under Programming, Ruby Tags: Ruby, TIL •
No Comments
I ran into a situation recently where I was writing a library that utilized large files. Specifically a GTFS feed parser. I wanted to cache the files away someplace so I could safely access them for the life of an object, but I didn’t want to leave them hanging around afterwards. I couldn’t do all [...]
Posted by Ed on March 8th, 2010 under Ruby, RubyGems, Self Reference •
5 Comments
I used to keep rdoc and ri turned off to speed up gem installs via my .gemrc config. This became problematic recently when I was planning on doing some work while traveling, and knew I wouldn’t have an always on internet connection to get my documentation fix. I recalled a post by Jason Seifer I [...]
Posted by Ed on June 29th, 2009 under Dreamhost, Passenger, Ruby, Sinatra •
No Comments
If the following is true: You want to deploy a Sinatra application with Passenger on Dreamhost You’re using a Dreamhost shared hosting account You’re application relies on gems that aren’t installed globally on Dreamhost You’ve got the gems you need installed locally like this Then you’ll want to include something like this in your rackup [...]
Posted by Ed on February 7th, 2009 under Ruby •
No Comments
I wanted to clean up my file share of dvd backups and move to use one file type. I chose iso because it makes it easy to burn them without using anything special, and boxee recognizes iso files. So in a couple minutes I came up with this quick and dirty ruby script… Assumptions… 1) [...]
Posted by Ed on December 1st, 2008 under Craigslist, Heroku, iCraig, Rails, Ruby •
No Comments
iCraig is down! Heroku has turned out to be a less than reliable hosting provider, which is fine given that they’re hosting my site for free. I’m working on figuring out whether I should continue hosting at Heroku, or move to greener pastures. Update: I moved to HostingRails.com and things are much better. Only gripe [...]