https://github.com/niku/ruby-guild
Sandbox for guild on ruby
https://github.com/niku/ruby-guild
Last synced: 3 months ago
JSON representation
Sandbox for guild on ruby
- Host: GitHub
- URL: https://github.com/niku/ruby-guild
- Owner: niku
- License: mit
- Created: 2018-08-14T15:17:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T01:01:23.000Z (almost 8 years ago)
- Last Synced: 2025-11-29T09:05:02.238Z (6 months ago)
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What's this
A docker container which allows you to use Guild on Ruby easily.
It is built from https://github.com/ko1/ruby/tree/guild.
# Requirements
- Docker
# Usage
You need just run a container to use.
Then an iex will start.
```
$ docker run -it --rm --name my-guild niku/ruby-guild
irb(main):001:0> g1 = Guild.new do
irb(main):002:1* receive = Guild.receive
irb(main):003:1> Guild.parent << receive
irb(main):004:1> end
=> #
irb(main):005:0> g1 << "hello"
=> nil
irb(main):006:0> p Guild.receive
"hello"
=> "hello"
```
# Link
- Dockerhub https://hub.docker.com/r/niku/ruby-guild/
- Dockefile is based on official ruby's one https://github.com/docker-library/ruby/blob/57801cf4e9a2506e9c66380ab9e3ff9f63a669a7/2.6-rc/stretch/Dockerfile
- The creater of Guild, ko1's slide at RubyKaigi2018 is http://www.atdot.net/~ko1/activities/2018_rubykaigi2018.pdf
# LICENCE
MIT