running unicorn under rvm
Joseph McDonald
superjoe at gmail.com
Mon Aug 16 21:29:34 EDT 2010
unicorn 1.1.2 runs fine under my system ruby, but when trying to run
it using rvm, I get:
% rvm use 1.8.7
info: Using ruby 1.8.7 p299
% unicorn
/home/joe/.rvm/gems/ruby-1.8.7-p299/gems/unicorn-1.1.2/lib/unicorn/configurator.rb:494:in
`eval': undefined local variable or method `host' for main:Object
(NameError)
line 494 looks like:
# XXX ugly as hell, WILL FIX in 2.x (along with Rainbows!/Zbatery)
host, port, set_listener, options, daemonize =
eval("[ host, port, set_listener, options, daemonize ]",
TOPLEVEL_BINDING)
any ideas why it would have a problem when running under rvm?
thanks,
-joe
More information about the mongrel-unicorn
mailing list