You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm having an issue deploying
I'm on ruby 2.2.3
How can I fix it?
error:
Could not install to path vendor/bundle because of an invalid symlink. Remove
the symlink so the directory can be created.
task :deploy => :environment do
on :before_hook do
# Put things to run locally before ssh
end
deploy do
# Put things that will set up an empty directory into a fully set-up
# instance of your project.
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
#invoke :'rails:db_load'
#invoke :'load_db_schema'
invoke :'rails:db_migrate'
invoke :'rails:assets_precompile'
invoke :'deploy:cleanup'
on :launch do
command "mkdir -p #{fetch(:deploy_to)}/#{fetch(:current_path)}/tmp/"
command "touch #{fetch(:deploy_to)}/#{fetch(:current_path)}/tmp/restart.txt"
end
end
end
The text was updated successfully, but these errors were encountered:
Hi, I'm having an issue deploying
I'm on ruby 2.2.3
How can I fix it?
error:
Could not install to path
vendor/bundle
because of an invalid symlink. Removethe symlink so the directory can be created.
The text was updated successfully, but these errors were encountered: