Skip to content

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