Scott Bronson
2007-Nov-13 22:32 UTC
Creating an app with a name different from its directory
Is there any chance this small patch could go into 2.0? http://dev.rubyonrails.org/ticket/10156 It just decouples the application name and destination directory. Before the patch, your app would always be named the same as its containing directory: rails myapp/trunk With the patch, you can name your app something different: rails --app-name=myapp myapp/trunk I have some automated Rails generating scripts that need this so I''m really hoping it''s not to late for something like this to make it into trunk. Comments? Thanks, - Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Nik Wakelin
2007-Nov-14 00:28 UTC
Re: Creating an app with a name different from its directory
Hey Scott, Is there any reason why you wouldn''t just do: rails myapp mv myapp trunk ?? Are you creating a bunch of applications at once? Cheers, Nik On Nov 14, 2007 11:32 AM, Scott Bronson <bronson@rinspin.com> wrote:> > Is there any chance this small patch could go into 2.0? > > http://dev.rubyonrails.org/ticket/10156 > > It just decouples the application name and destination directory. > > Before the patch, your app would always be named the same > as its containing directory: > > rails myapp/trunk > > With the patch, you can name your app something different: > > rails --app-name=myapp myapp/trunk > > I have some automated Rails generating scripts that need this > so I''m really hoping it''s not to late for something like this to make > it into trunk. > > Comments? Thanks, > > - Scott > > > >-- Nik Wakelin munkywrench@gmail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Josh Susser
2007-Nov-14 00:29 UTC
Re: Creating an app with a name different from its directory
On Nov 13, 2007, at 2:32 PM, Scott Bronson wrote:> Is there any chance this small patch could go into 2.0?We already have RC1. If we''re going to be professional about stuff, new features have to pass an extremely high bar to get included in the release. After reaching the RC stage, usually all you want to be doing is fixing bugs. But don''t worry, there will be a 2.0.1 release some day! -- Josh Susser http://blog.hasmanythrough.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---