Skip to content

Commit

Permalink
changed conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrees committed Jun 15, 2012
1 parent dec91b2 commit 137a19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linode_local_ip_dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def log msg
end
end

if (defined? Rails and Rails.env.development?) or true
if (defined? Rails and Rails.env.development?) || (!defined? Rails)

require 'json'
require 'open-uri'
Expand Down

0 comments on commit 137a19b

Please sign in to comment.