Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Mandeep Kaur
On Mon, Oct 1, 2012 at 7:51 PM, Jordon Bedwell envyge...@gmail.com wrote: snip Yes, Capistrano can be setup to do whatever you want, including provisioning servers, though personally I prefer to deploy to a central server via Git then that server is designed to deploy, manage, I have tried it

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Hassan Schroeder
On Sun, Oct 7, 2012 at 6:00 AM, Mandeep Kaur meghasi...@gmail.com wrote: ** transaction: start * executing `deploy:update_code' Please specify the repository that houses your application's code, set :repository, 'foo' Have you tried doing what the error message tells you to do? At least,

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Mandeep Kaur
On Sun, Oct 7, 2012 at 6:55 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sun, Oct 7, 2012 at 6:00 AM, Mandeep Kaur meghasi...@gmail.com wrote: ** transaction: start * executing `deploy:update_code' Please specify the repository that houses your application's code, set

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Mandeep Kaur
On Sun, Oct 7, 2012 at 7:11 PM, Mandeep Kaur meghasi...@gmail.com wrote: Here i have confusion about repository. Its github repository or something else? I have solved this but getting anther error. Check this ** [deploy:update_code] exception while rolling back:

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Hassan Schroeder
On Sun, Oct 7, 2012 at 6:41 AM, Mandeep Kaur meghasi...@gmail.com wrote: Here i have confusion about repository. Its github repository or something else? It's the repository for your code. -- Hassan Schroeder hassan.schroe...@gmail.com

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Mandeep Kaur
On Sun, Oct 7, 2012 at 7:46 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sun, Oct 7, 2012 at 6:41 AM, Mandeep Kaur meghasi...@gmail.com wrote: Here i have confusion about repository. Its github repository or something else? It's the repository for your code. Done! This is

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Hassan Schroeder
On Sun, Oct 7, 2012 at 7:20 AM, Mandeep Kaur meghasi...@gmail.com wrote: ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: mandeep (Net::SSH::AuthenticationFailed: mandy) How to solve this? Ideally, install your ssh keys on your server

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Mandeep Kaur
On Sun, Oct 7, 2012 at 8:06 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sun, Oct 7, 2012 at 7:20 AM, Mandeep Kaur meghasi...@gmail.com wrote: ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: mandeep

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Norbert Melzer
2012/10/7 Mandeep Kaur meghasi...@gmail.com: Not getting. Not getting what? What did you expect to get, and what are you getting instead? Doesn't work or similar are the worst descriptions of an error or missbehaviour I am aware off. We can only help you, if you give appropriate reports or

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-01 Thread Mandeep Kaur
On Sun, Sep 30, 2012 at 4:13 AM, Norbert Melzer timmel...@gmail.com wrote: 2012/9/29 Mandeep Kaur meghasi...@gmail.com: snip Hint 7: Last but not least: Learn to use a deploy-tool like Capistrano or Vlad, it will make many things easier and do things automatically that I personally would

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-01 Thread Hassan Schroeder
On Mon, Oct 1, 2012 at 7:00 AM, Mandeep Kaur meghasi...@gmail.com wrote: Can I deploy app using Capistrano without Passenger? Yes. I have another question that using Passenger is correct option or not? It's just one of many options; the decision is yours. -- Hassan Schroeder

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-01 Thread Mandeep Kaur
On Mon, Oct 1, 2012 at 7:40 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Oct 1, 2012 at 7:00 AM, Mandeep Kaur meghasi...@gmail.com wrote: Can I deploy app using Capistrano without Passenger? Yes. Is there any drawback of using it? I have another question that using

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-01 Thread Hassan Schroeder
On Mon, Oct 1, 2012 at 7:16 AM, Mandeep Kaur meghasi...@gmail.com wrote: Can I deploy app using Capistrano without Passenger? Yes. Is there any drawback of using it? Not that I'm aware of. I have another question that using Passenger is correct option or not? It's just one of many

Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-01 Thread Jordon Bedwell
On Mon, Oct 1, 2012 at 9:00 AM, Mandeep Kaur meghasi...@gmail.com wrote: On Sun, Sep 30, 2012 at 4:13 AM, Norbert Melzer timmel...@gmail.com wrote: Hint 7: Last but not least: Learn to use a deploy-tool like Capistrano or Vlad, it will make many things easier and do things automatically that I

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 29 September 2012 05:08, Mandeep Kaur meghasi...@gmail.com wrote: Hello All, I want to start Rails3 app with apache and passenger Just to make sure that you really want to do this can you explain why you want to run with apache and passenger? Please try and explain exactly what you are

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Mandeep Kaur
On Sun, Sep 30, 2012 at 1:47 PM, Colin Law clan...@googlemail.com wrote: snip I want to start Rails3 app with apache and passenger Just to make sure that you really want to do this can you explain why you want to run with apache and passenger? Please try and explain exactly what you are

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 30 September 2012 09:28, Mandeep Kaur meghasi...@gmail.com wrote: On Sun, Sep 30, 2012 at 1:47 PM, Colin Law clan...@googlemail.com wrote: snip I want to start Rails3 app with apache and passenger Just to make sure that you really want to do this can you explain why you want to run with

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Mandeep Kaur
On Sun, Sep 30, 2012 at 2:03 PM, Colin Law clan...@googlemail.com wrote: snip Do you need the website to be accessible to the global internet or just locally? Global Internet. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Norbert Melzer
2012/9/30 Mandeep Kaur meghasi...@gmail.com: Global Internet. I told you the necessary steps in a mail above. What exactly is not working? I had neither Rails nor Passenger experience at all when I sat it up the first time. I was finished in a couple of minutes. So please tell us, which steps

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 30 September 2012 09:42, Mandeep Kaur meghasi...@gmail.com wrote: On Sun, Sep 30, 2012 at 2:03 PM, Colin Law clan...@googlemail.com wrote: snip Do you need the website to be accessible to the global internet or just locally? Global Internet. Have you considered using Heroku? Then you

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Norbert Melzer
2012/9/30 Colin Law clan...@googlemail.com: Have you considered using Heroku? Then you will not have the problems of setting up, maintaining, and especially the securrity issues, of trying to run your own server. I gave him this tip earlier, it seems that he refuses it. Probably feared by

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
Please give us a little bit more information, doesn't work is somewhat wage... What error messages do you get, the show us the bits of your configuration. Which Version of Ubuntu are you running? Post anything more I have forgotten Am 29.09.2012 06:08 schrieb Mandeep Kaur meghasi...@gmail.com:

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
When you say domain. Com in the apache configuration than only apache is aware of this domain. Firefox just uses the standard way and try to look up that name via DNS. Since it can't find anything it says that there is nothing. You have to use local host instead or add that domain to your

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Mandeep Kaur
On Sat, Sep 29, 2012 at 5:26 PM, Norbert Melzer timmel...@gmail.com wrote: When you say domain. Com in the apache configuration than only apache is aware of this domain. Firefox just uses the standard way and try to look up that name via DNS. Since it can't find anything it says that there is

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Hassan Schroeder
On Sat, Sep 29, 2012 at 6:40 AM, Mandeep Kaur meghasi...@gmail.com wrote: I want to build a website using RoR and for that I have to start it for all time and to do that I want to use passenger. Now what can I do for that? Your problem has nothing to do with RoR or Passenger; it's that you

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Mandeep Kaur
On Sat, Sep 29, 2012 at 7:28 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: snip Please go read something about the Domain Name System (DNS). Then register a domain name for your project so name servers can find it. Ok, Thanks. In the meantime, for your own testing purposes, put the

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
Is that server an Ubuntu too? If not many things in configuring apache can differ, at least the files are located somewhere else. Also the needed dependencies for passenger will have other package names. But since it seems that you not really know what you are doing, I really would suggest you

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Mandeep Kaur
On Sat, Sep 29, 2012 at 9:34 PM, Norbert Melzer timmel...@gmail.com wrote: Is that server an Ubuntu too? Yes If not many things in configuring apache can differ, at least the files are located somewhere else. Also the needed dependencies for passenger will have other package names. But

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
2012/9/29 Mandeep Kaur meghasi...@gmail.com: I don't think Its the right choice to pay someone for doing that. I will try it and hopefully run that too. Anyways thanks for your help. Believe me it is, I had to learn that the hard way a couple of years ago! Setting up a webserver that it

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Mandeep Kaur
On Sat, Sep 29, 2012 at 10:21 PM, Norbert Melzer timmel...@gmail.com wrote: snip Don't repeat mistakes that others did. Make your own, but make them different! Thanks for sharing your experience. I will take care about that. Although I am a student and learning RoR so I am not able to afford

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Hassan Schroeder
On Sat, Sep 29, 2012 at 10:03 AM, Mandeep Kaur meghasi...@gmail.com wrote: Although I am a student and learning RoR so I am not able to afford that. I think you missed the point of that story :-) But can i link my site to ipaddress:3000 on which rails app is running? If you're using

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Mandeep Kaur
On Sat, Sep 29, 2012 at 10:40 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sat, Sep 29, 2012 at 10:03 AM, Mandeep Kaur meghasi...@gmail.com wrote: snip If you're using Passenger, it should be listening on port 80. Why would you want people to have to add a port # to the URL of

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Hassan Schroeder
On Sat, Sep 29, 2012 at 2:44 PM, Mandeep Kaur meghasi...@gmail.com wrote: Then how can I access site without port. Please give some idea how can I do this? I'd imagine it's the default for a Passenger installation, but it's been a long time since I configured one. What is not working for you

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
2012/9/29 Mandeep Kaur meghasi...@gmail.com: Then how can I access site without port. Please give some idea how can I do this? When your Apache is configured to listen on port 80 AND apache is configured to serve a certain VirtualHost via Passenger, THEN no port in the URL is needed. The

[Rails] Rails with Phusion Passenger and Apache

2012-09-28 Thread Mandeep Kaur
Hello All, I want to start Rails3 app with apache and passenger but I am not able to do that. I have followed some links but for me its not working or I am not getting it properly. Here the links that I have followed: http://nathanhoad.net/how-to-ruby-on-rails-ubuntu-apache-with-passenger