Knowledge Base/Engine Yard Cloud Documentation/Deploy your Application

Use Ruby 2.0 on Engine Yard Cloud

Keri Meredith
posted this on May 20, 2013 03:12 PM

Updated: September 23rd, 2013

This document describes how to use the Ruby 2.0 feature on Engine Yard Cloud.

Get started with Ruby 2.0 on Engine Yard Cloud

Prerequisites

  • This article assumes you already have an Engine Yard account. If not, see Sign up for an Engine Yard Account.
  • To use Ruby 2.0 in your environment, you must use the Engine Yard Gentoo 12.11 stack option (stable-v4).
  • Your environment must include other component versions as described in the Engine Yard Gentoo 12.11 Tech Stack.
  • You must:

    • Create a new environment. You cannot update an existing app environment at this time.
    • Use 64-bit instances (32-bit instances are not supported on this distribution).
  • In order to deploy your app, you must use the engineyard gem (2.1.0.rc1 or newer) with this feature.

    The engineyard gem can be installed by running:

    gem install engineyard

    See Deploying with engineyard gem version 2.0.

    Note: If you aren't sure which version of the engineyard gem you have installed, you can check with:

    $ ey --version
    engineyard version 2.1.0.rc1

Use Ruby 2.0 with Engine Yard Cloud

Important: We recommend testing in a staging environment before applying changes in a production environment.

To deploy a new app using Ruby 2.0

  1. Ensure that your app meets all the prerequisites above.

  2. Create your application in the usual way.

    Note: Your stack selections should be on the Engine Yard Gentoo 12.11 Tech Stack.

  3. Create a new environment in the usual way.

    Note: Your stack selections should be on the Engine Yard Gentoo 12.11 Tech Stack.

  4. Select the new Gentoo 12.11 Stack: stable-v4.

    This displays the configuration choices for your Engine Yard Gentoo 12.11 environment.

  5. Select the Ruby 2.0.0 Runtime.

  6. On the Configuration page, select the environment setup you need.

  7. Click Boot this Configuration.

    Your Engine Yard Gentoo 12.11 environment starts up with Ruby 2.0 runtime.

More Information

These other resources might help you:

For more information about ...See ...
Ruby 2.0.0-p195 Ruby 2.0.0-p195 release info
Ruby 2.0.0-p0 Ruby 2.0.0-p0 release info
Engine Yard Gem 2.x Deploying with engineyard gem version 2.0
Engine Yard Gem 2.1.x Engine Yard Gem 2.1.0 GA

If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.

 

Comments

User photo
Vincent Franco
groundctrl

When will we be able to upgrade existing stacks?

June 28, 2013 09:51 PM
User photo
Keri Meredith
Engine Yard Inc.

Hi Vincent, please confirm: are you talking about upgrading from the Engine Yard Gentoo (stable-v2) to the Engine Yard Gentoo 12.11 (stable-v4) stack? Or are you referring to a different migration? thanks, kjm

July 15, 2013 01:05 PM