rubynuby wrote: > > > in the console, I know I can reload a file with load 'foo.rb'. Is > there a way to reload everything, as if I typed quit and script/ > console, but without losing the history (I type slow). I tried > reload! but that doesn't do it. thanks > --~--~---------~--~----~------------~-------~--~----~ > 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 > -~----------~----~----~----~------~----~------~--~--- > > > you can use config.load_paths<<"#{RAILS_ROOT}/app/somefolder/" and then reload! within ruby/script console will reload the changed files in those directories. side note config.load_paths is deprecated so use config.autoload_paths instead -- View this message in context: http://old.nabble.com/how-to-reload-everything-in-script-console-tp19531363p30408204.html Sent from the RubyOnRails Users mailing list archive at Nabble.com. -- 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.

