Re: rake about > Environment staging

Colin Law
2012-06-10T13:37:58Z

On 10 June 2012 14:25, Rick
<richard.t.lloyd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> How about running: "export RAILS_ENV=development ; rake about"
>
> What does rake report for Environment in this case?

I had forgotten rake about, what does rake about show without setting RAILS_ENV?

Colin

>
>
> On Sunday, June 10, 2012 6:30:39 AM UTC-4, Colin Law wrote:
>>
>> On 10 June 2012 11:19, tom
<tomabroad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>> Top posting still :(
>>
>> > yes, thats correct
>> >
>> > RAILS_ENV=development rake db:migrate
>> >>> runs in staging env.
>>
>> I don''t understand why you then went on to ask
>> >> > where does rake get the environment info if i ommit
 ''RAILS_ENV'' when
>> >> > executing a rake command?
>>
>> Two points (please reply inline so that it makes it easier to follow
>> the thread.  Thanks
>>
>> 1. How do you know that rake db:migrate is running in staging
environment?
>>
>> 2. Please post database.yml here.
>>
>> Colin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/xFP2wgVxtEAJ.
>
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.