File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ do_setup_environment() {
2222}
2323do_prepare () {
2424 ln -sf " $( pkg_interpreter_for core/ruby3_1 bin/ruby) " " $( pkg_interpreter_for core/coreutils bin/env) "
25- echo " $( pkg_interpreter_for core/ruby3_1 bin/ruby) "
2625}
2726pkg_version () {
2827 cat " $SRC_PATH /VERSION"
@@ -46,7 +45,7 @@ do_build() {
4645 bundle config --local silence_root_warning 1
4746 bundle install
4847 gem build chef-cli.gemspec
49- gem install rspec-core
48+ gem install rspec-core -v ' ~> 3.12.3 '
5049 ruby ./post-bundle-install.rb
5150}
5251do_install () {
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ def habitat_env
138138 vendor_dir = File . join ( get_pkg_prefix ( ChefCLI ::Dist ::HAB_PKG_NAME ) , "vendor" )
139139 path = [
140140 File . join ( bin_pkg_prefix , "bin" ) ,
141+ File . join ( bin_pkg_prefix , "vendor" , "bin" ) ,
141142 ENV [ "PATH" ] . split ( File ::PATH_SEPARATOR ) , # Preserve existing PATH
142143 ] . flatten . uniq
143144
You can’t perform that action at this time.
0 commit comments