Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.
Andrey Esaulov about 1 year ago
Great screencast, but I got stuck. Don't know how to set them ENV['TWITTER_KEY'] and ENV['TWITTER_SECRET'] variables. How do I set them? Is there a config file for that?
Would really be glad If anyone could help.
Reply
Kori Roys about 1 year ago
Quick and dirty:
Open .bash_profile in your favorite editor eg: mate ~/.bash_profile
Add the two ENV variables like so: export TWITTER_KEY=your_twitter_key export TWITTER_SECRET=your_twitter_secret
Save and close the file
Either quit your terminal session & restart or reload it with: source ~/.bash_profile











