File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 66
66
namespace :fs do
67
67
desc "[internal] Install some symlinks to share files between deploys."
68
68
task :symlink , roles : :app , except : { no_release : true } do
69
- symlinks = %w( config/database.yml config/secrets.yml node_modules public/pages tmp/sass-cache tmp/sockets uploads )
69
+ symlinks = %w( config/database.yml config/secrets.yml public/pages tmp/sass-cache tmp/sockets uploads )
70
70
symlinks . each do |symlink |
71
71
run "ln -nfs #{ shared_path } /#{ symlink } #{ release_path } /#{ symlink } "
72
72
end
77
77
desc "[internal] Create the shared directories"
78
78
task :create_dirs , roles : :app do
79
79
run "mkdir -p #{ shared_path } /config"
80
- run "mkdir -p #{ shared_path } /node_modules"
81
80
run "mkdir -p #{ shared_path } /public/pages"
82
81
run "mkdir -p #{ shared_path } /tmp/sass-cache"
83
82
run "mkdir -p #{ shared_path } /tmp/sockets"
Original file line number Diff line number Diff line change 5
5
6
6
# Add additional assets to the asset load path.
7
7
# Rails.application.config.assets.paths << Emoji.images_path
8
- Rails . application . config . assets . paths << Rails . root . join ( "node_modules" )
9
8
10
9
# SVG images
11
10
Rails . application . config . assets . precompile += %w[ feather-icons/dist/icons/arrow-left.svg ]
You can’t perform that action at this time.
0 commit comments