bubbletea-ruby

(β˜… 146)

A powerful TUI framework for Ruby, based on Charm's bubbletea.

  • .gitignore
  • .rubocop.yml
  • .ruby-version
  • bubbletea.gemspec
  • CODE_OF_CONDUCT.md
  • Gemfile
  • Gemfile.lock
  • LICENSE.txt
  • Rakefile
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/marcoroth/bubbletea-ruby

Downloads the entire project code from GitHub to your computer.

cd bubbletea-ruby

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Ruby Ruby is required to use gem.
gem install bubbletea

Installs the package published on RubyGems directly.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
cd go

This project's files live in a subfolder, so move into it first.

go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

4. Ruby

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Ruby Ruby is required to use the bundle command.
bundle install

Installs the Ruby libraries listed in the Gemfile.

bundle exec rake compile

Type this command into your terminal and run it.

bundle exec rake test

Type this command into your terminal and run it.

βœ… If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).

Pulled directly from this repo's README.

// repository documentation