diff --git a/scripts/ci.sh b/scripts/ci.sh index 85dcfeb..cf1bd6d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,7 +2,10 @@ # we assume this is checked out to ~/.dotfiles ln -s $PWD ~/.dotfiles +env ~/.dotfiles/scripts/install.sh . ~/.bash_profile git config --global commit.gpgsign false +ruby -v +ruby -e 'puts `env`' bundle exec rspec diff --git a/spec/git_rubocop_spec.rb b/spec/git_rubocop_spec.rb index 8805fa4..fd1043c 100644 --- a/spec/git_rubocop_spec.rb +++ b/spec/git_rubocop_spec.rb @@ -2,6 +2,8 @@ RSpec.describe 'git rubocop hooks' do before do + puts run('env').output + puts run('ruby -v').output copy_file('.ruby-version') file('Gemfile').write(<<~RUBY) source 'https://rubygems.org'