[jruby-user] Rails 4.2 URI::InvalidURIError

5 views
Skip to first unread message

Andy Joel

unread,
Feb 11, 2015, 6:15:59 AM2/11/15
to us...@jruby.codehaus.org
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


Reply all
Reply to author
Forward
0 new messages