Sha256: 1fd5e2ada0ec35378e2d927d22725b947a3ba12c60da5d1ea516b484789dbbb4
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
namespace :shakapacker do desc "Verifies that bin/shakapacker is present" task :check_binstubs do if File.exist?(Rails.root.join("bin/shakapacker")) exit elsif File.exist?(Rails.root.join("bin/webpacker")) Shakapacker.puts_deprecation_message( Shakapacker.short_deprecation_message( "bin/webpacker", "bin/shakapacker" ) ) exit else puts <<~MSG Could't find shakapacker binstubs! Possible solutions: - Ensure you have run `rails shakapacker:install`. - Run `rails shakapacker:binstubs` if you have already installed shakapacker. - Ensure the `bin` directory and `bin/shakapacker` are not included in .gitignore. MSG exit! end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shakapacker-7.0.0.rc.0 | lib/tasks/shakapacker/check_binstubs.rake |