Linked Questions

0 votes
1 answer
131 views

I tried to deploy my application on VPS but got an error: ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit` I added my ...
SsPay's user avatar
  • 191
1231 votes
51 answers
1.2m views

TL;DR: How do I export a set of key/value pairs from a text file into the shell environment? For the record, below is the original version of the question, with examples. I'm writing a script in bash ...
hugo19941994's user avatar
  • 12.5k
28 votes
6 answers
52k views

So I am trying to get my rails app to deploy in production mode, but I get the error: Missing secret_token and secret_key_base for 'production' environment, set these values in config/secrets.yml My ...
nvrpicurnose's user avatar
29 votes
7 answers
22k views

In other rails projects, I'd have a local database.yml and in source code repository only commit the database.sample file. When deploying, a capistrano script that would symlink a shared version of ...
Homan's user avatar
  • 27k
8 votes
3 answers
10k views

With the release of the secrets.yml file, I removed my reliance on Figaro and moved all of my keys to secrets.yml and added that file to .gitignore. But when I tried to push to Heroku, Heroku said ...
iTake's user avatar
  • 315
8 votes
2 answers
15k views

So I am trying to deploy my rails app in production. When I go to the page I get a 500 error. When I go to my error logs I get the following error: Exception RuntimeError in Rack application object (...
Bill Garrison's user avatar
4 votes
1 answer
4k views

I got using puma instead of rails s to work fine for awhile, but then while developing and making code changes and refreshing at some point the refresh wasn't working, delaying for a long time. I ...
Laser's user avatar
  • 5,479
2 votes
2 answers
7k views

When I navigate to my Rails production site, I get: *** Exception RuntimeError in Rack application object (Missing `secret_key_base` for 'production' environment, set this value in `config/secrets....
resting's user avatar
  • 17.7k
6 votes
2 answers
12k views

Can someone please help? My stack is ubuntu-server 14.04 with nginx/passenger and ruby 2.2.2. I can't manage to make my project work in production. Everything runs ok in development. secrets.yml ...
Radolino's user avatar
  • 1,854
6 votes
1 answer
4k views

I see all answers for this solution but no worked for me. 1 - My configuration deploy is equal this tutorial by DigitalOcean (Capistrano 3, Nginx, and Puma), with deploy success, i have error in my ...
Adriano Resende's user avatar
4 votes
1 answer
1k views

I received the error "An unhandled lowlevel error occurred" when deploying my app for the first time on Heroku, and heroku logs shows: Missing secret_key_base for 'production' environment, set this ...
SexxLuthor's user avatar
  • 4,586
6 votes
1 answer
1k views

There doesn't seem to be a configuration option for the secrets.yml check even if I am running Rails as a JSON API Puma caught this error: Missing secret_token and secret_key_base for 'production' ...
Edward's user avatar
  • 141
0 votes
1 answer
950 views

First, I was getting a "precompile" error and I have solved it running this code RAILS_ENV=production bundle exec rake assets:precompile Second I needed to add a code for the database run in ...
Lucas Mint's user avatar
0 votes
0 answers
866 views

So this issue is pretty straight forward: ** Exception RuntimeError in Rack application object (Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`) (...
user3379926's user avatar
  • 3,955
0 votes
1 answer
677 views

I have Rails 4.1.6 app on Passanger (Shared host). Quite a while I worked in development, but now I switched to production. In environment.rb: ENV['RAILS_ENV'] = 'production' then touch tmp/...
Edgars's user avatar
  • 1,053

15 30 50 per page