unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* unicorn_rails and rails 2.3.8
@ 2010-09-07 19:29 Matt Smith
  2010-09-11 15:42 ` Edho P Arief
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Smith @ 2010-09-07 19:29 UTC (permalink / raw)
  To: mongrel-unicorn

First off, I love unicorn. Thanks to all who have worked on it.

For the first time, I am trying to run a rails 2.3 app with unicorn. I don't understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below.

Much thanks!

Matt

config/environment.rb
...
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
...

ruby-1.9.2-p0 repositories/rails_apps/fat_free_crm[master]% unicorn_rails
I, [2010-09-07T12:20:54.342354 #9085]  INFO -- : reaped #<Process::Status: pid 9087 exit 1> worker=0
I, [2010-09-07T12:20:54.343368 #9085]  INFO -- : worker=0 spawning...
I, [2010-09-07T12:20:54.348304 #9088]  INFO -- : worker=0 spawned pid=9088
I, [2010-09-07T12:20:54.349106 #9088]  INFO -- : Refreshing Gem list
Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 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.
^CI, [2010-09-07T12:20:56.514921 #9085]  INFO -- : reaped #<Process::Status: pid 9088 exit 1> worker=0
I, [2010-09-07T12:20:56.515901 #9085]  INFO -- : master complete


ruby-1.9.2-p0 repositories/rails_apps/fat_free_crm[master]% gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0, 3.0.0.rc, 2.3.8)
actionpack (3.0.0, 3.0.0.rc, 2.3.8)
activemodel (3.0.0, 3.0.0.rc)
activerecord (3.0.0, 3.0.0.rc, 2.3.8)
activeresource (3.0.0, 3.0.0.rc, 2.3.8)
activesupport (3.0.0, 3.0.0.rc, 2.3.8)
arel (1.0.1, 0.4.0)
builder (2.1.2)
bundler (1.0.0.rc.5)
capistrano (2.5.19)
cucumber (0.8.5)
cucumber-rails (0.3.2)
diff-lcs (1.1.2)
erubis (2.6.6)
gherkin (2.1.5)
god (0.11.0)
highline (1.6.1)
hoe (2.6.2)
i18n (0.4.1)
json_pure (1.4.6)
mail (2.2.5)
mime-types (1.16)
mysql (2.8.1)
mysql2 (0.2.3)
net-scp (1.0.3)
net-sftp (2.0.5)
net-ssh (2.0.23)
net-ssh-gateway (1.0.1)
nokogiri (1.4.3.1)
paperclip (2.3.3)
polyglot (0.3.1)
rack (1.2.1, 1.1.0)
rack-mount (0.6.13, 0.6.12, 0.6.11)
rack-test (0.5.4)
rails (3.0.0, 3.0.0.rc, 2.3.8)
railties (3.0.0, 3.0.0.rc)
rake (0.8.7)
rdoc (2.5.11)
rspec (2.0.0.beta.20)
rspec-core (2.0.0.beta.20)
rspec-expectations (2.0.0.beta.20)
rspec-mocks (2.0.0.beta.20)
rspec-rails (2.0.0.beta.20)
rubyforge (2.0.4)
sqlite3-ruby (1.3.1)
term-ansicolor (1.0.5)
test-unit (1.2.3)
thor (0.14.0)
treetop (1.4.8)
trollop (1.16.2)
tzinfo (0.3.23)
unicorn (1.1.3, 1.1.2)
webrat (0.7.2.beta.1)




_______________________________________________
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 and rails 2.3.8
  2010-09-07 19:29 unicorn_rails and rails 2.3.8 Matt Smith
@ 2010-09-11 15:42 ` Edho P Arief
  0 siblings, 0 replies; 2+ messages in thread
From: Edho P Arief @ 2010-09-11 15:42 UTC (permalink / raw)
  To: unicorn list

On Wed, Sep 8, 2010 at 2:29 AM, Matt Smith <matts@morgansound.com> wrote:
> First off, I love unicorn. Thanks to all who have worked on it.
>
> For the first time, I am trying to run a rails 2.3 app with unicorn. I don't understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below.
>
> rack (1.2.1, 1.1.0)

You probably want to install rack 1.0.1 and then create a copy of
unicorn_rails startup script and modify it to force load rack of that
version.

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
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-09-11 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 19:29 unicorn_rails and rails 2.3.8 Matt Smith
2010-09-11 15:42 ` Edho P Arief

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