Re: [Rails] Rails with Phusion Passenger and Apache

2012-10-07 Thread Norbert Melzer
2012/10/7 Mandeep Kaur : > 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 questions. -- You

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 wrote: > On Sun, Oct 7, 2012 at 7:20 AM, Mandeep Kaur wrote: > >> ** [deploy:update_code] exception while rolling back: >> Capistrano::ConnectionError, connection failed for: mandeep >> (Net::SSH::AuthenticationFailed: mandy) >> >> How to solve thi

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 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 so you can logi

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 wrote: > On Sun, Oct 7, 2012 at 6:41 AM, Mandeep Kaur wrote: > >> Here i have confusion about repository. Its github repository or something >> else? > > It's the repository for your code. > Done! This is solved. But getting another error of **

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 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 http://about.me/hassanschroeder twitter: @hassan

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 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: Capistrano::ConnectionError, connection failed

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 wrote: > On Sun, Oct 7, 2012 at 6:00 AM, Mandeep Kaur wrote: > >> ** transaction: start >> * executing `deploy:update_code' >> Please specify the repository that houses your application's code, set >> :repository, 'foo' > > Have you tried doing

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 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, that's where I w

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 wrote: > 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 with Capistrano. I ha

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 wrote: > On Sun, Sep 30, 2012 at 4:13 AM, Norbert Melzer 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 personally would forget with eve

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 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 options; t

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 wrote: > On Mon, Oct 1, 2012 at 7:00 AM, Mandeep Kaur wrote: > >> Can I deploy app using Capistrano without Passenger? > > Yes. Is there any drawback of using it? >> I have another question that using Passenger is correct option or not? > > It's

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 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 hassan.s

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 wrote: > 2012/9/29 Mandeep Kaur : > > 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 forget with every deploy (see Hint 5 and 6

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Norbert Melzer
2012/9/30 Colin Law : > 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 the expenses? -- You

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 30 September 2012 09:42, Mandeep Kaur wrote: > On Sun, Sep 30, 2012 at 2:03 PM, Colin Law wrote: > >> Do you need the website to be accessible to the global internet or just >> locally? >> > > Global Internet. Have you considered using Heroku? Then you will not have the problems of setting

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Norbert Melzer
2012/9/30 Mandeep Kaur : > 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 have you done on yo

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 wrote: > 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 the Google Groups "Ruby

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 30 September 2012 09:28, Mandeep Kaur wrote: > On Sun, Sep 30, 2012 at 1:47 PM, Colin Law wrote: > >>> 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

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 wrote: >> 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 trying to achieve. > I w

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-30 Thread Colin Law
On 29 September 2012 05:08, Mandeep Kaur 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 trying to achieve. C

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
2012/9/29 Mandeep Kaur : > > 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 documentation of pass

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 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 at this point? What

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 wrote: > On Sat, Sep 29, 2012 at 10:03 AM, Mandeep Kaur wrote: > > 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 > your site? > Then how can I access site witho

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 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 Passenger, it should be lis

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 wrote: > 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 that. But can i link my

Re: [Rails] Rails with Phusion Passenger and Apache

2012-09-29 Thread Norbert Melzer
2012/9/29 Mandeep Kaur : > 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 works is one thing, se

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 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 since it seems tha

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 tha

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 wrote: > > 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 name you > want to use and

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 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 apparently don't k

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 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 > nothing. You hav

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 /etc/host

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" : > Hello All, > > I

[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 https://