Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

dazza-codes
Copy link

@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.)

@@ -36,7 +36,7 @@ namespace :engine_cart do

# 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
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