Forum: JRuby Rails 4.2 URI::InvalidURIError

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Andy J. (Guest)
on 2015-02-11 13:15
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: (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

  get "signup"

Should be

  get "/signup"

Hopefully this will save someone some head-scratching.
This topic is locked and can not be replied to.