diff --git a/.circleci/config.yml b/.circleci/config.yml index 63bcc6d..2ec605b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ defaults: env_setup: &env_setup working_directory: ~/chef-bashrc_manager docker: - - image: circleci/ruby:2.4.1 + - image: circleci/ruby:2.5.0 bundle_cache_name: &bundle_cache_name bundler-cache-v1-{{ checksum "Gemfile.lock" }} diff --git a/Gemfile b/Gemfile index 8bf96c8..a234afe 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -ruby '2.4.1' +ruby File.open(File.expand_path('.ruby-version', File.dirname(__FILE__))) { |f| f.read.chomp } gem 'berkshelf' gem 'chef', '~> 12' diff --git a/Gemfile.lock b/Gemfile.lock index 3ab276c..f31be4b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -410,7 +410,7 @@ DEPENDENCIES test-kitchen RUBY VERSION - ruby 2.4.1p111 + ruby 2.5.0p0 BUNDLED WITH 1.16.1