How to change a rails app to INstant rails app?

i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?

Ralu rm wrote:

i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?

Hi, is your original rails app currently running the same versions of
rails, gems, ruby etc than the one you have in instantrails? Using mysql
db also in the original? I so you just need to copy the app to the
railsapps folder inside instantrails folder structure, create and
migrate the db and run the app from instant rails (I always use the
console from instant rails and do things manually…)

I you have different versions I recommend having them in sync and them
move the app. I.e. upgrade rails and gems of the default instantrails
installer (which is much older than 2.3.x)

I’m on mac now and I can’t see instant rails… but you shouldn’t have
any problems in case of “standard” rails apps…

Cheers.

comopasta Gr wrote:

Ralu rm wrote:

i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?

Hi, is your original rails app currently running the same versions of
rails, gems, ruby etc than the one you have in instantrails? Using mysql
db also in the original? I so you just need to copy the app to the
railsapps folder inside instantrails folder structure, create and
migrate the db and run the app from instant rails (I always use the
console from instant rails and do things manually…)

I you have different versions I recommend having them in sync and them
move the app. I.e. upgrade rails and gems of the default instantrails
installer (which is much older than 2.3.x)

I’m on mac now and I can’t see instant rails… but you shouldn’t have
any problems in case of “standard” rails apps…

Cheers.

@comopasta
thanks for the help…it worked but in my rails app i was using
webrick as server and now i need to change it into mongrel in
instantRails . when i click start with mongrel in instant rails app its
not getting startd ( actually dats becoz my rails app is already in
webrick) so how to change that to mongrel? i have installd mongrel gem
in app …plz help!! :slight_smile:

On Jan 8, 8:43Â am, Norm S. [email protected] wrote:

Ralu rm wrote:i have a rails app , i need to change that app to instant rails app. i have been using Net beans as IDE is der an easy step to do that??? rather creating a new one by copy paste?Just copy the complete app to InstantRails/rails_apps/your_app. You will then have to recreate your database and you are ready to go.

@Norm S.
thanks for the help… it workd!!!

On Jan 9, 9:44Â am, Norm S. [email protected] wrote:

Ralu rm wrote:@comopasta thanks for the help…it worked but in myrailsapp i was using webrick as server and now i need to change it into mongrel in instantRails . when i click start with mongrel ininstantrailsapp its not getting startd ( actually dats becoz myrailsapp is already in webrick)I do not understand what you mean by that statement. Yourrailsapp will be able to run with whatever web server you start it with. I have run the same app with webrick and mongrel on IR and with webrick, mongrel and passenger on Linux.so how to change that to mongrel? i have installd mongrel gem in app …plz help!! :)Your app should just start when you press the ‘start with mongrel’ button. What reaction do you get when you press that button? It should bring up the script/server running with a console window giving some logging output. As I recall the only way to start it with webrick would be to go into a ‘ruby console’ and ‘ruby script/server webrick’ or something like that. I never do it so that is just my recollection.

again dat was my simple mistake

i startd the server on port 3000 wer another app was running on
webrick on the same port
so changd to port 3005 it workd… haha… really sorry for that…
and thanks for the earlier help… have a great day… @norm

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs