RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: texrus
I'm on Ubuntu. I thought the environment settings would be saved in a Ruby application config file. I guess I was wrong. I should just save this in ~/.profile? Is that safe? Thanks weblee and murdoch for the help.
Can someone point me in the right direction on how to set up environment variables in rails?
Where for example would ENV["GMAIL_USERNAME"] = 'secret' be saved?
I am using Sublime Text 2 beta (because I use Ubuntu). Any ideas if Sublime Text 2 has a color wheel / palette like Ryan got to work in Textmate?
Also, I was kind of looking for some help on configuring and browsing though a list of snippets that Ryan uses for Textmate. Anyone know anything about that? I'm a bit tired of typing <%= %> and I'm not sure I want to switch to haml.