Sha256: 575d833040bf98fce4a6b2384d3da0b1073fb76d88f5b691ad4aeab86e3ee509

Contents?: true

Size: 531 Bytes

Versions: 22

Compression:

Stored size: 531 Bytes

Contents

# The OpenShift AppBuilder automatically resolves any issues between 
class AppBuilder < Rails::AppBuilder

  def configru
    # get rid of the default config.ru from torquebox-openshift; Rails will replace it.
    remove_file 'config.ru'
    super
  end
  
  def readme
    # move the default Rails README to README.rails, since OSE provides one as well.
    copy_file 'README', 'README.rails'
  end
  
  def gitignore
    remove_file '.gitignore'
    super
    append_file '.gitignore', <<-DOC
java_to_ruby.rb
    DOC
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
torquebox-server-2.0.0.beta2-java share/rails/openshift_app_builder.rb
torquebox-server-2.0.0.beta1-java share/rails/openshift_app_builder.rb