« Return to Thread: Deployment on Dreamhost - Application Error

Re: Deployment on Dreamhost - Application Error

by Matt Harrison-3 :: Rate this Message:

Reply to Author | View in Thread


Tony Stricker wrote:

> Pepe Junty wrote:
>> First off, deployment is not trivial so if you are an intern you should
>> be doing this under the supervision of a more experienced
>> developer/system adm. In other words, your boss made a mistake and
>> assigned you to the wrong position or is deliberately using you as cheap
>> workforce (which happens a lot, btw).
>> My suggestion is that you talk to your boss and ask him/her to hire some
>> kind of special support from Dreamhost to get this done because as an
>> intern you don't have the necessary experience.
>
> my boss asked me to make some web forms for us to sign up new affiliates
> and customers with - i made the decision to learn rails on my own.  as
> an intern, i'm given a lot of freedom which i couldn't be more grateful
> for.  the web forms weren't urgent, and i was looking for a learning
> experience.  i had heard about how intuitive/convenient rails was and
> decided that i would take the time to learn it.  that's why i really
> like my boss and my internship - he gives me the opportunity to learn.
> if had any idea how much of a nightmare it would be to deploy this, i
> wouldn't have even considered doing this.  we're a small, start-up
> company so just "hiring some special support" isn't an option.  this was
> my own mistake, i really really really just want to fix it.
>
> i called dispatch.fcgi and this is what i got -
>
> [catwoman]$ cd /home/tstrick4/holidayautosasia.pooldrive.com/log
> [catwoman]$ tail -f fastcgi.crash.log
> [07/Jul/2009:16:15:52 :: 2998] starting
> [07/Jul/2009:16:22:00 :: 2998] Dispatcher failed to catch:  (Interrupt)
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:77:in
> `each'
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:77:in
> `process_each_request'
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:76:in
> `catch'
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:76:in
> `process_each_request'
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:51:in
> `process!'
>   /home/tstrick4/.gem/ruby/1.8/gems/rails-2.3.2/lib/fcgi_handler.rb:23:in
> `process!'
>   ./dispatch.fcgi:32
> stopping after unhandled signal
>
>
> my code is attached, if it helps. i really appreciate any help you guys
> can give me, i've been google searching and trying to figure this out
> for a week.

AFAIK, Dreamhost no long use fcgi. They moved over to Passenger some
months ago.

They do have several wiki articles about deploying rails apps to their
passenger servers. Unfortunately I don't have the links to hand.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Deployment on Dreamhost - Application Error