Class: Jets::Generators::GemGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/jets/gem/gem_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_gem_fileObject



14
15
16
17
18
# File 'lib/generators/jets/gem/gem_generator.rb', line 14

def create_gem_file
  directory(".", "gems/#{name}")

  chmod "engines/#{name}/bin/console", 0o755, verbose: false
end