On 13 February 2012 12:39, Rafi A <[email protected]> wrote: > Hi All, > > I want to get the environment name in which the application is executing > whether in production or in development etc using the bash script and want > to write that result into the .sh file. Not by using the ruby. Any ideas of > how to get this work?
Do you mean you have a rails server running, and from a separate bash script want to know whether the rails server is running in production or development or whatever, without doing anything special in the rails app? Tricky I think. > Rafi > In Every moment, thank God. Generally I think you are more likely to get help if you do not attempt to force religious ideas on people. Colin -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

