lib/language_pack/middleman.rb
def create_implicit_config_ru
    unless File.exist?('config.ru')
      log("create_config_ru") do
        topic("Creating default config.ru for #{name}")
        File.open('config.ru', 'w') { |f| f.write config_ru_contents }
      end
    end
  end
# This creates an implicit config.ru (Rackup) file in case the project didn't come with one.
This creates an implicit config.ru (Rackup) file in case the project didn't come with one.
This creates an implicit config . ru ( Rackup ) file in case the project didn ' t come with one .
def create_implicit_config_ru
    unless File.exist?('config.ru')
      log("create_config_ru") do
        topic("Creating default config.ru for #{name}")
        File.open('config.ru', 'w') { |f| f.write config_ru_contents }
      end
    end
  end
def create_implicit_config_ru unless File . exist? ( 'config.ru' ) log ( "create_config_ru" ) do topic ( "Creating default config.ru for #{name}" ) File . open ( 'config.ru' , 'w' ) { | f | f . write config_ru_contents } end end end
This creates an implicit config.ru (Rackup) file in case the project didn't come with one.
This creates an implicit config . ru ( Rackup ) file in case the project didn ' t come with one .