Installing Rails and Setup
To start using Ruby on Rails, you need to install Ruby, Rails, and supporting tools.
1. Install Ruby:
- Use a version manager like
rbenv
orRVM
- Example (using rbenv):
brew install rbenv
rbenv install 3.1.2
rbenv global 3.1.2
2. Install Rails:
gem install rails
3. Check Installation:
rails -v
You should see the installed version of Rails.