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
I've been trying to generate SBOM in my project but I still cannot run the tool successfully since I got some error related to dependencies installing.
I got this error:
INFO[2023-09-06T17:45:15+07:00] Starting to generate SPDX ...
FATA[2023-09-06T17:45:15+07:00] Failed to initialize command: * Tool only supports ruby gems projects with valid .gemspec manifest in project root directory
Then I tried this command that I found in issues: bundle config set --local path 'vendor/bundle' && bundle install && bundle exec rake install
I got another error:
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/Users/binhtnt/Perifit/mainapp/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' /Users/binhtnt/.rvm/gems/ruby-3.1.3/bin/ruby_executable_hooks:22:in eval'
/Users/binhtnt/.rvm/gems/ruby-3.1.3/bin/ruby_executable_hooks:22:in `
'
(See full trace by running task with --trace)
Here is my Gemfile:
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '>= 2.6.10'
gem 'rake', '>= 11.3.0'
gem 'bundler', '>= 2.3.26'
gem 'cocoapods', '>= 1.11.3'
Looking forward for your help.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I've been trying to generate SBOM in my project but I still cannot run the tool successfully since I got some error related to dependencies installing.
I got this error:
INFO[2023-09-06T17:45:15+07:00] Starting to generate SPDX ...
FATA[2023-09-06T17:45:15+07:00] Failed to initialize command: * Tool only supports ruby gems projects with valid .gemspec manifest in project root directory
Then I tried this command that I found in issues:
bundle config set --local path 'vendor/bundle' && bundle install && bundle exec rake install
I got another error:
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
'/Users/binhtnt/Perifit/mainapp/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in
<top (required)>' /Users/binhtnt/.rvm/gems/ruby-3.1.3/bin/ruby_executable_hooks:22:in
eval'/Users/binhtnt/.rvm/gems/ruby-3.1.3/bin/ruby_executable_hooks:22:in `
(See full trace by running task with --trace)
Here is my Gemfile:
Looking forward for your help.
Thanks
The text was updated successfully, but these errors were encountered: