Revert dependency update
There seem to be several issues here.
locally I get:
/app/vendor/ruby/2.5.0/gems/mini_racer-0.3.1/lib/mini_racer.rb:2:in `require': directory /app/vendor/ruby/2.5.0/extensions/x86_64-linux/2.5.0/mini_racer-0.3.1/mini_racer_extension.so: undefined symbol: _ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE - /app/vendor/ruby/2.5.0/extensions/x86_64-linux/2.5.0/mini_racer-0.3.1/mini_racer_extension.so (LoadError)
In prod we get:
F, [2020-09-22T16:32:18.195353 #17897] FATAL -- : [283b7694-0634-4c56-808d-76a827833cbb] ActionView::Template::Error (uninitialized constant ROTP::TOTP::Addres
sable):
F, [2020-09-22T16:32:18.195472 #17897] FATAL -- : [283b7694-0634-4c56-808d-76a827833cbb] 3: <%= t(:add_your_totp_long) %> <%= link_to 'FreeOTP+', 'https://
github.com/helloworld1/FreeOTPPlus', target: '_new' %> (<%= link_to 'Android', 'https://f-droid.org/packages/org.liberty.android.freeotpplus/', :target => '_ne
w' %> / <%= link_to 'Playstore', 'https://play.google.com/store/apps/details?id=org.liberty.android.freeotpplus', :taget => '_new' %>) | <%= link_to 'Authentic
ator', 'https://mattrubin.me/authenticator/', taget: '_new' %> (<%= link_to 'iOS', 'https://apps.apple.com/us/app/authenticator/id766157276', target: '_new' %>
)
[283b7694-0634-4c56-808d-76a827833cbb] 4: </p>
[283b7694-0634-4c56-808d-76a827833cbb] 5: <p>
[283b7694-0634-4c56-808d-76a827833cbb] 6: <div class="qr-field"><%= raw(totp_qr.as_html) %></div>
[283b7694-0634-4c56-808d-76a827833cbb] 7: <br/>
[283b7694-0634-4c56-808d-76a827833cbb] 8: Secret: <%= totp_secret %>
[283b7694-0634-4c56-808d-76a827833cbb] 9: <br/>
F, [2020-09-22T16:32:18.195499 #17897] FATAL -- : [283b7694-0634-4c56-808d-76a827833cbb]
F, [2020-09-22T16:32:18.195521 #17897] FATAL -- : [283b7694-0634-4c56-808d-76a827833cbb] config/initializers/rotp.rb:17:in `provisioning_uri'
[283b7694-0634-4c56-808d-76a827833cbb] app/controllers/tfa_controller.rb:113:in `totp_url'
[283b7694-0634-4c56-808d-76a827833cbb] app/controllers/tfa_controller.rb:108:in `totp_qr'
[283b7694-0634-4c56-808d-76a827833cbb] app/views/tfa/new_totp.html.erb:6:in `_app_views_tfa_new_totp_html_erb___4501480738013202137_70352913261040'
[283b7694-0634-4c56-808d-76a827833cbb] app/controllers/tfa_controller.rb:29:in `new_totp'
And the test are broken: https://code.immerda.ch/immerda/apps/users/-/jobs/7259