Skip to content

Update generated bin/dev to be the same as jsbundling-rails #80

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

Closed
wants to merge 1 commit into from
Closed

Update generated bin/dev to be the same as jsbundling-rails #80

wants to merge 1 commit into from

Conversation

dorianmariecom
Copy link
Contributor

    conflict  bin/dev
Overwrite /Users/dorianmariefr/src/pipelines/bin/dev? (enter "h" for help) [Ynaqdhm] d
--- /Users/dorianmariefr/src/pipelines/bin/dev	2022-02-25 19:25:58.000000000 +0100
+++ /Users/dorianmariefr/src/pipelines/bin/dev20220225-32075-ytg5lb	2022-02-25 19:42:59.000000000 +0100
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-if ! gem list --silent --installed foreman
+if ! command -v foreman &> /dev/null
 then
   echo "Installing foreman..."
   gem install foreman
Retrying...
Overwrite /Users/dorianmariefr/src/pipelines/bin/dev? (enter "h" for help) [Ynaqdhm] 

Made a similar one at jsbundling-rails, would be nice if of those pull requests gets merged (of course not both 😄 )

rails/jsbundling-rails#95

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