Software Development
Pages
Home
About
Contact
Monday, July 02, 2018
How to configure Capistrano 3 to play with Rails staging / production console
1. Add:
gem 'capistrano-rails-console', require: false
to Gemfile and bundle.
2. Add:
require 'capistrano/rails/console'
to Capfile.
3. Run:
cap production rails:console
to play in production rails console.
Newer Post
Older Post
Home