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 %>
|
<% elsif @mode == :ruby %>
|
||||||
ENV["GEM_HOME"] = libexec
|
ENV["GEM_HOME"] = libexec
|
||||||
|
|
||||||
|
# Additional dependency from gem
|
||||||
# resources.each do |r|
|
# resources.each do |r|
|
||||||
# system "gem", "install", r.cached_download, "--ignore-dependencies",
|
# system "gem", "install", r.cached_download, "--ignore-dependencies",
|
||||||
# "--no-document", "--install-dir", libexec
|
# "--no-document", "--install-dir", libexec
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
system "bundle", "config", "set", "without", "development", "test"
|
||||||
|
system "bundle", "install"
|
||||||
system "gem", "build", "\#{name}.gemspec"
|
system "gem", "build", "\#{name}.gemspec"
|
||||||
system "gem", "install", "\#{name}-\#{version}.gem"
|
system "gem", "install", "\#{name}-\#{version}.gem"
|
||||||
bin.install libexec/"bin/\#{name}"
|
bin.install libexec/"bin/\#{name}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user