title: why am i getting "undefined method `strip' for nil:NilClass" when i'm not calling the strip method?
body: <p>I'm building a rudimentary app using the Twilio API, and have reached a block when using figaro to store account_sid and auth_token as environment variables in application.yml.</p>
  
  <p>In my controller I have: </p>
  
  <pre><code>require 'twilio-ruby'
  require 'figaro'
  class TwilioController &lt; ApplicationController
  
  def voice   
  account_sid = ENV["TWILIO_ACCOUNT_SID"]
  auth_token = ENV["TWILIO_AUTH_TOKEN"]
  @client = Twilio::REST::Client.new account_sid, auth_token
  
  message = @client.account.sms.messages.create(:body =&gt; "Hello",
  :to =&gt; "+12345678",
  :from =&gt; "+12345678")
  puts message.sid
  end
  end 
  </code></pre>
  
  <p>And in config/application.yml I have: </p>
  
  <pre><code># TWILIO_ACCOUNT_SID: 1234567890
  # TWILIO_AUTH_TOKEN: 1234567890
  </code></pre>
  
  <p>The program works as intended when I replace the env variables with actual values, so the most I'm able to grasp at the moment is that something is preventing those variables from being set.</p>