Ruby Apps Specification Dependancy

Dependency Management

While hosting the Ruby application, Apiqcloud Cloud provides you with an automatic native dependencies resolving. Dependency management is provided by Bundler via tracking and installing the exact gems and versions that are needed. You only need to specify the list of required gems in Gemfile and Bundle and this will resolve all dependencies.

By default Ruby in Apiqcloud comes with a list of the most popular/widespread Ruby gems for all supported Ruby versions. They are cached locally in each Ruby container for fast environment creation.

When you deploy your application, Bundler performs dependency resolving by searching gems athttp://rubygems.org/ and installing the latest version of all gems if needed.

If you use a non strict versions declaration in your Gemfile (e.g. gem version will have to be greater than specific "jquery-rails", "~> 2.0.2") - Bundler will download and install the latest version of the corresponding gem on each deployment.

If your application uses any special (non-public) dependency, you need to specify its repository URL in Gemfile and Bundler will also download and install this gem.

Bundler performs dependency resolving in the following cases:

  • Deploying application
  • Switching between Ruby versions
  • Changing deployment type
  • Ruby Apps Specification Dependancy
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Ruby Apps Specification > Post Deploy Configuration

Post Deploy Configuration Apiqcloud can perform post deployment application configuration via...

Deploy Ruby Project via GIT SVN

Deploy Ruby Project via GIT/SVN You can host any public or your private Ruby project at...

Deploy Ruby Project Via URL Archive

With Apiqcloud you can easily upload and deploy any Ruby app via Archive of URL. The given below...

Ruby App Server Configuration

  Apiqcloud supports the following Ruby application servers:1.Apache2 + Passenger :The...

Redmine Ruby

How to Deploy Redmine in Apiqcloud Cloud Redmine is an open-source web-based system for...