Framework support
Dotvault for Ruby on Rails
Dotvault for Ruby on Rails apps.
Rails has its own encrypted credentials system, but most real-world projects still lean on .env files for local development, CI, and Docker deploys. Dotvault gives you a proper editor for those files, detects Rails projects automatically, and plays nicely with dotenv-rails.
What you get
- →Detects Rails via Gemfile.
- →Recognises common Rails env vars: DATABASE_URL, RAILS_ENV, SECRET_KEY_BASE.
- →Snapshot history and diff between environments.
Known environment variables
Dotvault recognises these variables when you open a Ruby on Rails project and surfaces helpful descriptions and warnings in the editor. Ruby on Rails is detected via rails in Gemfile.
RAILS_ENVRails environment (development/production/test)
RACK_ENVRack environment (mirrors RAILS_ENV)
SECRET_KEY_BASERequiredSecret key for session cookies and encryption
DATABASE_URLDatabase connection URL
REDIS_URLRedis connection URL
RAILS_LOG_LEVELLog level (debug/info/warn/error)
RAILS_SERVE_STATIC_FILESServe static files from /public
RAILS_LOG_TO_STDOUTLog to stdout instead of file
RAILS_MASTER_KEYMaster key for credentials encryption
RAILS_MAX_THREADSPuma max threads
WEB_CONCURRENCYPuma worker count
PORTServer listen port
BINDINGServer bind address (0.0.0.0 for Docker)
PIDFILEPath to Puma PID file
LANGSystem locale for encoding
BUNDLE_WITHOUTBundler groups to exclude
ACTIVE_STORAGE_SERVICEActive Storage service name
ACTION_CABLE_ADAPTERAction Cable adapter (redis/async/postgresql)
SOLID_QUEUE_IN_PUMARun Solid Queue inside Puma process
RAILS_INBOUND_EMAIL_PASSWORDPassword for Action Mailbox ingress
Official Ruby on Rails docs: guides.rubyonrails.org