Ruby#

Ruby is detected if a Gemfile file is found.

Setup#

The Ruby version is installed using rbenv. You can specify the version in a .ruby-version file or the versions found in the Gemfile is installed.

Install#

bundle install

If a package.json file is found then the dependencies are installed with the respective package manage from the Node provider (NPM or Yarn).

Build#

If a Rails application is detected

bundle exec rake assets:precompile

Start#

If a Rails application is detected

bundle exec rails server -b 0.0.0.0

If a config/environment.rb file is found

bundle exec ruby script/server

If a config.ru file is found

bundle exec rackup config.ru

If a Rakefile file is found

bundle exec rake