hashicorp / vault-rails

A Rails plugin for easily integrating Vault secrets
Mozilla Public License 2.0
339 stars 53 forks source link

undefined method `request_uri' URI::Generic #115

Closed voodoologic closed 3 years ago

voodoologic commented 3 years ago

I followed the readme and ran into the following error.
vault-0.16.0/lib/vault/client.rb:243 Similarly, the error is discussed in this issue

Am I using a version of Rails that is unsupported?

voodoologic commented 3 years ago

For anyone else. If you come across this issue, the problem is that your initialization file for vault. The domain name needs to contain the scheme ('http://' or 'https://'). Without the scheme you will get this error.