Error running bg2md.rb
Opened this issue · 6 comments
I have run the next in terminal: "ruby bg2md.rb [-h -i -l -v] NET"
It returns following error:
Calling URL https://www.biblegateway.com/passage/?interface=print&version=%5D&search=%5B-h ...
Error: could not parse data from BibleGateway: please check your usage, and if still a problem, please raise an issue on GitHub.
Can anybody help?
It won't work with [ and ] around the option flags (e.g. -h). That's standard syntax to mean those flags are optional.
You also need to specify a passage after -v NET.
Hi,
I am getting LoadError:
.Traceback (most recent call last):
2: from bg2md.rb:77:in <main>' 1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- colorize (LoadError)
How should I solve this?
I did do gem install colorize but... I don't know what the issue is.
Hi, I am getting LoadError: .Traceback (most recent call last): 2: from bg2md.rb:77:in
<main>' 1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require' /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- colorize (LoadError)How should I solve this?
I did do gem install colorize but... I don't know what the issue is.
You're using a very old version of ruby, which may or may not be helping. I'm on
ruby -v
ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-darwin21]
Please run gem list
and paste here what the results are.
Thank you for your help. Actually, I was able to solve the issue and was able to get it to work. Thank you for creating this!
@Kipung , I am having this exact issue. How did you solve this?