formula_creator.rb: add bundle install
and additional dependency comment
This commit is contained in:
parent
c49cdc260c
commit
cff9a565b6
@ -202,11 +202,14 @@ module Homebrew
|
||||
<% elsif @mode == :ruby %>
|
||||
ENV["GEM_HOME"] = libexec
|
||||
|
||||
# Additional dependency from gem
|
||||
# resources.each do |r|
|
||||
# system "gem", "install", r.cached_download, "--ignore-dependencies",
|
||||
# "--no-document", "--install-dir", libexec
|
||||
# end
|
||||
|
||||
system "bundle", "config", "set", "without", "development", "test"
|
||||
system "bundle", "install"
|
||||
system "gem", "build", "\#{name}.gemspec"
|
||||
system "gem", "install", "\#{name}-\#{version}.gem"
|
||||
bin.install libexec/"bin/\#{name}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user