unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* unicorn_rails in a loop of not starting...
@ 2010-06-09 12:51 Philip Ingram
  2010-06-09 18:43 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Ingram @ 2010-06-09 12:51 UTC (permalink / raw)
  To: mongrel-unicorn

Hi,

Sorry for the subject, just  not sure what is going on and how to describe it.

Problem:
-------------
When running unicorn_rails in my RAILS_ROOT directory (the same one where the script/server command runs fine) i get terminal printout  saying:
==================
unicorn_rails worker[0] --path /Users/me/current_project/project -l0.0.0.0:8080 must be run inside RAILS_ROOT: #<LoadError: no such file to load -- config/boot>
I, [2010-06-09T08:42:50.154457 #22383]  INFO -- : reaped #<Process::Status: pid 22384 exit 1> worker=0
I, [2010-06-09T08:42:50.155261 #22383]  INFO -- : worker=0 spawning...
I, [2010-06-09T08:42:50.158954 #22385]  INFO -- : worker=0 spawned pid=22385
I, [2010-06-09T08:42:50.159520 #22385]  INFO -- : Refreshing Gem list
unicorn_rails worker[0] --path /Users/me/current_project/project -l0.0.0.0:8080 must be run inside RAILS_ROOT: #<LoadError: no such file to load -- config/boot>
I, [2010-06-09T08:42:51.216077 #22383]  INFO -- : reaped #<Process::Status: pid 22385 exit 1> worker=0
I, [2010-06-09T08:42:51.217098 #22383]  INFO -- : worker=0 spawning...
I, [2010-06-09T08:42:51.220027 #22386]  INFO -- : worker=0 spawned pid=22386
I, [2010-06-09T08:42:51.220538 #22386]  INFO -- : Refreshing Gem list
====================

Background:
------------------
I am running Rails 2.3.8, Ruby 1.9.2-head and have both rack (1.1.0, 1.0.1) installed, or else rails won't boot up for some silly reason.  (I.e., if i uninstall 1.1.0, rails cries that it needs 1.0.1).
I am also running unicorn (0.990.0) (fresh install) .  All of this through rvm 0.1.37.

Am i missing some installation steps that aren't described in the README/github page?
running unicorn_rails in my root directory should just work right?

Thanks.
Phililp


_______________________________________________
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] 2+ messages in thread

* Re: unicorn_rails in a loop of not starting...
  2010-06-09 12:51 unicorn_rails in a loop of not starting Philip Ingram
@ 2010-06-09 18:43 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2010-06-09 18:43 UTC (permalink / raw)
  To: unicorn list

Philip Ingram <philip@ingraminternet.com> wrote:
> Hi,
> 
> Sorry for the subject, just  not sure what is going on and how to describe it.
> 
> Problem:
> -------------
> When running unicorn_rails in my RAILS_ROOT directory (the same one where the script/server command runs fine) i get terminal printout  saying:
> ==================
> unicorn_rails worker[0] --path /Users/me/current_project/project -l0.0.0.0:8080 must be run inside RAILS_ROOT: #<LoadError: no such file to load -- config/boot>

<snip>

Hi Philip,

> I am running Rails 2.3.8, Ruby 1.9.2-head and have both rack (1.1.0,
> 1.0.1) installed, or else rails won't boot up for some silly reason.
> (I.e., if i uninstall 1.1.0, rails cries that it needs 1.0.1).  I am
> also running unicorn (0.990.0) (fresh install) .  All of this through
> rvm 0.1.37.

Try the prerelease on Rubygems.org: unicorn 0.990.0.5.gbfb1 `gem install
--pre unicorn`.  Ruby 1.9.2 no longer has '.' in its default
$LOAD_PATH, so instead of "require 'config/boot'" we have to do
"require ::File.expand_path('config/boot')"

> Am i missing some installation steps that aren't described in the
> README/github page?  running unicorn_rails in my root directory should
> just work right?

I'm not sure which github page you're referring to without the full URL,
but the official docs are online at http://unicorn.bogomips.org/ (and
always distributed with the source tree).

Anyways, the prerelease should help and not introduce any regressions.
I plan on having 0.991.0 out in the next day or two.

-- 
Eric Wong
_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2010-06-09 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-09 12:51 unicorn_rails in a loop of not starting Philip Ingram
2010-06-09 18:43 ` Eric Wong

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).