Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created April 29, 2015 23:56
Show Gist options
  • Save yorickpeterse/c11894718f7621ca12f8 to your computer and use it in GitHub Desktop.
Save yorickpeterse/c11894718f7621ca12f8 to your computer and use it in GitHub Desktop.
NUMBER=10
require 'dotenv'
Dotenv.load('.env')
puts ENV['NUMBER'] # this should display "10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment