3

I have a rails app on cloud9.

I try running its server like this: rails server -b $IP -p $PORT

It seems to work:

=> Call with -d to detach                                                                                                                                                                               
=> Ctrl-C to shutdown server                                                                                                                                                                            
[2013-04-23 22:29:02] INFO  WEBrick 1.3.1                                                                                                                                                               
[2013-04-23 22:29:02] INFO  ruby 1.9.3 (2012-11-10) [x86_64-linux]                                                                                                                                      
[2013-04-23 22:29:02] INFO  WEBrick::HTTPServer#start: pid=21452 port=8080                                                                                                                              


 Cloud9  Your application is running at https://twitter.itp301.c9.io    

But when I go to https://twitter.itp301.c9.io, it redirects to http://openshift.com

What's going wrong?

4

1 回答 1

1

我昨晚遇到了这个问题,现在可以运行它。看起来一切都解决了!

于 2013-04-24T13:56:08.677 回答