Sha256: 37801146b0b9d6c41b82cfe7d560779ea1248e19091b47e06ee3e0cc1bad0656

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

#!/usr/bin/env sh

export PORT="${PORT:-3000}"

if command -v overmind 1> /dev/null 2>&1
then
  overmind start -f Procfile.dev "$@"
  exit $?
fi

if command -v hivemind 1> /dev/null 2>&1
then
  echo "Hivemind is installed. Running the application with Hivemind..."
  exec hivemind Procfile.dev "$@"
  exit $?
fi

if gem list --no-installed --exact --silent foreman; then
  echo "Installing foreman..."
  gem install foreman
fi

foreman start -f Procfile.dev "$@"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inertia_rails-contrib-0.3.0 lib/generators/inertia/install/templates/dev
inertia_rails-contrib-0.2.2 lib/generators/inertia/install/templates/dev
inertia_rails-contrib-0.2.1 lib/generators/inertia/install/templates/dev
inertia_rails-contrib-0.2.0 lib/generators/inertia/install/templates/dev