Skip to content

Generate rails app without git, by default, allow override options#83

Open
dazza-codes wants to merge 1 commit into
cbeer:masterfrom
dazza-codes:rails-skip-git
Open

Generate rails app without git, by default, allow override options#83
dazza-codes wants to merge 1 commit into
cbeer:masterfrom
dazza-codes:rails-skip-git

Conversation

@dazza-codes
Copy link
Copy Markdown

@dazza-codes dazza-codes commented May 25, 2017

Essentially, this is supposed to add the --skip-git option to rails new. But it allows a config override. (I didn't find any specs that test this, so I'm relying on the integration specs.)

Comment thread lib/engine_cart/tasks/engine_cart.rake Outdated
# Using the Rails generator directly, instead of shelling out, to
# ensure we use the right version of Rails.
Rails::Generators::AppGenerator.start(['internal', '--skip_spring', EngineCart.rails_options, ("-m #{EngineCart.template}" if EngineCart.template)].compact)
Rails::Generators::AppGenerator.start(['internal', EngineCart.rails_options, ("-m #{EngineCart.template}" if EngineCart.template)].compact)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the splat operator here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants