Go to the official website and choose your OS.
Docker for Mac has a problem is the disk IO performance (see docker/for-mac#77).
There is a fix (https://github.com/IFSight/d4m-nfs) which makes Docker use NFS instead of OSXFS.
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
| language: ruby | |
| rvm: | |
| - 2.2.3 | |
| # Если Travis пишет вам слишком часто, то отключаем email уведомления | |
| notifications: | |
| email: false | |
| # Указываем базу данных | |
| addons: |
| # По умолчанию запускаем только необходимых для тестов наблюдателей, | |
| # то есть всех, кроме server. | |
| # Для запуска всех: bundle exec guard -g default | |
| scope groups: ['specs'] | |
| group 'specs' do | |
| # запускаем тесты и использованием Spring | |
| guard :rspec, cmd: "bundle exec spring rspec" do | |
| require "guard/rspec/dsl" | |
| dsl = Guard::RSpec::Dsl.new(self) |
Go to the official website and choose your OS.
Docker for Mac has a problem is the disk IO performance (see docker/for-mac#77).
There is a fix (https://github.com/IFSight/d4m-nfs) which makes Docker use NFS instead of OSXFS.
| #!/usr/bin/env ruby | |
| # -- Install -- | |
| # ln -s rubocop_pre_commit.rb .git/hooks/pre-commit | |
| # chmod +x .git/hooks/pre-commit | |
| ADDED_OR_MODIFIED = /^\s*(A|AM|M)/.freeze | |
| changed_files = `git status --porcelain`.split(/\n/) | |
| unstaged_files = `git ls-files -m`.split(/\n/) |