rails

A server-side MVC framework written in Ruby. Some subcommands such as rails generate have their own usage documentation. More information: <https://guides.rubyonrails.org/command_line.html>.

Install

All systems
curl cmd.cat/rails.sh
Debian Debian
apt-get install rails
Ubuntu
apt-get install ruby-railties-3.2
Arch Arch Linux
pacman -S metasploit
image/svg+xml Kali Linux
apt-get install dradis
Fedora
dnf install rubygem-rabl-doc
Windows (WSL2)
sudo apt-get update sudo apt-get install ruby-railties-3.2
Raspbian
apt-get install ruby-rails-2.3

A server-side MVC framework written in Ruby. Some subcommands such as rails generate have their own usage documentation. More information: <https://guides.rubyonrails.org/command_line.html>.

  • Create a new rails project:
    rails new "project_name"
  • Start local server for current project on port 3000:
    rails server
  • Start local server for current project on a specified port:
    rails server -p "port"
  • Open console to interact with application from command-line:
    rails console
  • Check current version of rails:
    rails --version

© tl;dr; authors and contributors