You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
Activity
AvneetBaweja commentedon Jul 23, 2021
Did you get any solution to this.
bpom commentedon 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 commentedon Jul 25, 2021
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 commentedon Jul 29, 2021
Actually you can use #47 to fix this for your installation.
javs1979 commentedon Oct 31, 2021
Tried many combinations of different Ruby versions and gems. Finally managed to make things work using...
...with the following gems...
This, with latest VS Code and "rebornix.ruby" and "kaiwood.endwise" extensions, is working.
alanmaydwell commentedon Mar 7, 2022
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:
C:\Ruby23-x64\lib\ruby\2.3.0\rubygems\ssl_certsAfter this the above worked for me.