unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Unicorn can't find gems?
@ 2010-01-19 21:42 Steve Klabnik
  2010-01-19 21:48 ` Eric Wong
  2010-01-19 21:56 ` David Palm
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Klabnik @ 2010-01-19 21:42 UTC (permalink / raw)
  To: mongrel-unicorn

Hello all. I've run into a strange problem with Unicorn, and Google
couldn't help me out. Basically, I'm going to switch from Passenger to
Unicorn for the next release of my Rails app. I installed it on my
local machine, and it ran great. But then, as I was building my new
server to deploy on, I ran into a snag.

When I run 'unicorn_rails', I got a strange error. Here's the output
of 'unicorn_rails -d' :

$ unicorn_rails -d
{:daemonize=>false,
 :unicorn_options=>{:listeners=>[]},
 :app=>
  #<Proc:0x000000000216dad0@/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/unicorn-0.96.0/bin/unicorn_rails:124>}
Exception `Errno::EEXIST' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/1.8/fileutils.rb:243 -
File exists - tmp/cache
Exception `Errno::EEXIST' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/1.8/fileutils.rb:243 -
File exists - tmp/pids
Exception `Errno::EEXIST' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/1.8/fileutils.rb:243 -
File exists - tmp/sessions
Exception `Errno::EEXIST' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/1.8/fileutils.rb:243 -
File exists - tmp/sockets
I, [2010-01-19T21:25:09.748670 #30184]  INFO -- : listening on
addr=0.0.0.0:8080 fd=3
Exception `LoadError' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31
- no such file to load -- Win32API
Exception `LoadError' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38
- no such file to load -- Win32API
I, [2010-01-19T21:25:09.758670 #30184]  INFO -- : worker=0 spawning...
I, [2010-01-19T21:25:09.768670 #30184]  INFO -- : master process ready
I, [2010-01-19T21:25:09.768670 #30185]  INFO -- : worker=0 spawned pid=30185
I, [2010-01-19T21:25:09.828670 #30185]  INFO -- : Refreshing Gem list
Exception `Gem::LoadError' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems.rb:280
- can't activate rack (~> 1.0.0, runtime) for ["actionpack-2.3.5",
"rails-2.3.5"], already activated rack-1.1.0 for ["unicorn-0.96.0"]
Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`,
update your RAILS_GEM_VERSION setting in config/environment.rb for the
Rails version you do have installed, or comment out RAILS_GEM_VERSION
to use the latest version installed.
Exception `Errno::EAGAIN' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:436
- Resource temporarily unavailable
I, [2010-01-19T21:25:09.918670 #30184]  INFO -- : reaped
#<Process::Status: pid=30185,exited(1)> worker=0
Exception `Errno::ECHILD' at
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:454
- No child processes

And then it just repeats.

I'm using ree both locally and on the server (as you can see), but I'm
using it through rvm locally.

Any idea what this might be?

Thanks,
Steve
_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2010-01-19 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 21:42 Unicorn can't find gems? Steve Klabnik
2010-01-19 21:48 ` Eric Wong
2010-01-19 22:01   ` Steve Klabnik
2010-01-19 21:56 ` David Palm

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