Skip to content

jetify-com/jetify-deploy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Example in Devbox

This example demonstrates how to setup a simple Rails application. It makes use of the Ruby Plugin, and installs SQLite to use as a database.

Open In Devbox.sh

How To Run

Run devbox shell to install rails and prepare the project.

Once the shell starts, you can start the rails app by running:

cd blog
bin/rails server

How to Recreate this Example

  1. Create a new Devbox project with devbox create --template rails

  2. Add the packages using

    devbox install
  3. Run devbox shell, which will install the rails CLI with gem install rails

  4. Create your Rails app by running the following in your Devbox Shell

    rails new blog

Related Docs