mediasoup website.
Ruby 3.4.6 is required.
brew install rbenv ruby-buildIn .zshrc (or Bash config file) add:
#
# Ruby rbenv.
#
export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
eval "$(rbenv init - zsh)"Then reload your Zsh or Bash configuration:
source ~/.zshrcInstall Ruby 3.4.6:
rbenv install 3.4.6Use Ruby 3.4.6 in mediasoup-website project:
rbenv local 3.4.6
rbenv rehashNow Ruby version in mediasoup-website project should be 3.4.6:
ruby -v
which rubyInstall Ruby bundler and project gems:
gem install bundler
bundle installNote that project gems are installed in vendor/bundle due to the configuration in .bundle/config.
See commands in gulpfile.mjs file.