Created
August 8, 2019 13:30
-
-
Save deekshithh/49ccadb6fb3f0fda81bdf600573f2012 to your computer and use it in GitHub Desktop.
Capistrano set the environment variables.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here NODE_OPTIONS is the environment variable. | |
# Set the NODE_OPTIONS in case of webpacker "CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory" | |
set :stage, :staging | |
set :user, "ubuntu" | |
set :default_env, { | |
"NODE_OPTIONS"=>"--max_old_space_size=2048" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment