Skip to content

Commit

Permalink
use .ruby-version for setting ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Mar 11, 2024
1 parent 0c52a25 commit c9d5983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: get-deployment-config
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
set :linked_dirs, %w{log vendor/bundle tmp/pids tmp/sockets public/system}

# rbenv
# set :rbenv_type, :system #or :user
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip
# set :rbenv_ruby, '2.2.5'
# set :rbenv_roles, :all # default value

Expand Down

0 comments on commit c9d5983

Please sign in to comment.