Skip to content

Instantly share code, notes, and snippets.

@miyucy
Created January 31, 2018 08:57
Show Gist options
  • Save miyucy/7a62ee8f397dfe3106144277f157423a to your computer and use it in GitHub Desktop.
Save miyucy/7a62ee8f397dfe3106144277f157423a to your computer and use it in GitHub Desktop.
サンプル
ENV['RACK_ENV'] ||= 'development'
require 'bundler'
Bundler.require 'default', ENV['RACK_ENV']
class App < Sinatra::Base
end
require_relative 'app'
run App
source 'https://rubygems.org'
ruby '2.5.0'
gem 'puma'
gem 'rack'
gem 'sinatra', require: 'sinatra/base'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment