Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a deployable in rails like [war in java]

Hi i am new to ruby on rails I am from java platform

I want to deploy a rails application on thin server.

Que : what is the deployable output for rails app ? How to create a deployable in rails like [war in java]

like image 751
Mayank Raipure Avatar asked May 03 '26 00:05

Mayank Raipure


1 Answers

Ruby does not have packed executable files. A ruby app consists of many *.rb files that are compiled by the ruby vm/interpreter at runtime. The easiest deployment is to just copy the project as is to the server. There are however some deployment gems, that make your life easier. Take a look at capistrano or vlad. Here is a simple tutorial for capistrano: http://guides.beanstalkapp.com/deployments/deploy-with-capistrano.html

like image 109
drexin Avatar answered May 04 '26 14:05

drexin