Sha256: 68a39724a4cefa0f6f42ef83528f437a27b47fc7abafca3685574ffdf2ff7860

Contents?: true

Size: 236 Bytes

Versions: 15

Compression:

Stored size: 236 Bytes

Contents

#!/bin/bash -e

<% unless skip_active_record? -%>
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
  ./bin/rails db:prepare
fi

<% end -%>
exec "${@}"

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/railties-7.1.3.4/lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.5.1 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.5 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.4.2 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.4.1 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.4 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.1.3.4/lib/rails/generators/rails/app/templates/docker-entrypoint.tt
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/railties-7.1.3.4/lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.3.4 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.3.2 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.3.1 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.3 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.2 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.1 lib/rails/generators/rails/app/templates/docker-entrypoint.tt
railties-7.1.0 lib/rails/generators/rails/app/templates/docker-entrypoint.tt