Hi all, I want to transfer a rails project (still under development) from my aptop to my pc. I copied the project folder into the ruby directory on my pc and ran it with mongrel (ran successfully). However, when I try to access the site through the browser, the pages won''t display. What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I dont think you can just copy the application folder over. Try running the rails <app_name> command on your pc and then copy the app folder over and all other files that you may have changed (routes, db.yaml...etc) I have never done this myself, so let me know how it goes :)> am I doing wrong?-- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It is custom to copy the folder from one location to another and then adjust the database.yml if required and other dependent configuration settings. How do you verify that your application on pc using mongrel is running? What database are you using? What is the contents of application log file (considered the environment)? Give us some more information so we can help you. On Dec 22, 10:27 pm, Maulin Pathare <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I dont think you can just copy the application folder over. Try running > the > rails <app_name> command on your pc and then copy the app folder over > and all other files that you may have changed (routes, db.yaml...etc) > > I have never done this myself, so let me know how it goes :) > > > am I doing wrong? > > -- > Posted viahttp://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
what do you mean by the browser just came up nothing? or is there any hint about the errors.. showing us whatever it displayed maybe helpful and by the way modifying you database.yml file is recommanded just after you maved the project directory. so check that first. On Dec 23, 3:27 am, Shockmeister <B00020...-oe7qfRrRQfe0UHL9wTsh4w@public.gmane.org> wrote:> Hi all, > > I want to transfer a rails project (still under development) from my > aptop to my pc. I copied the project folder into the ruby directory on > my pc and ran it with mongrel (ran successfully). However, when I try > to access the site through the browser, the pages won''t display. What > am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi guys, Sorry for the delay in replying. Thanks for your replies. It was indeed my database.yml that was giving the problem. Its now working perfectly. Thanks again, Stephen. On Dec 23, 12:08 am, deuxpas <sweare...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> what do you mean by the browser just came up nothing? or is there any > hint about the errors.. > > showing us whatever it displayed maybe helpful > > and by the way > > modifying you database.yml file is recommanded just after you maved > the project directory. > > so check that first. > > On Dec 23, 3:27 am, Shockmeister <B00020...-oe7qfRrRQfe0UHL9wTsh4w@public.gmane.org> wrote: > > > > > Hi all, > > > I want to transfer a rails project (still under development) from my > > aptop to my pc. I copied the project folder into the ruby directory on > > my pc and ran it with mongrel (ran successfully). However, when I try > > to access the site through the browser, the pages won''t display. What > > am I doing wrong?- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---