Created
March 23, 2015 21:28
-
-
Save ydkn/cc0775650d98454e2164 to your computer and use it in GitHub Desktop.
Capistrano 3.4.0 / rbenv and capistrano-rails-console - https://github.com/ydkn/capistrano-rails-console/issues/6
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
# Load DSL and set up stages | |
require 'capistrano/setup' | |
require 'capistrano/deploy' | |
require 'capistrano/git/copy' | |
require 'capistrano/rbenv' | |
require 'capistrano/bundler' | |
require 'capistrano/rails' | |
require 'capistrano/rails/console' |
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
set :application, 'foobar' | |
set :scm, :git_copy | |
set :repo_url, '/tmp/repo' | |
set :format, :pretty | |
set :log_level, :debug | |
set :rbenv_ruby, '2.1.0' | |
server 'localhost:2222', user: 'vagrant', roles: %w(web app db) | |
set :deploy_to, '/home/vagrant' | |
namespace :deploy do | |
task :restart | |
end |
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
source 'https://rubygems.org' | |
gem 'rails', '4.2.1' | |
gem 'sqlite3' | |
gem 'sass-rails', '~> 5.0' | |
gem 'uglifier', '>= 1.3.0' | |
gem 'coffee-rails', '~> 4.1.0' | |
gem 'jquery-rails' | |
gem 'turbolinks' | |
group :development do | |
gem 'capistrano', require: false | |
gem 'capistrano-git-copy', require: false | |
gem 'capistrano-rbenv', require: false | |
gem 'capistrano-bundler', require: false | |
gem 'capistrano-rails', require: false | |
gem 'capistrano-rails-console', require: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment