Hi i am new on this ruby track . I need help . I have a Web Application in Ruby on Rails application named ''myapplication '' which is running on the server . InstantRails is used. If i want to make a replica application named ''myapplication_test'' in same server the what i need to do ...Please suggest ASAP. It''s urgent .!!!!! -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2011-Oct-18 19:20 UTC
Re: Can i run Ruby Web Application by Renaming application ?
On 18 October 2011 16:34, Chopo <santanuguha2006-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi i am new on this ruby track . I need help . > > I have a Web Application in Ruby on Rails application named > ''myapplication '' which is running on the server . InstantRails is > used. > > If i want to make a replica application named ''myapplication_test'' in > same server the what i need to do ...Please suggest ASAP. It''s > urgent .!!!!!Just copy the complete application and it should run. Of course it will access the same database unless you change config/database.yml (unless it is an sqlite db stored within the application). 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Norm Scherer
2011-Oct-19 02:34 UTC
Re: Can i run Ruby Web Application by Renaming application ?
On 10/18/2011 12:20 PM, Colin Law wrote:> On 18 October 2011 16:34, Chopo<santanuguha2006-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Hi i am new on this ruby track . I need help . >> >> I have a Web Application in Ruby on Rails application named >> ''myapplication '' which is running on the server . InstantRails is >> used. >> >> If i want to make a replica application named ''myapplication_test'' in >> same server the what i need to do ...Please suggest ASAP. It''s >> urgent .!!!!! > Just copy the complete application and it should run. Of course it > will access the same database unless you change config/database.yml > (unless it is an sqlite db stored within the application). > > Colin >Just copy InstantRails\rails_apps\myapplication InstantRails\rails_apps\myapplication_test As colin said you will need to change database.yml and define a new database to avoid conflicts. -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.