We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7d56d commit 183d3ccCopy full SHA for 183d3cc
bin/prod-console
@@ -0,0 +1,10 @@
1
+#!/usr/bin/env bash
2
+
3
+set -x
4
5
+if [[ -n $RAILS_ENV && $RAILS_ENV != "development" ]]; then
6
+ echo "Refusing to run in $RAILS_ENV environment."
7
+ exit 1
8
+fi
9
10
+fly ssh console -C "app/bin/rails c"
0 commit comments