rails new --builder

1 view
Skip to first unread message

Dominic Sisneros

unread,
Aug 30, 2010, 7:47:40 PM8/30/10
to rubyonra...@googlegroups.com
When invoking rails new with the --builder option, I see that you have to call the class ::AppBuilder. How can you
change the source_root for just a few of the methods?

I want to generate the gemfile from my own template

AppBuilder < Rails::AppBuilder

def gemfile
template 'Gemfile'
end



end


How can I change the Gemfile template from the AppBuilder and if I can't what is the use of the --builder option?

thanks,

Dominic
Reply all
Reply to author
Forward
0 new messages