Class: Monoz::Services::BundleService

Inherits:
BaseService show all
Defined in:
lib/monoz/services/bundle_service.rb

Instance Method Summary collapse

Methods inherited from BaseService

call, #initialize

Constructor Details

This class inherits a constructor from Monoz::Services::BaseService

Instance Method Details



6
7
8
9
10
11
# File 'lib/monoz/services/bundle_service.rb', line 6

def link_local_gems!(projects)
  Monoz.projects.filter("gems").each do |gem|
    command = "monoz bundle config local.#{gem.gem_name} #{gem.root_path}"
    Monoz::Services::RunService.new(self).call(projects, *command.split(" "))
  end
end