Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

rails assets precompile with staging flag command

 # by meanstackBasit
compile the assets with any evnironment like this way.
RAILS_ENV= <staging> || RAILS_ENV= <test> || || RAILS_ENV= <production>

RAILS_ENV=production rails assets:precompile
 
PREVIOUS NEXT
Tagged: #rails #assets #precompile #staging #flag #command
ADD COMMENT
Topic
Name
9+5 =