Skip to content

Commit

Permalink
Merge pull request #79 from dmartingit/remove-special-behavior-for-ru…
Browse files Browse the repository at this point in the history
…by-2-1-1

Commenting out the special behavior for Ruby v2.1.1
  • Loading branch information
arBmind authored Feb 15, 2019
2 parents b0cc1d4 + 4532d53 commit 680b2e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions ruby/rbenv/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ rbenv_rubies: []
# - 2.1.5
# - 2.2.0
# - 2.2.1

rbenv_ruby_libreadline_path: "{{ '/lib/{{ ansible_architecture }}-linux-gnu/libreadline.so.6' if ansible_os_family == 'Debian' else '/usr/lib64/libreadline.so' }}"
rbenv_ruby_configure_opts: "{{ 'RUBY_CONFIGURE_OPTS=--with-readline-dir=\"{{ rbenv_ruby_libreadline_path }}\"' if ruby_version == '2.1.1' else '' }}"
3 changes: 0 additions & 3 deletions ruby/rbenv/vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@ rbenv_package_names:
- libffi-dev
- libgdbm3
- libgdbm-dev

# only needed for ruby 2.1.1
rbenv_ruby_configure_opts: 'RUBY_CONFIGURE_OPTS=--with-readline-dir="/lib/{{ ansible_architecture }}-linux-gnu/libreadline.so.6"'
3 changes: 0 additions & 3 deletions ruby/rbenv/vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ rbenv_package_names:

# requires a seperate task that's run before any that installs EPEL packages
rbenv_epel_repo: epel-release

# only needed for rubies 2.1.0 and 2.1.1 on Ubuntu:
# rbenv_ruby_configure_opts: 'RUBY_CONFIGURE_OPTS=--with-readline-dir="/usr/lib64/libreadline.so"'

0 comments on commit 680b2e9

Please sign in to comment.