lib/language_pack/middleman.rb
def create_implicit_gemfile
    no_gemfile_warning
    File.open('Gemfile', 'w') { |f| f.write default_gemfile_contents }
    File.open('Gemfile.lock', 'w') { |f| f.write '' }
  end
# Called when there is no Gemfile.
Called when there is no Gemfile.
Called when there is no Gemfile .
def create_implicit_gemfile
    no_gemfile_warning
    File.open('Gemfile', 'w') { |f| f.write default_gemfile_contents }
    File.open('Gemfile.lock', 'w') { |f| f.write '' }
  end
def create_implicit_gemfile no_gemfile_warning File . open ( 'Gemfile' , 'w' ) { | f | f . write default_gemfile_contents } File . open ( 'Gemfile.lock' , 'w' ) { | f | f . write '' } end
Called when there is no Gemfile.
Called when there is no Gemfile .