You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be aware that you also need to tell Rails about the relative URL root during asset compilation. The simplest way to do this is to set the RAILS_RELATIVE_URL_ROOT environment variable.
For example, if you're using Capistrano, you can add the following to your config/depploy.rb file, replacing /blog with the relevant sub-URI:
set :default_env, { rails_relative_url_root: '/blog' }