Permalink
Browse files

simplify gem building in the future

  • Loading branch information...
1 parent 4ef7eba commit 6d73a096bcc606878f7bbad51b4484c3c4d3cd1f @atmos committed Oct 14, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 Rakefile
View
@@ -8,3 +8,4 @@ bin
vendor
.bundle
*.gem
+Gemfile.lock
View
@@ -39,7 +39,7 @@ spec = Gem::Specification.new do |s|
s.email = EMAIL
s.homepage = HOMEPAGE
- bundle = Bundler::Definition.from_gemfile('Gemfile')
+ bundle = Bundler::Definition.build('Gemfile', 'Gemfile.lock', { })
bundle.dependencies.each do |dep|
next unless dep.groups.include?(:runtime)
s.add_dependency(dep.name, dep.version_requirements.to_s)

0 comments on commit 6d73a09

Please sign in to comment.