# How to change a rails app to INstant rails app?

**URL:** <https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262>\
**Category:** Rails\
**Created:** [January 8, 2010, 1:54pm UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262 "2010-01-08T13:54:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@ralu](https://www.ruby-forum.com/u/ralu)\
**Post date:** [January 8, 2010, 1:54pm UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262/1 "2010-01-08T13:54:38Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ralu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@ralu](https://www.ruby-forum.com/u/ralu)\
**Post date:** [January 8, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262/2 "2010-01-08T21:10:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ralu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@ralu](https://www.ruby-forum.com/u/ralu)\
**Post date:** [January 9, 2010, 6:18am UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262/3 "2010-01-09T06:18:58Z")

</div>

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!! 🙂

---

<div class="post-metadata">

**Author:** ![ralu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@ralu](https://www.ruby-forum.com/u/ralu)\
**Post date:** [January 9, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262/4 "2010-01-09T23:23:51Z")

</div>

On Jan 8, 8:43Â am, Norm S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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!!!

---

<div class="post-metadata">

**Author:** ![ralu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@ralu](https://www.ruby-forum.com/u/ralu)\
**Post date:** [January 12, 2010, 2:03am UTC](https://www.ruby-forum.com/t/how-to-change-a-rails-app-to-instant-rails-app/181262/5 "2010-01-12T02:03:43Z")

</div>

On Jan 9, 9:44Â am, Norm S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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
