Sha256: 979f8b9f111c3b9a3b501fa8c969c9d4ce5ad6b56ea63bf7413d71fe15cc4296

Contents?: true

Size: 392 Bytes

Versions: 18

Compression:

Stored size: 392 Bytes

Contents

class Fanforce::AppFactory::CLI::Bundler
  include Fanforce::AppFactory::CLI::Utils

  attr_reader :app

  def initialize(app)
    @app = app
  end

  def setup
    if Gem::Specification::find_all_by_name('bundler').empty?
      puts 'Installing Bundler... '
      `gem install bundler`
      puts 'DONE'
    end

    console_command('bundle', true)
    puts 'DONE'.format(:green)
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fanforce-app-factory-2.0.0.rc38 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc37 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc36 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc35 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc34 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc33 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc32 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc31 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc30 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc29 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc27 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc26 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc25 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc24 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc23 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc22 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc21 lib/fanforce/app_factory/cli/lib/bundler.rb
fanforce-app-factory-2.0.0.rc20 lib/fanforce/app_factory/cli/lib/bundler.rb