this may be of interest to you

it covers some ENV variables in sinatra  - http://docs.heroku.com/rack


On 17 Nov 2009, at 22:41, doug livesey wrote:

> Hi -- any of the Sinatra buffs out there able to help me with a couple of 
> issues?
> I'm wanting to use Datamapper for my models, and *think* I'm okay with that, 
> but I want to be able to set them up for testing, development, and production.
> How do I access the environment variable? I mean to set and to get at any 
> given point?
> I want to be *very* sure the env is right before I run my cuke features, and 
> that FactoryGirl isn't going to overwrite anything horrible.
> Cheers,
>    Doug.
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "NWRUG" group.
> To post to this group, send email to [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/nwrug-members?hl=.

--

You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=.


Reply via email to