Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions fail #48

Open
forceedge01 opened this issue Jan 21, 2021 · 6 comments
Open

Installation instructions fail #48

forceedge01 opened this issue Jan 21, 2021 · 6 comments

Comments

@forceedge01
Copy link

forceedge01 commented Jan 21, 2021

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.

@AvneetBaweja
Copy link

Did you get any solution to this.

@bpom
Copy link

bpom commented Jul 23, 2021

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.

@AvneetBaweja
Copy link

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.

@bpom
Copy link

bpom commented Jul 29, 2021

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

@javs1979
Copy link

javs1979 commented Oct 31, 2021

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.

@alanmaydwell
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants