Skip to content

Commit

Permalink
Switch to YJIT.
Browse files Browse the repository at this point in the history
  • Loading branch information
Droid00000 committed Nov 11, 2024
1 parent 5e06994 commit 6201885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN gem install bundler --source https://rubygems.org && \
gem install racc && \
bundle install

CMD ["bundle", "exec", "ruby", "core.rb"]
CMD ["bundle", "exec", "ruby", "--yjit", "core.rb"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Frost is a personal Discord bot. It handles music, booster roles, snowball fight

## Installation

At least Ruby version 3.1, a PostgreSQL database, a LavaLink node, and Docker (optional) is needed to run the bot.
At least Ruby version 3.3, a PostgreSQL database, a LavaLink node, and Docker (optional) is needed to run the bot.

1. **Install the latest version of Ruby**

Expand Down Expand Up @@ -47,7 +47,7 @@ Many of these variables are undocumented because the bot is meant for personal u

5. **Run the bot**

Either build the Dockerfile, or to run locally do: `bundle exec ruby core.rb`.
Either build the Dockerfile, or to run locally do: `bundle exec ruby --yjit core.rb`.

## ToS and Privacy Policy

Expand Down

0 comments on commit 6201885

Please sign in to comment.