Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiKhomik committed Dec 10, 2024
1 parent 33502a3 commit 3cee44a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ansible1/roles/packages/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@
dest: /etc/profile.d/rubygems.sh
mode: 644

- name: Install Rails
shell: |
{{ rvm1_install_path }}/wrappers/default/gem install rails -v {{ rails_version }}
# Install Bundler and configured gems
# - name: Install Bundler
# gem:
Expand Down
5 changes: 5 additions & 0 deletions ansible1/roles/packages/tasks/rubies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
register: bundler_install
changed_when: '"Successfuly installed bundler" in bundler_install.stdout'

- name: Install Rails
shell: |
{{ rvm1_install_path }}/wrappers/{{ item.stdout }}/gem install rails -v {{ rails_version }}
with_items: "{{ ruby_patch.results }}"

- name: Symlink ruby related binaries on the system path
file:
state: 'link'
Expand Down

0 comments on commit 3cee44a

Please sign in to comment.