Skip to content

Commit

Permalink
Avoid installing gems for development on GitHub Actions
Browse files Browse the repository at this point in the history
This fixes #14
  • Loading branch information
noraworld committed Mar 16, 2022
1 parent 9a17019 commit 35822c8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ ruby '3.1.1'

gem 'faraday'

group :development, :test do
# For development
#
# These gems should be installed only for development environment, but
# `bundle config set --local without 'development,test'` cannot be
# used because it stores the configuration in `.bundle/config`, and
# this file is hard to track on Git
#
# By the way, `--without` option is deprecated
#
# ENV['CI'] is only set on GitHub Actions
#
unless ENV['CI']
gem 'dotenv'
gem 'pry-byebug'
end

0 comments on commit 35822c8

Please sign in to comment.