Environment variabels unaccessible from rails -


i building rails application have initial configuration files use environment variables, , i'm using cloud9 ide. setting environment variables using export, yet when server running rails tells me parameter value supposed 1 of environment variables missing, , when used debugger, env["var_name"] returns nothing. ideas why? when run echo $var_name in bash, returns correct value.

edit: when run console --sandbox, environment variables available. in controller not available.

i fixed adding export var_name=var_value in .bashrc.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -