Anyone know (or know where to point me to) to figure out how to force Rails into development mode? I''d like to not have to kill dispatch.fcgi everytime I make a change. My site is not live and I''m just doing development and testing right now. Thanks. -- Posted via http://www.ruby-forum.com/.
you can set: ENV[''RAILS_ENV''] = ''development'' in environment.rb but you should do all your development locally. -tak. On Apr 5, 2006, at 12:17 PM, Arch Stanton wrote:> Anyone know (or know where to point me to) to figure out how to force > Rails into development mode? I''d like to not have to kill > dispatch.fcgi > everytime I make a change. My site is not live and I''m just doing > development and testing right now. > > Thanks. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
On Apr 5, 2006, at 11:17 AM, Arch Stanton wrote:> Anyone know (or know where to point me to) to figure out how to force > Rails into development mode? I''d like to not have to kill > dispatch.fcgi > everytime I make a change. My site is not live and I''m just doing > development and testing right now.Why wouldn''t you do dev and testing locally? -- Jason Perkins jperkins@sneer.org "The computer allows you to make mistakes faster than any other invention, with the possible exception of handguns and tequila." -Mitch Ratcliffe
As a Dreamhost subscriber, I will be forced to hunt you down and slap you with a carp if you run in Dev mode. :) But seriously... fcgi + dev mode = memory leak, and that hurts everyone on a shared host. Do your development on your own machine with WEBrick or Mongrel or your own Apache + FCGI. On 4/5/06, Jason Perkins <jperkins@sneer.org> wrote:> > > On Apr 5, 2006, at 11:17 AM, Arch Stanton wrote: > > > Anyone know (or know where to point me to) to figure out how to force > > Rails into development mode? I''d like to not have to kill > > dispatch.fcgi > > everytime I make a change. My site is not live and I''m just doing > > development and testing right now. > > Why wouldn''t you do dev and testing locally? > > -- > Jason Perkins > jperkins@sneer.org > > "The computer allows you to make mistakes > faster than any other invention, with the > possible exception of handguns and tequila." > > -Mitch Ratcliffe > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060405/647da0f2/attachment-0001.html
Brian Hogan wrote:> As a Dreamhost subscriber, I will be forced to hunt you down and slap > you > with a carp if you run in Dev mode. :) > > But seriously... > fcgi + dev mode = memory leak, and that hurts everyone on a shared host. > > Do your development on your own machine with WEBrick or Mongrel or your > own > Apache + FCGI.Ok will do. Thanks. -- Posted via http://www.ruby-forum.com/.