Skip to content

Commit

Permalink
Synchronize bin/dev from jsbundling-rails to cssbundling-rails (#151)
Browse files Browse the repository at this point in the history
There are different bin/dev being generated by cssbundling-rails and jsbundling-rails

See rails/jsbundling-rails#174

> dev: Use an affirmative conditional
>
> ...and avoid regex in match.
>
> (Try a gem list ails vs a gem list --exact ails to see what I mean.)
  • Loading branch information
Dorian Marié authored Jan 19, 2024
1 parent b27be4a commit 02caad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install/dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

if ! gem list foreman -i --silent; then
if gem list --no-installed --exact --silent foreman; then
echo "Installing foreman..."
gem install foreman
fi
Expand Down

0 comments on commit 02caad4

Please sign in to comment.