Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Ngrok for Rails 6

22 Jan 2020 » rails, blocked, real, development environment, testing

Expose him. Ngrok opens a tunnel from my local machine to the ngrok url.

  • ngrok http 3000

Rails

Rails needs a special configuration while in development for ngrok.

# app/config/environments/development.rb
Rails.application.configure do
  config.hosts << /[a-z0-9]+\.ngrok\.io/
end
© Jack Moore