Created
September 18, 2012 22:59
-
-
Save rubyonrailstutor/3746568 to your computer and use it in GitHub Desktop.
env variables
This file contains hidden or 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
app.rb calls | |
use OmniAuth::Builder do | |
provider :twitter, ENV['TWITTER_CONSUMER_KEY'], ENV['TWITTER_CONSUMER_SECRET'] | |
end | |
and cat ~/.bashrc | |
is | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
export TWITTER_CONSUMER_KEY=yyyy | |
export TWITTER_CONSUMER_SECRET=xxxx | |
Heroku ENV calls are working correctly but locally this technique is not working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you reload the console? If you change your .bashrc file you either need to reload that file with 'source .bashrc' or reopen a new terminal window.