Class: Bundler::Geminabox::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bundler/geminabox/cli.rb

Defined Under Namespace

Classes: Gem

Instance Method Summary collapse

Instance Method Details

#gem(name) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/bundler/geminabox/cli.rb', line 13

def gem(name)
  Bundler::CLI.start(ARGV, :debug => true)

  require 'bundler/geminabox/cli/gem'
  self.class.source_root(File.join(__dir__, 'templates'))
  Gem.new(options, name, self).run
end