Skip to content

Source Op Changes

Paul Gilzow edited this page Dec 21, 2021 · 1 revision

For the source operation auto-update to run correctly, we need to move the contents of the build hook into a script we can call. Then in the source operation, after running the build script, we need to call

unset NPM_CONFIG_PREFIX
export NVM_DIR="$PLATFORM_APP_DIR/.nvm" 
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

to make sure yarn is using the newer version of nodejs.

BUNDLE_DEPLOYMENT=0
bundle config unset frozen
bundle config set frozen false

then run the auto-updater script

Clone this wiki locally