2012-04-17 57 views
0

嗨,大家好我最近从设置我的本地环境后,从git hub git://github.com/barmstrong/ribbot.git下载了一个开放源代码“ribbot”我能够获得代码在我的本地机器上运行。我决定使用heroku作为我的网站基础解决方案,并安装了herokulabs。当运行的网站,我得到以下的Heroku记录错误:Heroku上的Rails MongoDb项目不会启动

2012-04-17T16:51:34+00:00 heroku[web.1]: Unidling 
    2012-04-17T16:51:34+00:00 heroku[web.1]: State changed from down to created 
    2012-04-17T16:51:35+00:00 heroku[web.1]: State changed from created to starting 
    2012-04-17T16:51:46+00:00 heroku[web.1]: Starting process with command `bundle exec 2012-04-17T16:51:58+00:00 app[web.1]: [2012-04-17 16:51:58] INFO WEBrick::HTTPServer#start: pid=1 port=5078 
2012-04-17T16:51:58+00:00 app[web.1]: [2012-04-17 16:51:58] INFO WEBrick 1.3.1 
2012-04-17T16:51:58+00:00 app[web.1]: [2012-04-17 16:51:58] INFO ruby 1.9.2 (2011-07-09) [x86_64-linux] 
2012-04-17T16:51:59+00:00 heroku[web.1]: State changed from starting to up 
2012-04-17T16:52:01+00:00 app[web.1]: => Call with -d to detach 
2012-04-17T16:52:01+00:00 app[web.1]: => Rails 3.1.1 application starting in production on http://0.0.0.0:5078 
2012-04-17T16:52:01+00:00 app[web.1]: => Booting WEBrick 
2012-04-17T16:52:01+00:00 app[web.1]: => Ctrl-C to shutdown server 
2012-04-17T16:52:01+00:00 app[web.1]: localhost:11211 failed (count: 0) 
2012-04-17T16:52:01+00:00 app[web.1]: 
2012-04-17T16:52:01+00:00 app[web.1]: 
2012-04-17T16:52:01+00:00 app[web.1]: Started GET "/" for 208.124.140.154 at 2012-04-17 16:52:01 +0000 
2012-04-17T16:52:01+00:00 app[web.1]: cache: [GET /] miss 
2012-04-17T16:52:01+00:00 app[web.1]: Redirected to http://herokuapp.com/forums 
2012-04-17T16:52:01+00:00 app[web.1]: Processing by PostsController#index as HTML 
2012-04-17T16:52:01+00:00 app[web.1]: Completed 302 Found in 9ms 
2012-04-17T16:52:01+00:00 heroku[router]: GET quiet-stream-2681.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=703ms status=302 bytes=93 

我mongoid.yml看起来是这样的:

development: 
    host: localhost 
    database: ribbot_development 

test: 
    host: localhost 
    database: ribbot_test 

production: 
    uri: <%= ENV['MONGOLAB_URI'] %> 

回答

0

11211端口是memcached(可能)...所以也许你正在使用的memcached并且需要为memcached添加heroku插件。

+0

我会尝试一下。非常感谢你对这个问题的更新,我已经有一段时间了。它很好,以防止它不是死胡同 – 2012-04-17 18:05:33

+0

它似乎仍然在抛出一个错误,但它确实说Dalli/SASL Authenticated – 2012-04-17 18:11:05

+0

更新您的问题与新的错误,请 – 2012-04-17 19:04:30