Sha256: 2b29dfbe57cdfc7c220544754a8d4964af2a48a25fb4c1b9cf70aafd8f941fac

Contents?: true

Size: 508 Bytes

Versions: 16

Compression:

Stored size: 508 Bytes

Contents

module Initial
  class GemfileGenerator < Rails::Generators::Base
    def add_gems
      gem 'russian'
      gem 'sidekiq'
      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

16 entries across 16 versions & 1 rubygems

Version Path
teleporter-1.0.2 lib/generators/initial/gemfile.rb
teleporter-1.0.1 lib/generators/initial/gemfile.rb
teleporter-1.0.0 lib/generators/initial/gemfile.rb
teleporter-0.1.0 lib/generators/initial/gemfile.rb
teleporter-0.0.34 lib/generators/initial/gemfile.rb
teleporter-0.0.33 lib/generators/initial/gemfile.rb
teleporter-0.0.32 lib/generators/initial/gemfile.rb
teleporter-0.0.31 lib/generators/initial/gemfile.rb
teleporter-0.0.30 lib/generators/initial/gemfile.rb
teleporter-0.0.29 lib/generators/initial/gemfile.rb
teleporter-0.0.28 lib/generators/initial/gemfile.rb
teleporter-0.0.27 lib/generators/initial/gemfile.rb
teleporter-0.0.26 lib/generators/initial/gemfile.rb
teleporter-0.0.25 lib/generators/initial/gemfile.rb
teleporter-0.0.24 lib/generators/initial/gemfile.rb
teleporter-0.0.23 lib/generators/initial/gemfile.rb