Skip to content

Commit

Permalink
Added gem list to gemfile script
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanth committed May 11, 2013
1 parent 70a975d commit 0f2e5d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions makegem.rb
@@ -0,0 +1,8 @@
def make_gemfile
[:each_default,:each_normal].flat_map { |sym|
Gem::Specification.to_enum(sym).map{|spec|
"gem \"#{spec.name}\", :version => \"#{spec.version}\""
}
}
end

0 comments on commit 0f2e5d6

Please sign in to comment.