Re: How to switch to production environment in heroku
Hi Baptiste, Your application must receive blessing from Heroku before the mode option is available. Request this blessing from Other tab of your app's Settings. Hope this helps, Natasha. On Jul 19, 1:52 pm, Baptiste Decroix [EMAIL PROTECTED] wrote: I don't have this mode section either. Maybe you need to have a blessed app? Anyway try to uncomment the following line in config/environnment.rb ENV['RAILS_ENV'] ||= 'production' I'm not sure how to check it's working though 2008/7/19 Kevin Triplett [EMAIL PROTECTED]: Yes -- when you push the code will go live so make sure it is bug free. ;) 罗霄 wrote: Thanks for your help.And there is another question? After that, can I still update the code from the git? Thanks. Regards Tony Luo 2008/7/20 Kevin Triplett [EMAIL PROTECTED]: Choose Production from the Setting page in the Mode section. Kevin xiuxiu wrote: I try to run production in the console window but failed. Can anyone help me? -- Baptiste --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: How to switch to production environment in heroku
Thanks for your help.And there is another question? After that, can I still update the code from the git? Thanks. Regards Tony Luo 2008/7/20 Kevin Triplett [EMAIL PROTECTED]: Choose Production from the Setting page in the Mode section. Kevin xiuxiu wrote: I try to run production in the console window but failed. Can anyone help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: How to switch to production environment in heroku
Also, I found only the Rename,Public/Private,Collabrators in the Setting page.No mode.. 2008/7/20 罗霄 [EMAIL PROTECTED]: Thanks for your help.And there is another question? After that, can I still update the code from the git? Thanks. Regards Tony Luo 2008/7/20 Kevin Triplett [EMAIL PROTECTED]: Choose Production from the Setting page in the Mode section. Kevin xiuxiu wrote: I try to run production in the console window but failed. Can anyone help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: How to switch to production environment in heroku
You may need to make it public first. But you are on the correct page. 罗霄 wrote: Also, I found only the Rename,Public/Private,Collabrators in the Setting page.No mode.. 2008/7/20 罗霄 [EMAIL PROTECTED]: Thanks for your help.And there is another question? After that, can I still update the code from the git? Thanks. Regards Tony Luo 2008/7/20 Kevin Triplett [EMAIL PROTECTED]: Choose Production from the Setting page in the Mode section. Kevin xiuxiu wrote: I try to run production in the console window but failed. Can anyone help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: How to switch to production environment in heroku
I don't have this mode section either. Maybe you need to have a blessed app? Anyway try to uncomment the following line in config/environnment.rb ENV['RAILS_ENV'] ||= 'production' I'm not sure how to check it's working though 2008/7/19 Kevin Triplett [EMAIL PROTECTED]: Yes -- when you push the code will go live so make sure it is bug free. ;) 罗霄 wrote: Thanks for your help.And there is another question? After that, can I still update the code from the git? Thanks. Regards Tony Luo 2008/7/20 Kevin Triplett [EMAIL PROTECTED]: Choose Production from the Setting page in the Mode section. Kevin xiuxiu wrote: I try to run production in the console window but failed. Can anyone help me? -- Baptiste --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---