Getting started with Ruby
Jelastic provides Ruby support via:
- Passenger (Apache or Nginx)
- Unicorn (Nginx)
- Puma (Nginx)
Each run your choice of Ruby version:
You can switch Ruby version at any time in the Jelastic dashboard.
Dependencies are resolved automatically by Bundler. Simply list required gems in your
Gemfile and Bundler will search rubygems.org to install them for you. If you need to resolve a gem dependency from another location, specify its repository URL in your Gemfile and Bundler will download and install it from there for you instead.
Jelastic offers all 3 standard deployment modes (
production) which you can select from during deployment, and change later, in the Jelastic dashboard.
Bundler attempts to resolve your dependencies in 3 cases:
- Initial deployment
- Switching Ruby version
- Change of deployment mode
Bundler’s actions are logged and available to you in
Any Ruby framework – just add the corresponding dependencies to your Gemfile! Here are some examples of popular frameworks you can run on Jelastic:
- Ruby on Rails
Deploying Ruby apps
Jelastic provides a choice of 2 deployment methods for your Ruby application to suit your preferred workflow.
- Deploy from
- Deploy using a file archive (
Ruby application deployment can take a few minutes due to high CPU consumption during the deployment process
Jelastic executes any post-deployment configuration actions (e.g.
rake according to commands found in the
rake_deploy file within your application root. This file is deleted after successful execution, and results are logged and available to you in
Need More Help?
If you're still having problems, get in touch with our 24/7 support team! We'll be more than happy to help.