Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- before "bundler:install", :dewindowsify
- desc "Remove references to Windows in Gemfile.lock"
- task :dewindowsify do
- on roles(:app) do
- execute "sed -i 's/-x86-mingw32//' #{release_path}/Gemfile.lock"
- execute "sed -i 's/x86-mingw32/x86_64-linux\n ruby/' #{release_path}/Gemfile.lock"
- puts "Gemfile.lock dewindowsified"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement