forked from shakacode/shakapacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bin/setup modification failure in installation (shakacode#229)
* Fix bin/setup modification failure Due to different content of bin/setup in different Rails versions and installation date, the earlier version of the generator couldn't modify this file properly in all circumstances. This commit handles the following scenarios: - If there is a commented line for `system('bin/yarn')`, uncomment it. - Otherwise, regardless of using single or double quotations in different Rails versions, add `system! 'bin/yarn'` after the intended line.
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters