Skip to content

Instantly share code, notes, and snippets.

@brenodf86
brenodf86 / rbenv-ruby-rails-install.sh
Created June 13, 2023 12:28 — forked from alexishida/rbenv-ruby-rails-install.sh
Script to install rbenv, Ruby, nodejs and yarn
#!/bin/bash
#---------------------------------------------------------------------------------------
# Script to install rbenv, Ruby, nodejs and yarn
# Source: https://gist.github.com/alexishida/655fb139c759393ae5fe47dacd163f99
#
# Author: Alex Ishida <alexishida@gmail.com>
# Version: 1.5.8 - 04/04/2023
#---------------------------------------------------------------------------------------
#
# HOW TO INSTALL A SCRIPT
# COMANDOS
rails new appname -d postgresql
rails new appname --api
gem install rails -v 6.1.4.4
rails _6.1.4.4_ new myapp
# Rails sem webpack
rails new app-name --skip-webpack-install --skip-javascript