Sha256: 3d16f04831d40eb403a53a4c3f26a5cadcf358f14d3fd6d624861aabe987b165

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

require "rails/generators"

module Suspenders
  class JsonGenerator < Rails::Generators::Base
    def add_oj
      gem "oj"
      Bundler.with_clean_env { run "bundle install" }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
suspenders-1.50.0 lib/suspenders/generators/json_generator.rb