I am learning Ruby on rails and wanted to import my git repo to Cloud9 to continue working over there.
https://github.com/christoph88/sample_app
I imported it. Did a bundle install, rake db:migrate, rake test:prepare and everything seemed to work fine.
Until I try to register or login. Then I get following error. I read somewhere it has to do with the routes but I do not understand.
Can somebody help me locate the problem? (and explain it to me) Thanks!
SQL (0.4ms) UPDATE "users" SET "remember_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["remember_token", "92add7938701a70880243cf9ca88338d37b1a0ae"], ["updated_at", Fri, 29 Aug 2014 10:21:28 UTC +00:00]]
(13.2ms) commit transaction
Redirected to https://sample_app-c9-christoph88.c9.io/users/1
Completed 302 Found in 88ms (ActiveRecord: 13.9ms)
[2014-08-29 10:21:28] ERROR URI::InvalidURIError: the scheme https does not accept registry part: sample_app-c9-christoph88.c9.io (or bad hostname?)
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/uri/generic.rb:1203:in `rescue in merge'
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/uri/generic.rb:1200:in `merge'
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpresponse.rb:276:in `setup_header'
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpresponse.rb:206:in `send_response'
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:110:in `run'
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'