It’s relatively easy to set up your Ruby project in Gitpod.
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.
Here are a few Ruby example projects that are already automated with Gitpod:
|railssampleapp||Ruby on Rails tutorial sample application|
|home-assistant.io||Open source home automation|
|dev.to||A platform where software developers write articles|
Here are a few useful extensions that you’ll likely want to install in your Ruby project.
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: - email@example.com:HO9rpcRv7bmRIuo7Mty/zg== - firstname.lastname@example.org:koqDUMWDPJzELp/hdS/lWw==
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.