Passenger + Sinatra Tip: DocumentRoot is Always /public

I was getting 403 errors after deploying my newest Sinatra app with Passenger. Turns out Passenger assumes and requires a /public folder. This app is so tiny and new, it didn’t have one yet – so I was pointing Passenger at the app’s root. Resulting in the 403 errors. Solution: Create an empty /public folder …

Introducing: RE07.US – The Greenest URL Shortener

According to a recent post by FuelInteractive.com, a link in Twitter is clicked for 5 minutes, then completely ignored. That got me thinking about all the wasted short urls out there. So many tinyurl, culld.us, is.gd, et al, links just collecting dust after all that initial clicking. Seems so wasteful considering “the current economic climate”. …

Deploying Sinatra on Joyent’s Shared Accelerators with Thin

On Thursday afternoon, I had an idea for just about the smallest web app I could think of (since then, I’ve even cut out a couple features). It didn’t make sense to use all of Ruby on Rails for this considering how tiny it was. Seemed like a great opportunity to try out Sinatra1 Write …