I try this "recipe" for capistrano DrNic
<< controller_path
published. I find it very useful to view the server logs ruby \u200b\u200bon rails using the command log cap.
code to insert into config / deploy.rb
: logs
# desc "Returns last lines of log file. Usage: cap log [-s lines = 200] [-s RAILS_ENV = production]"
task: log do lines = configuration.variables
[: lines] do - Net / https (MissingSourceFile)
< ActionController::Base
My particular install hpricot happened to me, a library for parsing HTML easily.
a workaround is to install openssl-ruby libraries:
apt-get install ruby \u200b\u200b libopenssl-
0 comments:
Post a Comment