This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add intro add VSCode section with example image add .gitpod.yml info add more extensions Update src/docs/ruby_in_gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby_in_gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> add examples [docs] Add Julia to 'Languages and frameworks' section and improve Python modified: src/docs/languages_and_frameworks.md modified: src/docs/python_in_gitpod.md add empty line fix update update update link Mention default Ruby version Add stub for `Popular Ruby Frameworks in Gitpod` section Update src/docs/julia-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> Update src/docs/ruby-in-gitpod.md Co-Authored-By: Jan Keromnes <[email protected]> update put it on it's own line
- Loading branch information
Sean Hellum
committed
Jan 22, 2020
1 parent
ad66b76
commit efc4374
Showing
5 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,10 @@ export const MENU: MenuEntry[] = [ | |
M( | ||
"Go", | ||
"go-in-gitpod" | ||
), | ||
M( | ||
"Ruby", | ||
"ruby-in-gitpod" | ||
) | ||
] | ||
), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Ruby | ||
|
||
It's relatively easy to set up your Ruby project in Gitpod. | ||
|
||
## Examples | ||
Before we begin, here are some examples Ruby projects automated with Gitpod: | ||
|
||
Name | Description | Try it | ||
---------|----------|--------- | ||
[dev.to](https://github.com/thepracticaldev/dev.to) | [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/thepracticaldev/dev.to) | a platform where software developers write articles | ||
[home-assistant.io](https://github.com/home-assistant/home-assistant.io) | [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/home-assistant/home-assistant.io) | Open source home automation | ||
|
||
## VSCode Extensions | ||
|
||
Here are a few useful extensions that you'll likely want to install in your Ruby project. | ||
|
||
### [Ruby Test Explorer](https://marketplace.visualstudio.com/items?itemName=connorshea.vscode-ruby-test-adapter) | ||
With the Ruby test explorer, you can run unit tests from within the Gitpod UI. | ||
![](./images/ruby_test_ui.png) | ||
To add this extension to your repository, simply add these lines to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) configuration file: | ||
```YAML | ||
vscode: | ||
extensions: | ||
- [email protected]:HO9rpcRv7bmRIuo7Mty/zg== | ||
- [email protected]:koqDUMWDPJzELp/hdS/lWw== | ||
``` | ||
## Ruby Version | ||
Gitpod comes with Ruby 2.5 and 2.6 pre-installed by default (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`. | ||
|
||
## Ruby On Rails | ||
|
||
So, you want to write your cool new Ruby On Rails application in Gitpod? Well, here is how to do it. | ||
|
||
But first, to give you an idea of what to expect, please take a look at our minimal Rails example running in Gitpod. | ||
|
||
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Gitpod-Ruby-On-Rails) |