Skip to content

Commit fcdfa88

Browse files
author
Sachin
committed
add force_ruby_platform to use via bundle install
Signed-off-by: Sachin <[email protected]>
1 parent dd32ed1 commit fcdfa88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

habitat/plan.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function Invoke-Build {
4343
bundle config --local jobs 4
4444
bundle config --local retry 5
4545
bundle config --local silence_root_warning 1
46+
bundle config set --local force_ruby_platform false
4647
Write-BuildLine " ** Using bundler to retrieve the Ruby dependencies"
4748
bundle install
4849

@@ -67,7 +68,7 @@ function Invoke-Install {
6768
Push-Location $pkg_prefix
6869
bundle config --local gemfile $project_root/Gemfile
6970
Write-BuildLine "** generating binstubs for chef-cli with precise version pins"
70-
Write-BuildLine "** generating binstubs for chef-cli with precise version pins $project_root $pkg_prefix/bin "
71+
Write-BuildLine "** generating binstubs for chef-cli with precise version pins $project_root $pkg_prefix/bin "
7172
Invoke-Expression -Command "appbundler.bat $project_root $pkg_prefix/bin chef-cli"
7273
If ($lastexitcode -ne 0) { Exit $lastexitcode }
7374
Write-BuildLine " ** Running the chef-cli project's 'rake install' to install the path-based gems so they look like any other installed gem."

0 commit comments

Comments
 (0)