Config var unavailability during asset precompilation.

2011-09-13 Thread Chris Hanks
I'm using Sequel with Rails 3.1.0, and connecting to my database by simply passing a database url in a config var to Sequel.connect - the standard way of doing it. It seems that when Heroku runs the asset precompilation rake task during a deploy, my config vars apparently aren't available to the

Re: Config var unavailability during asset precompilation.

2011-09-13 Thread Chris Hanks
I wound up solving this by establishing the DB connection unless Rails.env.production? Rails.groups.include?('assets'). It seems to work alright. On Sep 13, 12:22 pm, Chris Hanks christopher.m.ha...@gmail.com wrote: I'm using Sequel with Rails 3.1.0, and connecting to my database by simply

Way to get a listing of all packages installed in the Bamboo environment?

2011-09-13 Thread Stefan Wrobel
I'm wondering if there's a way to know what external dependencies are and aren't available on the Bamboo stack. For example, based on my experience ImageMagick is available, but I just found out by trying to see if it works. Is there a listing of all packages installed on the environment when