Re: [Rails] Start another rails server from one rails application
yes i can run any system command but how can i run rails server within the server which use Mail rails app.
In main application, once user complete payment, i will run one script. In that script, new rails app will create in new directory and server should run automatically.After that i am redirecting main app page into home page.
But i am unable to run the created application server.
i check with elscriptl gem to start server in new terminal. but even there also i have one issue.
New ternimal is openning and it showing following error msg.
within my new rails application i tried the following command
- elscripto start -c 'rails:server'
"There was an error creating the child process for this terminal"
"Failed to execute child process "rails:server" (No such file or directory)"
What am i trying to do is, user can create site with this application.
On Wed, Dec 18, 2013 at 4:20 PM, Colin Law <clanlaw@gmail.com> wrote:
On 18 December 2013 10:32, saravanan p <psaravanan11.rails@gmail.com> wrote:I cannot imagine why you are trying to do this, but you can use the
> Hi Folk,
>
> I have one rails application from this I want to create another new rails
> application and start in different port.
>
> I done with creating new rails application outside of my main projects but i
> stuck with starting server...
>
> Please help or suggest any idea...
>
> now i have one idea and trying that one now but i don't know that way is
> good or not...the idea is like open new terminal window in background
> through ruby script and start the application (even this also i stuck,
> please suggest how to do this if this way is good)
ruby system command to run any script you like.
For interest could you explain why you need to start a rails server
from within another rails app?
Colin
Colin
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsUAESAQfG-TBOSh6unkKEzGftQF12o2De0oLmghZkBZw%40mail.gmail.com.
>
> Rails -v 4.0.1
>
> Thanks,
> Saravanan P
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/9c4e54a2-7746-4487-b60b-db24da4d68f7%40googlegroups.com.
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOxyzk1UVWkTxa7gO4LZ-kK%2BsxN2nSVFUtnUE1pW_hJ%3D3LsbJg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home