thx to all for great assitance...<br><br>i managed to solve the problem. After carefully reading dreamhost wiki some problems disappeared but there were still gem spesific issues. With some googling these were also resolved.
<br><br>what i did is that i installed every gem to my local path. <br>vendorizing was good option but i would be happy to see shared gems between applications....<br><br>installing ruby customly to my account wasnt a good option because i didnt need that much flexiblity.
<br><br>with regards to hosting, i am happy with DH so far because i havent done anything changing the world yet ;)<br>while having experience with more production issues then probably i will knock out the door of a professional rails hoster...
<br><br>nice weekend<br>mesut<br><br><div><span class="gmail_quote">2007/11/27, Peter De Berdt (10-forward) <<a href="mailto:peter@10-forward.be">peter@10-forward.be</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><span class="q">
<br><div><div>On 27 Nov 2007, at 12:38, Arne Brasseur wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
You should also be aware that Dreamhost will kill any FastCGI processes that use more than a certain amount of memory. Any users that were being served at that time will get a "Server 500" error. Some people have come up with solutions, take a look at this:
<br><br><a href="http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2</a>
<br><br>And keep if possible the memory footprint of your apps small. Also make a seperate user account for every app. The memory usage is counted per user.<br><br>Personally I'm a bit disappointed in DH. They should give better Ruby support considering they use it as a selling point.
</span></blockquote></div><br></span><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
Same goes for most other cheap shared hosting solutions, like a2hosting etc. Also, they claim to offer you mongrel deployment, which in itself isn't really a lie, but it means they'll give you one single mongrel to serve your rails app on using a simple ProxyPass and ProxyPassReverse directive in the Apache configuration. Cheap hosting is all about making the most noise of how many features their hosting servers have, but in reality, it's a lot of noise for a very flaky service (and it gets a lot worse if you want support for your rails deployment).
</span></div><div><br></div><div>Example of what might happen: we tried running a fairly simple Rails app (simple website) on both DH and a2hosting (customer insisted on this cheap solution), but it used RMagick to do some thumbnailing. Both hosting companies killed the rails process as soon as RMagick kicked in from the acts_as_attachment plugin, attachment_fu didn't exist at that time (while they clearly stated i could use rmagick in our presales questionnaire). We then hacked acts_as_attachment to use minimagick instead, which did seem to keep up the site, but then the server started failing on a daily basis because of "DDoS attacks" their Indian based support company will use as an excuse whenever something goes wrong on the server. On top of that, a server restart didn't restart the mongrel automatically at a2hosting.
</div><div><br></div><div>You're simply better off looking for a decent Rails hosting company like openminds in belgium or some of the others regularly mentioned on the rails mailing list and cough up the few extra € a month, keeping your sanity is worth the higher price. Or even better, learn the basics of linux and get a vps if you can afford it.
</div><div><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div><br></div><div style="margin: 0px;">Best regards.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">Peter De Berdt</div><div style="margin: 0px;">
Research & Development</div><div style="margin: 0px;">Software Expert</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">______________________</div><div style="margin: 0px;"><b style="font-weight: bold;">
<span style="font-weight: bold;">10-forward</span></b></div><div style="margin: 0px;">Zwarteweg 28</div><div style="margin: 0px;">B-8433 Middelkerke<span> </span></div><div style="margin: 0px;">Mobile : (0473) 38 35 86</div>
<div style="margin: 0px;"><a href="mailto:info@10-forward.be" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">info@10-forward.be</a></div><div style="margin: 0px;"><a href="http://www.10-forward.be" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.10-forward.be</a></div><div style="margin: 0px;">______________________</div><div style="margin: 0px;"><br></div><br></span> </div><br></div><br>_______________________________________________<br>Brug-talk mailing list
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Brug-talk@rubyforge.org">Brug-talk@rubyforge.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/brug-talk" target="_blank">
http://rubyforge.org/mailman/listinfo/brug-talk</a><br><br></blockquote></div><br>