Skip to content

Commit 2ae9364

Browse files
authored
Merge pull request #98 from infinum/fix/bundler_app_config_for_deploy
Fix bundler app config
2 parents 7b8abe9 + 9becb88 commit 2ae9364

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

mina_deploy.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set :application_name, 'awesome_app'
77
set :repository, 'git://...'
88
set :service_manager, :systemd
9-
set :bundle_options, ''
9+
set :bundle_withouts, 'development test ci deploy'
1010
# set :background_worker, 'dj' / 'sidekiq'
1111

1212
task :staging do
@@ -33,7 +33,6 @@
3333
invoke :'git:clone'
3434
invoke :'deploy:link_shared_paths'
3535
invoke :'bundle:install_gem'
36-
command "export BUNDLE_APP_CONFIG='.bundle/server'"
3736
invoke :'bundle:install'
3837
command 'yarn install'
3938
invoke :'secrets:pull'

template.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,6 @@
245245
HEREDOC
246246
create_file '.bundle/ci-deploy/config', BUNDLER_CI_DEPLOY_CONFIG, force: true
247247

248-
BUNDLER_SERVER_CONFIG = <<~HEREDOC.strip_heredoc
249-
---
250-
BUNDLE_DEPLOYMENT: "true"
251-
BUNDLE_WITHOUT: "development test ci deploy"
252-
HEREDOC
253-
create_file '.bundle/server/config', BUNDLER_SERVER_CONFIG, force: true
254-
255248
# bugsnag
256249
BUGSNAG_CONFIG = <<-HEREDOC.strip_heredoc
257250
Bugsnag.configure do |config|

0 commit comments

Comments
 (0)