Im not sure that is actually available in Sinatra, so same on local as on 
production really..

I use Sinatra often, for ease, but if you want a full test suite and 
environments, rails comes into play...

On 17 Nov 2009, at 23:44, doug livesey wrote:

> Interesting, thankyou.
> It doesn't seem to cover where the deployment environment comes from, though.
> For example, if you use a configure block, where does the app get the fact 
> that it is in development mode (or test, or production) from?
> I've dumped the ENV hash to the console, and still can't see any deployment 
> environment info.
> Hmm.
> 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