Is we have to restart the server(development) when we do any changes in environment.rb ?

35 views
Skip to first unread message

Fahim Patel

unread,
Nov 5, 2012, 5:46:57 AM11/5/12
to rubyonra...@googlegroups.com
Hi all,

Is we have to restart the server when we do any changes in environment.rb ?

May i know in which file if we make changes than we have to restart the server (development)?


Thanks 

Regards 
Fahim Babar Patel

Norbert Melzer

unread,
Nov 5, 2012, 5:55:43 AM11/5/12
to rubyonra...@googlegroups.com

Any change in config directory requires you to restart the server, but that should not be a big deal.

About your second question, I don't understand what you want to ask.

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Ym5f-f93rVgJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Fahim Patel

unread,
Nov 5, 2012, 6:02:04 AM11/5/12
to rubyonra...@googlegroups.com


On Monday, November 5, 2012 4:26:04 PM UTC+5:30, Norbert Melzer wrote:

Any change in config directory requires you to restart the server, but that should not be a big deal.

About your second question, I don't understand what you want to ask.

Thanks for reply.

As per you say any change in config directory, we have to restart localhost server.

Is there are any other directory other than config in which if we make changes than we have to restart the local server ?

Norbert Melzer

unread,
Nov 5, 2012, 6:05:39 AM11/5/12
to rubyonra...@googlegroups.com

The Gemfile is one that comes to my mind instantly, but aside config/ that's the only one I remember. There could possibly be more that I'm not aware of.

To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/vavPIZGulQcJ.

Carlos Mathiasen

unread,
Nov 5, 2012, 6:14:10 AM11/5/12
to rubyonra...@googlegroups.com
I need restart server when I changed files in lib directory too. Cause I loaded libs on application.rb.

Matt's


Fahim Patel

unread,
Nov 5, 2012, 6:18:15 AM11/5/12
to rubyonra...@googlegroups.com

Thanks for reply .
Is there is any authenticated list of situation in which we have to restart server ?

Carlos Mathiasen

unread,
Nov 5, 2012, 6:22:11 AM11/5/12
to rubyonra...@googlegroups.com
I don't know. When your changes aren't seen in the browser lol

Matt's


--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/BIJMhAx61qoJ.

saikiran mothe

unread,
Nov 7, 2012, 8:48:29 AM11/7/12
to rubyonra...@googlegroups.com
Yes.you need to restart the server,when you did changes in any file in CONFIG folder .

Thanks,
Saikiran Mothe


On Mon, Nov 5, 2012 at 4:54 PM, Arnold van der Meulen <zwi...@gmail.com> wrote:
You have to restart for every changes file that is not in the /app folder.

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/JQwtXRc9onQJ.
Reply all
Reply to author
Forward
0 new messages