Sha256: 431928afe2c2d3883c27d6948afb8a8b20127c7100ec6f7c91a9b8614b4e3b4f

Contents?: true

Size: 488 Bytes

Versions: 6

Compression:

Stored size: 488 Bytes

Contents

module Initial
  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

6 entries across 6 versions & 1 rubygems

Version Path
teleporter-1.2.4 lib/generators/initial/gemfile.rb
teleporter-1.2.3 lib/generators/initial/gemfile.rb
teleporter-1.2.2 lib/generators/initial/gemfile.rb
teleporter-1.2.1 lib/generators/initial/gemfile.rb
teleporter-1.1.1 lib/generators/initial/gemfile.rb
teleporter-1.1.0 lib/generators/initial/gemfile.rb