- Configure Your Project
- .gitpod.yml
- Docker Configuration
- Start Tasks
- VS Code Extensions
- Exposing Ports
- Prebuilt Workspaces
- Environment Variables
- Workspace Location
- Editor Configuration
- Gitpod Self-Hosted
- Install on Google Cloud Platform
- Install on Amazon Web Services
- Install on self-managed Kubernetes
- Configure OAuth
- Configure a Domain
- Configure HTTPS Certificates
- Configure a Database
- Configure a Docker Registry
- Configure Storage
- Configure Nodes
- Configure Workspaces
Docs
Ruby in Gitpod
It’s relatively easy to set up your Ruby project in Gitpod.
Ruby Versions
Gitpod comes with Ruby 2.5 and 2.6 pre-installed (2.6 is the default).
To change the default Ruby version, you can simply run rvm use 2.5 --default
in Gitpod’s Terminal. You can also install other versions, e.g. by running rvm install 2.7
.
Example Repositories
Here are a few Ruby example projects that are already automated with Gitpod:
Repository | Description | Try it |
---|---|---|
railssampleapp | Ruby on Rails tutorial sample application | |
Gitpod-Ruby-On-Rails | Minimal Ruby on Rails example | |
home-assistant.io | Open source home automation | |
dev.to | A platform where software developers write articles |
VSCode Extensions
Here are a few useful extensions that you’ll likely want to install in your Ruby project.
Ruby Test Explorer
With the Ruby test explorer, you can run unit tests from within the Gitpod UI.
To add this extension to your repository, simply add these lines to your .gitpod.yml configuration file:
vscode:
extensions:
- connorshea.vscode-ruby-test-adapter@0.6.1:HO9rpcRv7bmRIuo7Mty/zg==
- hbenl.vscode-test-explorer@2.15.0:koqDUMWDPJzELp/hdS/lWw==
Ruby On Rails
So, you want to write your cool new Ruby On Rails application in Gitpod? Well, here is an idea of how to do it. Please take a look at our minimal Rails example running in Gitpod:
Still Have Questions?
Please reach out. We’re happy to answer them.