ruby - How do I send a variable between Capistrano and Rails? -
i have rails app deployed capistrano , in our acceptance environment want set page title include branch deployed.
the branch set on deploy via capistrano , i'd migrate info cap rails somehow.
obviously can cap write branch name out file , read in rails, i'm hoping there's better solution.
i've tried couple experiments setting default_environment hasn't seemed work i'm assuming because environment variables present in shells capistrano creates.
any suggestions?
obviously can cap write branch name out file , read in rails
that's best way, imo
Comments
Post a Comment