Skip to content

Instantly share code, notes, and snippets.

View juanca's full-sized avatar

Juan Carlos Medina juanca

  • San Francisco, CA
View GitHub Profile
@juanca
juanca / rails.md
Last active December 26, 2024 19:18
[GUIDE] Starting a new Ruby on Rails project in docker

Bootstrap project

  1. Initialize your project folder: git init

  2. Create your project files with a ruby image:

    docker run -it -v .:/rails/<app_name> -w /rails/<app_name> ruby:latest /bin/bash
    gem install rails
    rails new .
    exit