Ruby Apps Specification > Dependancy

Dependency Management

While hosting the Ruby application, GPUonCLOUD 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 GPUonCLOUD 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

 

  • Dependency Management
  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Deploy Ruby Project > via URL/Archive

  Deploy Ruby Project > via URL/Archive Upload and Deploy Your Ruby Application With...

Diaspora* Ruby

How to install Diaspora* into GPUonCLOUD PAI Diaspora* is an open-source user-owned...

Redmine Ruby

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

Deploy Ruby Project via GIT/SVN

You can host any public or your private Ruby project at GPUonCLOUD using the GIT or SVN version...

Ruby Application Server Configuration

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

Powered by WHMCompleteSolution