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://help.ubuntu.com/community/RubyOnRails#Configure_Apache Can anyone help me to use passenger and apache with rails3? You can also provide any useful link for that or any tutorial. Thanks in advance. Help will be appreciated. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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" <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> 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://help.ubuntu.com/community/RubyOnRails#Configure_Apache > > Can anyone help me to use passenger and apache with rails3? > You can also provide any useful link for that or any tutorial. > > Thanks in advance. > Help will be appreciated. > > -- > Mandeep Kaur > http://mandeepsimak.wordpress.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 2:26 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please give us a little bit more information, doesn''t work is somewhat > wage...Ok> What error messages do you get, the show us the bits of your configuration.I have created a virtual link for railsapp/public folder virtual hosting as mentioned in below link. http://articles.slicehost.com/2009/2/2/ubuntu-intrepid-using-mod_rails-to-serve-your-application Then it creates domain.com or www.domain.com for rails app. but when I open this in browser its not working. Look at the image. According to me, it should shows rails application but its not doing that.> Which Version of Ubuntu are you running?I am using Ubuntu 12.04, Phusion Passenger Application Server and Apache Server I just want to know how to start Rails app with passenger and apache without starting it with Webrick(Default app. server). Now can you help me? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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/hosts file. But only touch hosts when you know what you are doing. In any other case change your apache conference to use local host and use local host in the browser. But when developing local it is better to use rails s or a passenger standalone and start it via console when needed. You only need to configure mod.rails local when you want to serve an intranet Page. And that you should only do when you know what you are doing again. But if you insist, I think we can help you to get it running. Am 29.09.2012 12:44 schrieb "Mandeep Kaur" <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> On Sat, Sep 29, 2012 at 2:26 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > Please give us a little bit more information, doesn''t work is somewhat > > wage... > > Ok > > > What error messages do you get, the show us the bits of your > configuration. > > I have created a virtual link for railsapp/public folder virtual > hosting as mentioned in below link. > > http://articles.slicehost.com/2009/2/2/ubuntu-intrepid-using-mod_rails-to-serve-your-application > > Then it creates domain.com or www.domain.com for rails app. but when I > open this in browser its not working. Look at the image. > > According to me, it should shows rails application but its not doing that. > > > Which Version of Ubuntu are you running? > > I am using Ubuntu 12.04, Phusion Passenger Application Server and Apache > Server > I just want to know how to start Rails app with passenger and apache > without starting it with Webrick(Default app. server). > > Now can you help me? > > > -- > Mandeep Kaur > http://mandeepsimak.wordpress.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 5:26 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 have to use local host instead or add that domain to your > /etc/hosts file.<snip>> But if you insist, I think we can help you to get it running. >Yes for helping me :-) 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? Or their is another way to start rails app and link it to domain(website). I have server(which is Linux based) for that work and all I have to do through console mode. So help me according to that. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 6:40 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 know how the Internet works. Please go read something about the Domain Name System (DNS). Then register a domain name for your project so name servers can find it. In the meantime, for your own testing purposes, put the name you want to use and the server''s IP address in your own /etc/hosts file. (Remove it when your registered domain is in place.) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 7:28 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 name you > want to use and the server''s IP address in your own /etc/hosts file. > (Remove it when your registered domain is in place.)I have already buy a domain and server too. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 that you search someone who knows and pay him some big cks to set everything up. Or else use heroku or another well known rails hosted. You could then use the domain of your server with a redirect to heroku. Am 29.09.2012 17:54 schrieb "Mandeep Kaur" <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> On Sat, Sep 29, 2012 at 7:28 PM, Hassan Schroeder > <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 name you > > want to use and the server''s IP address in your own /etc/hosts file. > > (Remove it when your registered domain is in place.) > > I have already buy a domain and server too. > > > -- > Mandeep Kaur > http://mandeepsimak.wordpress.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 9:34 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 that you not really know what you are doing, I really > would suggest you that you search someone who knows and pay him some big cks > to set everything up. Or else use heroku or another well known rails hosted. > You could then use the domain of your server with a redirect to heroku.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. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
2012/9/29 Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> 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, setting it up that it works AND is secure another thing! I did some misconfigurations that time and opened a big security hole in my webserver. No one discovered it in the first place, but about half a year later, someone used that hole to hack my server and abuse its processing power for spam mail sending and crawling the web for more email-addresses. Another problem were the leaked database and its contents. Since my hoster realized the high CPU use after a couple of minutes he shut down that host. I was lucky about that. Since all what happened was my fault of misconfiguring the server I had to pay fees! But since the host was shut down very early I wasn''t punished for spammail but I had to pay a fee for the leaked userdata. It summarized to about 2500 € (about 3000 USD). Paying someone who knows how to configure such a webserver would have cost only a fraction, and if I had have a bigger userbase it would have been much more money! Don''t repeat mistakes that others did. Make your own, but make them different! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 10:21 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 that. But can i link my site to ipaddress:3000 on which rails app is running? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 10:03 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 listening on port 80. Why would you want people to have to add a port # to the URL of your site? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 10:40 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Sep 29, 2012 at 10:03 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > your site? >Then how can I access site without port. Please give some idea how can I do this? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Sep 29, 2012 at 2:44 PM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 *exactly* ? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
2012/9/29 Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > 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 passenger itself is very straight forward. The only mistakes you can make is to "name" the VirtualHost wrong, set the Passenger pathes wrong or put the DocumentRoot into a wrong directory. If you have none of this wrong, everything should work. Hint 1: All I say now is for PRODUCTION! Hint 2: ServerName has to be the domain you bought, or any subdomain that is resolved to the same IP-Address. Hint 3: RailsEnv shall be production Hint 4: PassengerRoot and PassengerRuby should point to the root-dirs in which the appropriate binaries are located. Hint 5: After changing apache config don''t forget to restart it, can take hours to find that damn mistake, been there, done that… Hint 6: Remember to touch that file passenger needs to recognize the updated app and restart it, after you changed something, also an error that will eat hours of your life… 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 :) ) When none of these Hints help you, you should learn how to find the various logs apache provides, there will be questions about their contents then. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On 29 September 2012 05:08, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello All, > > I want to start Rails3 app with apache and passengerJust 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. Colin> 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://help.ubuntu.com/community/RubyOnRails#Configure_Apache > > Can anyone help me to use passenger and apache with rails3? > You can also provide any useful link for that or any tutorial. > > Thanks in advance. > Help will be appreciated. > > -- > Mandeep Kaur > http://mandeepsimak.wordpress.com/ > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Sep 30, 2012 at 1:47 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 trying to achieve. >I want to design a websile using RoR. So I am able to link domain name with rails app/public folder. But application does not working as to run it we have to start it using rails server command then it starts application at idaddress:3000. So how can I link my website to that domain? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 30 September 2012 09:28, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Sep 30, 2012 at 1:47 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 trying to achieve. >> > > I want to design a websile using RoR. So I am able to link domain name > with rails app/public folder. But application does not working as to > run it we have to start it using rails server command then it starts > application at idaddress:3000. > > So how can I link my website to that domain?Do you need the website to be accessible to the global internet or just locally? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Sep 30, 2012 at 2:03 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
2012/9/30 Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> 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 your WEBSERVER to get it up and running, which messages did occur, and what is written to apaches error log when trying to open your domain? What do you see in your webbrowser then? Are there any messages in RAILS_ROOT/log/production.log? What do they say? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 30 September 2012 09:42, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Sep 30, 2012 at 2:03 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 will not have the problems of setting up, maintaining, and especially the securrity issues, of trying to run your own server. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
2012/9/30 Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>:> 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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Sep 30, 2012 at 4:13 AM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 2012/9/29 Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: ><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 forget with every deploy (see Hint 5 and 6 :) > )Can I deploy app using Capistrano without Passenger? I have another question that using Passenger is correct option or not? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Mon, Oct 1, 2012 at 7:00 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Mon, Oct 1, 2012 at 7:40 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mon, Oct 1, 2012 at 7:00 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 just one of many options; the decision is yours.OK But I want suggestion. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Mon, Oct 1, 2012 at 7:16 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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; the decision is yours. > > OK But I want suggestion.I suggest you try it and decide if it meets your requirements :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Mon, Oct 1, 2012 at 7:51 PM, Jordon Bedwell <envygeeks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 with Capistrano. I have installed it properly and also configured it. But when I open domain(mandeep) in browser it shows message: We''re sorry, but something went wrong. What does it mean? Rails application is started or not? Result of cap deploy $ cap deploy * executing `deploy'' * executing `deploy:update'' ** transaction: start * executing `deploy:update_code'' Please specify the repository that houses your application''s code, set :repository, ''foo'' *** [deploy:update_code] rolling back * executing "rm -rf /u/apps/mysite/releases/20121007124955; true" servers: ["mandeep"] Password: [mandeep] executing command command finished in 229ms Check Its correct or not. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 6:00 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 would start :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 6:55 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Oct 7, 2012 at 6:00 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 would start :-)Here i have confusion about repository. Its github repository or something else? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 7:11 PM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 for: mandeep (Net::SSH::AuthenticationFailed: mandy) connection failed for: mandeep (Net::SSH::AuthenticationFailed: mandy) How can i solve this? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 6:41 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Here i have confusion about repository. Its github repository or something else?It''s the repository for your code. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 7:46 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Oct 7, 2012 at 6:41 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: mandeep (Net::SSH::AuthenticationFailed: mandy) How to solve this? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 7:20 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 login (and use capistrano) without being prompted for a password. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Sun, Oct 7, 2012 at 8:06 PM, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Oct 7, 2012 at 7:20 AM, Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 login (and > use capistrano) without being prompted for a password. >Not getting. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
2012/10/7 Mandeep Kaur <meghasimak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> 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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.