So, This is a Fuck Up that's yet to be solved. It's a geeky fuck up, so just go to the TL;DR version of this, if you are not interested!
Ruby on Rails is great, right? Amazing code clarity, great gems and gems for almost everything out there. Easy to build, and test on localhost! A great testing library! RSpec, Rake and what not. But then, I had to get this application out on the internet for the public. And Bam! I forgot all about how great RoR was!
I had to deploy Phusion Passenger from inside an institute. We have server here, and a pain in the ass too, a proxy server to connect to the internet (Yeah, that's I am connecting through to post this now!) With proxy servers, come fuck ups. I SSH into the server, install apache2 and passenger, get started with everything that I had to do. Documentation open on the browser, terminal in another workspace, I was all set to FLY! Bam, hit a wall! Things not working, Apache not restarting, the 503 error, the No Data recd error! And when finally, I got it working, turns out the server is listening only on localhost! So, basically, everyone inside the institute can access this website, but anyone outside, NAH! Hard luck, people!
One thing that got iterated due to this, was probably that I start loving Heroku even more than I did before!
TL;DR I tried to deploy a RoR app on Phusion Passenger. Failed, and decided that Heroku was the best thing that was ever created. (After RoR itself, of course!)
Submitted by http://www.wapmaxi.com/category/trending/
No comments:
Post a Comment