Sha256: 2545866a8152169f9a30c6ae7a14f77d679ee4d5172110f50fc63d8034b3bc90
Contents?: true
Size: 604 Bytes
Versions: 26
Compression:
Stored size: 604 Bytes
Contents
#!/bin/bash set -e export JETS_MEGA=1 # Figure out where this script is located. PROJECTDIR="`dirname \"$0\"`" PROJECTDIR="`cd \"$PROJECTDIR/..\" && pwd`" unset BUNDLE_IGNORE_CONFIG # When jets packages the app code it creates .bundle/config in the project root. # We want that to be used. # Drop a pidfile # echo $$ > /tmp/jets-rackup.pid # Run the actual app using the bundled Ruby interpreter, with Bundler activated. if [ -n "$C9_USER" ]; then exec ruby -rbundler/setup bin/rackup.rb "$@" else exec "$PROJECTDIR/bundled/rbenv/shims/ruby" -rbundler/setup "$PROJECTDIR/bin/rackup.rb" "$@" fi
Version data entries
26 entries across 26 versions & 1 rubygems