[jruby-user] Rails 4.2 URI::InvalidURIError
Andy Joel <[email protected]> Wed, 11 Feb 2015 12:15:29 +0100
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
I was getting this error in my integration tests, and Google failed to
shine a light.
URI::InvalidURIError: the scheme http does not accept registry part:
www.example.com:80reset_password (or bad hostname?)
Eventually I realised a couple of my get and post commandss were missing
the slash from the start of the URL (and Rails 4.1 had no problem with
that).
get "signup"
Should be
get "/signup"
Hopefully this will save someone some head-scratching.
--
Posted via http://www.ruby-forum.com/.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email