Sha256: b7434899b8b0e977d894dbc610eda9d5fc0668ec98483e058eda3f11c5d1eb9b

Contents?: true

Size: 266 Bytes

Versions: 3

Compression:

Stored size: 266 Bytes

Contents

#!/usr/bin/env ruby

require 'pathname'

root = Pathname('sandbox')

system 'bin/rails g opal:install'
system 'bin/rails g controller home index -f'

root.join('config/routes.rb').write <<~RUBY
  Rails.application.routes.draw do
    root to: "home#index"
  end
RUBY

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-rails-2.0.3 bin/sandbox-setup
opal-rails-2.0.2 bin/sandbox-setup
opal-rails-2.0.1 bin/sandbox-setup