Ruby Rails 1.9.4-perf Zeus服务器不工作,死掉

时间:2012-09-17 10:53:02

标签: ruby rbenv zeus

终端输出:

joe@peteimac:~
> zeus start
Starting Zeus server
ready   : boot
died    : boot

:在此之后它不会退出,它似乎只是挂起......

Zeus就像Spork一样。它允许您在后台加载应用程序,因此测试之类的东西运行得非常快。 https://github.com/burke/zeus

我和我的同事正努力让它发挥作用。以下是您要在全新Mac上输入的命令列表,以便达到我现在的状态,但也许我错过了什么?

MIGHTY LIST

#The github links below contain guides, this assumes they are followed, with the exception that variables go in .zshrc rather than .zshenv
#Install ZSH | https://github.com/robbyrussell/oh-my-zsh | This means I ditch paths into .zshrc rather than .bash_profile etc
#Install RBENV | https://github.com/sstephenson/rbenv | Colleague using RVM is also having problemos
#Install ruby-build | https://github.com/sstephenson/ruby-build | handy for installing ruby versions
#Continue setting up RBENV and install Bundler | https://gist.github.com/1384279 | Bundler manages the gems, no need for rbenv bundler
# Install patched ruby version using Rbenv and ruby-build | https://gist.github.com/1688857 | "rbenv versions" should show something like:
> rbenv versions
  1.9.3-p194
* 1.9.3-p194-perf (set by /Users/joe/.rbenv/version)
# Rehash
rbenv rehash
# Reload .zshrc, as have added parameters to it following the gist guide for installing 194-perf
exec $SHELL
# Zeus expects a few things, rails should install to ~/.rbenv/versions/1.9.3-p194-perf/bin i think
gem install rails
# The init file Zeus.json mentions cucmber and rspec, so they need to be install globally in rbenv rather than just locally bundled in your projects
gem install cucumber
gem install rspec
rbenv rehash
zeus init
zeus start
# Later, when I get zeus to work globally, I will:
##git pull project_stuff to ~/my_project
cd my_project
rbenv local 1.9.3-p194-perf
bundle install
rbenv rehash
zeus init
zeus start

还尝试重新启动

解决方案摘要

这个问题是因为我试图在主文件夹而不是my_project文件夹中启动zeus。在那里做它会产生不同的错误,它会挂起。已移至https://stackoverflow.com/questions/12473539/ruby-rails-1-9-4-zeus-server-hangs-after-zeus-start

1 个答案:

答案 0 :(得分:1)

rails server首先适用吗?