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
Hi guy,
Thank to develop the great tools for kegg annotation.
But i was so confusion about the exec_annotation shell script, on account of the exec_annotation only can be run on the folder that it belong. if i hope execute it in other directory with the absolute path in exec_annotation, it was complaint about below error:
internal:gem_prelude:1:in require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:1:in internal:gem_prelude'
I had try to modifed the exec_annotation with below code, although it was error like above:
#!/usr/bin/env /Data/software/ruby-2.7.1/bin/ruby
# frozen_string_literal: true
#require_relative 'lib/kofam_scan'
require_relative '/Data/software/kofam_scan-1.3.0/lib/kofam_scan'
#require 'kofam_scan/cli'
require '/Data/software/kofam_scan-1.3.0/lib/kofam_scan/cli'
KofamScan::CLI.run(ARGV)
What should i do for this issue?
In addition, i want to exec it in everywhere by using the absolute path of exec_annotation. how can i configure it ?
Best,
Hanhuihong
The text was updated successfully, but these errors were encountered:
Hi guy,
Thank to develop the great tools for kegg annotation.
But i was so confusion about the exec_annotation shell script, on account of the exec_annotation only can be run on the folder that it belong. if i hope execute it in other directory with the absolute path in exec_annotation, it was complaint about below error:
internal:gem_prelude:1:in
require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:1:in
internal:gem_prelude'I had try to modifed the exec_annotation with below code, although it was error like above:
#!/usr/bin/env /Data/software/ruby-2.7.1/bin/ruby
# frozen_string_literal: true
#require_relative 'lib/kofam_scan'
require_relative '/Data/software/kofam_scan-1.3.0/lib/kofam_scan'
#require 'kofam_scan/cli'
require '/Data/software/kofam_scan-1.3.0/lib/kofam_scan/cli'
KofamScan::CLI.run(ARGV)
What should i do for this issue?
In addition, i want to exec it in everywhere by using the absolute path of exec_annotation. how can i configure it ?
Best,
Hanhuihong
The text was updated successfully, but these errors were encountered: