Sha256: c29868f3fe5b68481b57a19452f60003ebf94c8cdb95f2efe612dceab3b3d572

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

module Teleport
  class GemfileGenerator < Rails::Generators::Base
    def add_gems
      gem 'russian'
      gem 'puma'
      gem 'haml-rails'
      gem 'therubyracer'

      gem_group :development do
        gem 'quiet_assets'
      end

      Bundler.with_clean_env do
        run "bundle install"
      end
      insert_into_file "config/application.rb", before: "  end\nend\n" do
%Q{
    config.time_zone = 'Moscow'
    config.i18n.default_locale = :ru

}
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
teleporter-2.0.11 lib/generators/teleport/gemfile.rb
teleporter-2.0.10 lib/generators/teleport/gemfile.rb
teleporter-2.0.9 lib/generators/teleport/gemfile.rb
teleporter-2.0.8 lib/generators/teleport/gemfile.rb
teleporter-2.0.7 lib/generators/teleport/gemfile.rb
teleporter-2.0.6 lib/generators/teleport/gemfile.rb
teleporter-2.0.4 lib/generators/teleport/gemfile.rb
teleporter-2.0.2 lib/generators/teleport/gemfile.rb
teleporter-2.0.1 lib/generators/teleport/gemfile.rb
teleporter-2.0.0 lib/generators/teleport/gemfile.rb