镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Installation instructions fail #48

Open

Description

@forceedge01

The installation instructions propose that we install ruby-oci8 and ruby-plsql-rpec. I've tried this on two version.

ruby v2.7:
ruby-oci8 installs fine.
ruby-plsql-spec fails due to Nokogiri package supported only till ruby 2.4

ruby v2.4:
ruby-oci8 fails - requires ruby 2.5 >

Bit of a paradox. It would be good to know the exact dependencies this is tested with so people can follow the same when installing. Appreciate this is actually because of external packages and a bit out of this package's hand. I am a newbie in ruby - and this may have a very obvious solution such as installing an older version of ruby-oci8.

Activity

  1. AvneetBaweja commented on Jul 23, 2021

    @AvneetBaweja

    Did you get any solution to this.

  2. bpom commented on Jul 23, 2021

    @bpom

    This is a problem on Windows only. For our Windows-based developers I have modified ruby-plsql-spec gem and updated nokogiri dependency to 1.8. This works fine.

  3. AvneetBaweja commented on Jul 25, 2021

    @AvneetBaweja

    Thank @bpom , Could you please share what changes have you made to ruby-plsql-spec gem to make it work.
    I am very new to ruby and does not know much about gems.

  4. bpom commented on Jul 29, 2021

    @bpom

    Actually you can use #47 to fix this for your installation.

  5. javs1979 commented on Oct 31, 2021

    @javs1979

    Tried many combinations of different Ruby versions and gems. Finally managed to make things work using...

    • Ruby 2.3.3

    ...with the following gems...

    • ruby-oci8 -v 2.2.8
    • ruby-plsql -v 0.7.1
    • ruby-plsql-spec -v 0.5.0

    This, with latest VS Code and "rebornix.ruby" and "kaiwood.endwise" extensions, is working.

  6. alanmaydwell commented on Mar 7, 2022

    @alanmaydwell

    The above Ruby 2.3.3 instructions worked for me but I had problems at first because the CA certificates supplied with Ruby 2.3.3 aren't up to date.

    To be able to install the gems I needed to:

    After this the above worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions