tag:blogger.com,1999:blog-2544828409875322943.post4838073438175610893..comments2023-04-05T16:20:20.442+02:00Comments on 21 croissants' Blog: Deploying a rails application on site5Jean-Michelhttp://www.blogger.com/profile/12541109166975793396noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2544828409875322943.post-9446584586807890522009-06-02T13:21:54.028+02:002009-06-02T13:21:54.028+02:00Ok, but what I should do, when I use Git?Ok, but what I should do, when I use Git?Ravicioushttps://www.blogger.com/profile/12531484733956845336noreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-30804320564487761352008-02-19T02:42:00.000+01:002008-02-19T02:42:00.000+01:00Hi - thanks so much for sharing your experiences ...Hi - thanks so much for sharing your experiences and offering help.<BR/><BR/>After many hours (days) I narrowed my deploy down to one error, then I found your post. Running deploy check now runs 'clean'<BR/><BR/>-command finished<BR/>-You appear to have all necessary <BR/>-dependencies installed<BR/><BR/>However when I run deploy cold it just hangs on the following:<BR/><BR/>>cap deploy:cold<BR/> * executing `deploy:cold'<BR/> * executing `deploy:update'<BR/> ** transaction: start<BR/> * executing `deploy:update_code'<BR/><BR/>Anyone have any ideas? I am new to Ruby and RoR.<BR/><BR/>Thanks so much!<BR/><BR/>AshleyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-58426989891839857662008-02-09T06:01:00.000+01:002008-02-09T06:01:00.000+01:00Thank you for your code.I noticed that the skill -...Thank you for your code.<BR/><BR/>I noticed that the skill -9 command doesn't find any of my dispatch.fcgi processes.<BR/><BR/>I get the error message:<BR/>Couldn't find any process matching: dispatch.fcgi<BR/><BR/>When I type ps -ef | grep username, I see this:<BR/><BR/>/usr/bin/ruby dispatch.fcgi<BR/><BR/>I've tried using various forms of the skill command, but can't seem to kill those pesky dispatch.fcgi<BR/><BR/>Thanks for the code, and please post back if anyone finds a way of restarting the dispatch.fcgi process.<BR/><BR/><BR/>I see this:Natehttps://www.blogger.com/profile/00773454927466319650noreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-22517786622483572542008-02-08T07:26:00.000+01:002008-02-08T07:26:00.000+01:00Right on! I had to comment out the migration line...Right on! I had to comment out the migration lines as it was throwing errors during deployment and then backing out at the end. The chmod stuff seems to be the culprit though, as I was able to get my app to make a few short appearances. <BR/>I did a rake rails:freeze:gems (rails 2.0.2) along the way, do you think I don't need that anymore, or should I leave it since it's working?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-86245421331808356132008-02-04T08:09:00.000+01:002008-02-04T08:09:00.000+01:00Hi,Do a quick search on "cdispatch" in your script...Hi,<BR/><BR/>Do a quick search on "cdispatch" in your script. Did you miss a space there?<BR/><BR/>Otherwise, this is by far the best example I've seen. I think it is the only one that worked with site5 and the latest version of capistrano (2.1) for me. It was those chmod's that did the trick!! No other deploy.rb file I tried had those. <BR/><BR/>Thanks a million!<BR/>BrianBrian Armstronghttps://www.blogger.com/profile/03584050342779359779noreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-28147440266879218952007-11-19T22:35:00.000+01:002007-11-19T22:35:00.000+01:00Thanks dude, you helped me out with that post :-)Thanks dude, you helped me out with that post :-)MattRobertshttps://www.blogger.com/profile/04440691535499069107noreply@blogger.comtag:blogger.com,1999:blog-2544828409875322943.post-66634214929684775972007-04-04T17:16:00.000+02:002007-04-04T17:16:00.000+02:00FYI you can just override the set_permissions task...FYI you can just override the set_permissions task so you dont have to reset permissions. e.g.<BR/><BR/>task :set_permissions do<BR/> donothing = true<BR/>endAnonymousnoreply@blogger.com