Skip to content

Specify RACK_ENV=production in .bash_profile#184

Merged
swanson merged 1 commit intostringer-rss:masterfrom
jiehanzheng:patch-1
Jun 4, 2013
Merged

Specify RACK_ENV=production in .bash_profile#184
swanson merged 1 commit intostringer-rss:masterfrom
jiehanzheng:patch-1

Conversation

@jiehanzheng
Copy link
Copy Markdown
Contributor

Otherwise, when you run bundle exec foreman start, you would get:

20:01:43 web.1 | rake aborted!
20:01:43 web.1 | SQLite3::SQLException: no such table: delayed_jobs: UPDATE
"delayed_jobs" SET "locked_by" = NULL, "locked_at" = NULL WHERE "delayed_jobs"."
locked_by" = 'host:us1 pid:5179'

...indicating that we are not in production env, and it is using the sqlite database.

Otherwise, when you run `bundle exec foreman start`, you would get:

20:01:43 web.1     | rake aborted!
20:01:43 web.1     | SQLite3::SQLException: no such table: delayed_jobs: UPDATE 
"delayed_jobs" SET "locked_by" = NULL, "locked_at" = NULL WHERE "delayed_jobs"."
locked_by" = 'host:us1 pid:5179'

...indicating that we are not in production env, and it is using the sqlite database.
swanson pushed a commit that referenced this pull request Jun 4, 2013
Specify RACK_ENV=production in .bash_profile
@swanson swanson merged commit 1f0f1fa into stringer-rss:master Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants