[Rails] Re: how ruby script/server work

2008-12-02 Thread Margareth Florián
Hi Fred.. Know the ruby code reload without restart the server but views do not. 2008/12/1 Frederick Cheung <[EMAIL PROTECTED]> > > > On 1 Dec 2008, at 15:51, Margareth Florián wrote: > > > Thanks for your answer Fred.. > > > > I am in development environment, I have config.cache_classes = false

[Rails] Re: how ruby script/server work

2008-12-01 Thread Frederick Cheung
On 1 Dec 2008, at 15:51, Margareth Florián wrote: > Thanks for your answer Fred.. > > I am in development environment, I have config.cache_classes = false > (in my development.rb file) > In the environment.rb file i have require > File.join(File.dirname(__FILE__), 'boot'). > > I try by ins

[Rails] Re: how ruby script/server work

2008-12-01 Thread Margareth Florián
Thanks for your answer Fred.. I am in development environment, I have config.cache_classes =* false* (in my development.rb file) In the environment.rb file i have require File.join(File.dirname(*__FILE__* ), 'boot'). I try by instancing load_once_path: Dependencies.load_once_path?(RAILS_ROOT) in

[Rails] Re: how ruby script/server work

2008-11-28 Thread Frederick Cheung
On Nov 28, 3:18 pm, mafloria <[EMAIL PROTECTED]> wrote: > I'm develop an application. I have rails 2.2 but when I want to see > changes in my application (by reloading) I have to restart the server. > > What i need to do for do not restart?? > Assuming you are running in development mode and th

[Rails] Re: how ruby script/server work

2008-11-28 Thread mafloria
I'm develop an application. I have rails 2.2 but when I want to see changes in my application (by reloading) I have to restart the server. What i need to do for do not restart?? On Nov 12, 3:06 pm, jemminger <[EMAIL PROTECTED]> wrote: > read the source. > > script/server loads the Rails environm

[Rails] Re: how ruby script/server work

2008-11-12 Thread jemminger
read the source. script/server loads the Rails environment boot file: require File.dirname(__FILE__) + '/../config/boot' then requires a file from the Rails gem: require 'commands/server' locate your rails gem install and read server.rb, should be in ruby/lib/gems/1.8/gems/rails-x.x.x/lib