You can also just use the .railsrc file from your home directory to specify
those args every time.

https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/USAGE

On Sat, Aug 4, 2018 at 5:24 AM Xavier Noria <f...@hashref.com> wrote:

> The application generator has about 25 options, I believe an interactive
> mode wouldn't be practical.
>
> I second Rolandas' suggestion: make your own shortcut.
>
> For example, I often want to create a vanilla application to test
> something quickly, --skip-bundle is the key there.  I have a Bash
> function for that called "rn" that does this:
>
>     rails new $app_name --skip-bundle "$@" && \
>   cd $app_name && \
>   bundle install --local
>
> Since a Bash function can change the $PWD, I am even left at the app's
> root directory.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at https://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Kevin D. Deisz*
CTO, CultureHQ <https://www.culturehq.com>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to