unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* running unicorn under rvm
@ 2010-08-17  1:29 Joseph McDonald
  2010-08-17  3:52 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph McDonald @ 2010-08-17  1:29 UTC (permalink / raw)
  To: mongrel-unicorn

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
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-18  1:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  1:29 running unicorn under rvm Joseph McDonald
2010-08-17  3:52 ` Eric Wong
2010-08-17 22:37   ` Joseph McDonald
2010-08-18  1:08     ` Eric Wong
2010-08-18  1:22   ` Joseph McDonald

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).