Update node.js, install bun, for Rails 8.0 upgrade
This commit is contained in:
parent
5777a45f0a
commit
cab766c806
@ -24,11 +24,10 @@ package "libvips"
|
|||||||
|
|
||||||
include_recipe 'redisio::default'
|
include_recipe 'redisio::default'
|
||||||
include_recipe 'redisio::enable'
|
include_recipe 'redisio::enable'
|
||||||
include_recipe 'kosmos-nodejs'
|
|
||||||
|
|
||||||
npm_package "yarn" do
|
node.override["nodejs"]["repo"] = "https://deb.nodesource.com/node_20.x"
|
||||||
version "1.22.4"
|
include_recipe 'kosmos-nodejs'
|
||||||
end
|
npm_package "bun"
|
||||||
|
|
||||||
ruby_version = "3.3.0"
|
ruby_version = "3.3.0"
|
||||||
ruby_path = "/opt/ruby_build/builds/#{ruby_version}"
|
ruby_path = "/opt/ruby_build/builds/#{ruby_version}"
|
||||||
@ -303,12 +302,12 @@ execute "bundle install" do
|
|||||||
command "bundle install --without development,test --deployment"
|
command "bundle install --without development,test --deployment"
|
||||||
end
|
end
|
||||||
|
|
||||||
execute "yarn install" do
|
# execute "yarn install" do
|
||||||
environment deploy_env
|
# environment deploy_env
|
||||||
user deploy_user
|
# user deploy_user
|
||||||
cwd deploy_path
|
# cwd deploy_path
|
||||||
command "yarn install --pure-lockfile"
|
# command "yarn install --pure-lockfile"
|
||||||
end
|
# end
|
||||||
|
|
||||||
execute 'rake db:migrate' do
|
execute 'rake db:migrate' do
|
||||||
environment deploy_env
|
environment deploy_env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user