I’d like to see a realistic example before we include it.

On May 22, 2014, at 6:00 PM, Lucas Mazza <notifications@github.com> wrote:

> In railties/lib/rails/generators/rails/app/templates/bin/setup:
> 
> > +
> > +# path to your application root.
> > +APP_ROOT = Pathname.new File.expand_path('../../',  __FILE__)
> > +
> > +Dir.chdir APP_ROOT do
> > +  # This script is a starting point to setup your application.
> > +  # Add necessary setup steps to this file:
> > +
> > +  puts "== Installing dependencies =="
> > +  system "gem install bundler --conservative"
> > +  system "bundle install"
> > +
> > +  # puts "\n== Copying sample files =="
> > +  # unless File.exists?("config/database.yml")
> > +  #   system "cp config/database.yml.sample config/database.yml"
> > +  # end
> We could change this to copy a sample of secrets.yml instead.
> 
> —
> Reply to this email directly or view it on GitHub.
>