This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'sinatra', require: 'sinatra' | |
end | |
set :app_file, $0 | |
get '/' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This is an old script which was used to deploy rails applications to production | |
# It mimics what `capistrano` would do. | |
# Leaving it here for archival. | |
PATH=$PATH:/opt/ree | |
prod_dir='/srv/rails/myapp' | |
# this dir needs to have something like : | |
# /srv/rails/myapp |
OlderNewer