Skip to content

Commit

Permalink
upgrading to ruby3_4
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyShravani committed Dec 23, 2024
1 parent dcb7e74 commit 60dd2df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/oc-id/habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkg_deps=(
core/sqitch
core/curl
core/node
core/ruby3_1
core/ruby3_4
core/rsync
core/sed
core/libffi
Expand Down Expand Up @@ -102,7 +102,10 @@ do_install() {
--with-xml2-lib=$(pkg_path_for core/libxml2)/lib \
--with-xslt-include=$(pkg_path_for core/libxslt)/include/libxslt \
--with-xslt-lib=$(pkg_path_for core/libxslt)/lib
bundle install --path "${HOME}/vendor/bundle" --binstubs="${HOME}/bin" --shebang ruby --deployment
bundle config set path "${HOME}/vendor/bundle"
bundle config set deployment 'true'
bundle config set --local shebang 'ruby'
bundle install --binstubs="${HOME}/bin"
# fix tzdata location
echo "Adding core/tzdata zoneinfo search path to tzinfo gem"
grep -l DEFAULT_SEARCH_PATH $HOME/vendor/bundle/ruby/*/gems/tzinfo*/lib/tzinfo/zoneinfo_data_source.rb | while read -r f; do
Expand Down

0 comments on commit 60dd2df

Please sign in to comment.