Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Alexander Toder's Profile

GitHub User: atoder

Site: http://www.alextoder.com

Comments by Alexander Toder

Avatar

Check out how I load YAML file config for a basic http authentication in my tutorial
http://aflexsystem.com/how-to-create-a-simple-admin-control-panel-with-ruby-on-rails-in-less-than-9-minutes/

You can use

ruby
if File.exists?(File.expand_path('../application.yml', __FILE__))

to check if the file exists first.. and set your heroku variables manually