Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heiwa4126/hello-ruby
Ruby なんもわからん (2024-06)
https://github.com/heiwa4126/hello-ruby
Last synced: 5 days ago
JSON representation
Ruby なんもわからん (2024-06)
- Host: GitHub
- URL: https://github.com/heiwa4126/hello-ruby
- Owner: heiwa4126
- License: mit
- Created: 2024-06-13T09:14:11.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-18T06:57:08.000Z (5 months ago)
- Last Synced: 2024-06-18T08:07:08.380Z (5 months ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello-ruby
(2024-06)
Ruby なんもわからんので、npm 的に。## 実行(開発環境)
```sh
rake init:dev # 開発環境含む
rake hello # 'Hello, Rake!'
rake # Sinatra App. ブラウザで http://127.0.0.1:4567 で "Hello, world!"
rake spec # `rake test`でもOK.
```## 実行前準備(開発環境)
```sh
sudo apt install ruby-rake -y
gem install rubocop solargraph --user
```.bashrc などでパス追加
```sh
# for ruby
export PATH="$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin"
```## TODO
- ~~test~~
- 静的解析
- パッケージング
```sh
gem install hello-ruby
hello-ruby
```
みたいのができるといいな。