Sha256: 1d767e73e5a796388ef20a9ecbe9444280a8618ba6e90e216341c40e70ddd17a
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
desc "ssh to the current directory on the server" task :update_global_strscan do on roles(:app) do |host| strscan_version = within release_path do capture(:bundle, 'exec', 'ruby', '-e', '"puts Gem::Specification.find_by_name(\'strscan\').version"') end execute "gem install strscan --silent --no-document -v #{strscan_version}" end end before :'passenger:restart', :update_global_strscan
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dlss-capistrano-4.2.0 | lib/dlss/capistrano/tasks/strscan.rake |