Passing many environment variables to Rails application ran by Unicorn Passing many environment variables to Rails application ran by Unicorn unix unix

Passing many environment variables to Rails application ran by Unicorn


You probably have to "export" the variables from within the config file. Does it work if you put

export VAR1=value1export VAR2=value2

into the config file?


I would consider using foreman, specifically for its use of .env files as defined here.