Method: Jets::Builders::RubyPackager#ensure_build_cache_bundle_config_exists!
- Defined in:
- lib/jets/builders/ruby_packager.rb
#ensure_build_cache_bundle_config_exists! ⇒ Object
On circleci the “#Jets.build_root/.bundle/config” doesnt exist this only happens with ssh debugging, not when the ci.sh script gets ran. But on macosx it exists. Dont know why this is the case.
182 183 184 185 186 187 188 189 190 191 192 |
# File 'lib/jets/builders/ruby_packager.rb', line 182 def ensure_build_cache_bundle_config_exists! text =<<-EOL --- BUNDLE_FROZEN: "true" BUNDLE_PATH: "vendor/gems" BUNDLE_WITHOUT: "development:test" EOL bundle_config = "#{cache_area}/.bundle/config" FileUtils.mkdir_p(File.dirname(bundle_config)) IO.write(bundle_config, text) end |