Sha256: 393d1122fb8fc1e15cf7aa28b247e1d01511347c80b3af8a61cffaf3df273b64

Contents?: true

Size: 867 Bytes

Versions: 19

Compression:

Stored size: 867 Bytes

Contents

# Installing Ruby

## Mac OS

We recommend using [`ruby-install`][ruby-install] and [`chruby`][chruby] from Homebrew to manage ruby versions.

1. Install [Homebrew][brew]
1. Install `ruby-install` and `chruby`. Be sure to follow the instructions for adding the chruby shell hook to your ~/.bash_profile or ~/.zshrc file.

        brew install ruby-install chruby

1. Install ruby 2.5.1:

        ruby-install ruby-2.5.1

1. **Open a new terminal window** and activate ruby 2.5.1:

        chruby ruby-2.5.1

1. Run your Shopify App CLI command.

## Linux

Ruby 2.5 is available for most recent versions of Ubuntu, including Trusty and Xenial, installable with `apt-get install ruby-2.5`. Look for it in your distributions package manager.

[brew]:https://brew.sh
[chruby]:https://github.com/postmodern/chruby
[ruby-install]:https://github.com/postmodern/ruby-install

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
shopify-cli-1.5.0 docs/installing-ruby.md
shopify-cli-1.4.1 docs/installing-ruby.md
shopify-cli-1.4.0 docs/installing-ruby.md
shopify-cli-1.3.1 docs/installing-ruby.md
shopify-cli-1.3.0 docs/installing-ruby.md
shopify-cli-1.2.0 docs/installing-ruby.md
shopify-cli-1.1.2 docs/installing-ruby.md
shopify-cli-1.1.1 docs/installing-ruby.md
shopify-cli-1.1.0 docs/installing-ruby.md
shopify-cli-1.0.5 docs/installing-ruby.md
shopify-cli-1.0.4 docs/installing-ruby.md
shopify-cli-1.0.3 docs/installing-ruby.md
shopify-cli-1.0.2 docs/installing-ruby.md
shopify-cli-1.0.1 docs/installing-ruby.md
shopify-cli-1.0.0 docs/installing-ruby.md
shopify-cli-0.9.3 docs/installing-ruby.md
shopify-cli-0.9.2 docs/installing-ruby.md
shopify-cli-0.9.1 docs/installing-ruby.md
shopify-cli-0.9.0 docs/installing-ruby.md