Skip to content

Instantly share code, notes, and snippets.

@vhodges
Created October 25, 2010 21:19
Show Gist options
  • Save vhodges/645784 to your computer and use it in GitHub Desktop.
Save vhodges/645784 to your computer and use it in GitHub Desktop.
Allow for local additions to a Gemfile.
if File.exists?("Gemfile.local")
begin
contents = File.read("Gemfile.local")
eval(contents)
rescue Exception => e
puts "Exception = #{e.inspect}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment