2013-10-20 85 views
1
[email protected]:~$ bluepill stop 
Error: There are no running bluepill daemons. 
To start a bluepill daemon, use: bluepill load 
[email protected]:~$ bluepill load 
/home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `exists?': no implicit conversion of nil into String (TypeError) 
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `' 
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `load' 
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `' 
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval' 
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `' 

我想知道我該如何啓動bluepill,謝謝!如何在VPS(數字海洋)上啓動藍圖?

回答

0

我不喜歡這樣:

$ crontab -l 

這會工作,如果你使用INSTALL-ubuntu.md

安裝的話語:

$ /usr/local/rvm/bin/bootup_bluepill --no-privileged stop 
$ /usr/local/rvm/bin/bootup_bluepill --no-privileged quit 
$ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ROOT=/var/www/discourse RAILS_ENV=production NUM_WEBS=2 /usr/local/rvm/bin/bootup_bluepill --no-privileged -c ~/.bluepill load /var/www/discourse/config/discourse.pill 

最後一個命令你可以從這個命令的輸出獲得