Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
initialize project
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 1 deletion.
Binary file added src/docs/images/ruby_test_ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/docs/julia-in-gitpod.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ It's relatively easy to set up your Julia project in Gitpod.

A great minimal example of a ready-to-code Julia development environment is [JesterOrNot/Gitpod-Julia](https://github.com/JesterOrNot/Gitpod-Julia).

To showcase a real-world Julia project in Gitpod we gitpodified the Julia Programming Language in Gitpod. Try it here:
To showcase a real-world Julia project in Gitpod, we've gitpodified the Julia Programming Language repository itself! Try it here:

[![JesterOrNot/Julia](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Julia)
1 change: 1 addition & 0 deletions src/docs/languages-and-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Below is a list of language and framework specific tips & tricks.
* [Python](/docs/python-in-gitpod/)
* [Julia](/docs/julia-in-gitpod/)
* [Go](/docs/go-in-gitpod/)
* [Ruby](/docs/ruby-in-gitpod)
4 changes: 4 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ export const MENU: MenuEntry[] = [
M(
"Go",
"go-in-gitpod"
),
M(
"Ruby",
"ruby-in-gitpod"
)
]
),
Expand Down
39 changes: 39 additions & 0 deletions src/docs/ruby-in-gitpod.md
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)

0 comments on commit efc4374

Please sign in to comment.