customization - What approaches exist for personal configuration in a Rails project? -


consider have typical rails project under git repository. want personal tweaks configuration or code base (e.g. simplify debugging). don't want work when switching, merging or pulling git branches. don't want affect other developers either. approaches use (or can suggest) that?

my approach following:

  • create file (let personal_initializer.rb) in config/intializers/ directory
  • in ~/.gitconfig define

    [core]

    excludesfile = ~/.excludesfile

  • in ~/.excludesfile add config/intializers/personal_initializer.rb

  • do hacks , tweaks in personal_initializer

i add development.rb file .gitignore , create development.example.rb

development.rb contain personal configuration, , wont pushed other devs local sources

development.example.rb contain default configuration, when new dev pull sources must copy development.example.rb development.rb , tweak wish


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -