We are packaging up a rails app and hab studio is erroring out on build( see message below).
Our plan.sh is using
scaffolding_ruby_pkg=core/ruby24/2.4.5. The ruby version is also declared in the Gemfile, and in a
.ruby-version file at
2.4.5. It seems that hab is skipping/ignoring the ruby version specified.
There is a github issue that states that the core/bundler package are built against core/ruby packages and NOT core/rubyXX… https://github.com/habitat-sh/core-plans/issues/2196 Not sure if this is related or if it is even causing the issue.
This problem surfaced last week with no changes to the plan. So what changed between March 7th (last successful build ), and now?
I am unsure of how to progress, Any assistance or ideas would be greatly appreciated.
relevant error output:
☛ Verifying core/bundler/1.17.3/20190305221319 ✓ Installed core/ruby/2.5.3/20190305212319 ✓ Installed core/scaffolding-ruby/0.8.10/20190305234820 ★ Install of core/scaffolding-ruby/0.8.10/20190305234820 complete with 10 new packages installed. careers: Resolved scaffolding dependency 'core/scaffolding-ruby' to /hab/pkgs/core/scaffolding-ruby/0.8.10/20190305234820 careers: Loading Scaffolding /hab/pkgs/core/scaffolding-ruby/0.8.10/20190305234820/lib/scaffolding.sh Traceback (most recent call last): 2: from /hab/pkgs/core/bundler/1.17.3/20190305221319/bin/bundle.real:23:in `<main>' 1: from /hab/pkgs/core/ruby/2.5.3/20190305212319/lib/ruby/site_ruby/2.5.0/rubygems.rb:308:in `activate_bin_path' /hab/pkgs/core/ruby/2.5.3/20190305212319/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException) careers: Detected Ruby app type careers: WARN: Ruby app types not yet supported with this Scaffolding careers: ERROR: App type not supported careers: Build time: 0m25s careers: Exiting on error