From 94b8665fd864010b405e2518cbc3e809f1b1be5b Mon Sep 17 00:00:00 2001 From: Suyeol Jeon Date: Sat, 9 May 2015 00:16:30 +0900 Subject: [PATCH] Add Gemfile --- .gitignore | 2 ++ Gemfile | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 Gemfile diff --git a/.gitignore b/.gitignore index 3cace62..234bcac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .DS_Store +.bundle *.gem +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..bad4c4f --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +source "https://rubygems.org" + +# runtime dependencies from gemspec +gemspec = File.read("cocoaseeds.gemspec") +gemspec.scan(/(?<=s\.add_runtime_dependency ).*/).each do |dependency| + eval "gem #{dependency}" +end