Cap setup

This commit is contained in:
Ye Min
2017-12-27 13:11:05 +06:30
parent 0aba9e8d76
commit b2b05246d1
4 changed files with 73 additions and 8 deletions

14
Gemfile
View File

@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby '2.4.0'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
@@ -89,10 +89,10 @@ gem 'cancancan', '~> 1.10'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
#group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
end
# gem 'byebug', platform: :mri
#end
group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
@@ -103,6 +103,10 @@ group :development do
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'rspec-rails', '~> 3.5'
gem 'schema_to_scaffold'
gem 'capistrano'
gem 'capistrano-bundler'
gem 'capistrano-rails'
gem 'capistrano-rbenv', github: "capistrano/rbenv"
end
group :test do
@@ -122,4 +126,4 @@ gem 'momentjs-rails' # for date-range selector
# gem 'bootstrap-datepicker-rails' # date picker
# gem 'jquery-datetimepicker-rails'
# gem 'select2-rails' # for multi-select and auto-complete select box
gem "chartkick" #chart lib
gem "chartkick" #chart lib