heroku/heroku-buildpack-ruby — pull request #60 by twinturbo (2013-01-13 14:33:27+00:00)
Title: Allow apps that don't use a DB

The current build pack blows up in this case. If you are running a simple rack app without a database an error is raised. The error is raised by this code:

```ruby
begin
uri = URI.parse(ENV["DATABASE_URL"])
rescue URI::InvalidURIError
raise "Invalid DATABASE_URL"
end
```

This commit introduces a simple guard.