Ruby Install not setting GEM_PATH

ruby
docker
circle.yml

#1

When i use the circleci/ruby:2.4.1-node for docker, im not able to run rspec later on because it says it does not exist… I ran gem environment and noticed the version is set appropriately but the paths where bundle install is happening is inside 2.4.0 instead of 2.4.1 which from what i can tell is the issue. Any ideas where to go from here?

Below is the gem Environment output inside circleci

RubyGems Environment:

  • RUBYGEMS VERSION: 2.6.12
  • RUBY VERSION: 2.4.1 (2017-03-22 patchlevel 111) [x86_64-linux]
  • INSTALLATION DIRECTORY: /home/circleci/pso-ncino-migrator/vendor/bundle/ruby/2.4.0
  • USER INSTALLATION DIRECTORY: /home/circleci/.gem/ruby/2.4.0
  • RUBY EXECUTABLE: /usr/local/bin/ruby
  • EXECUTABLE DIRECTORY: /home/circleci/pso-ncino-migrator/vendor/bundle/ruby/2.4.0/bin
  • SPEC CACHE DIRECTORY: /home/circleci/.gem/specs
  • SYSTEM CONFIGURATION DIRECTORY: /usr/local/etc
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
  • GEM PATHS:
    • /home/circleci/pso-ncino-migrator/vendor/bundle/ruby/2.4.0
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
    • “install” => “–no-document”
    • “update” => “–no-document”
  • REMOTE SOURCES:
  • SHELL PATH:
    • /home/circleci/pso-ncino-migrator/vendor/bundle/ruby/2.4.0/bin
    • /usr/local/bundle/bin
    • /usr/local/sbin
    • /usr/local/bin
    • /usr/sbin
    • /usr/bin
    • /sbin
    • /bin

#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.