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
Followed the instructions to execute awspec but getting below error-
An error occurred while loading ./spec/ec2_spec.rb. - Did you mean?
rspec ./spec/spec_helper.rb
Failure/Error: require 'awspec'
LoadError:
cannot load such file -- awspec
./spec/spec_helper.rb:1:in `require'
./spec/spec_helper.rb:1:in `<top (required)>'
./spec/ec2_spec.rb:1:in `require'
./spec/ec2_spec.rb:1:in `<top (required)>'
No examples found.
Finished in 0.00007 seconds (files took 0.26212 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
Followed the instructions to execute awspec but getting below error-
An error occurred while loading ./spec/ec2_spec.rb. - Did you mean?
rspec ./spec/spec_helper.rb
Failure/Error: require 'awspec'
LoadError:
cannot load such file -- awspec
./spec/spec_helper.rb:1:in `require'
./spec/spec_helper.rb:1:in `<top (required)>'
./spec/ec2_spec.rb:1:in `require'
./spec/ec2_spec.rb:1:in `<top (required)>'
No examples found.
Finished in 0.00007 seconds (files took 0.26212 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
C:/Ruby31-x64/bin/ruby.exe -I'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rspec-core-3.11.0/lib';'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rspec-support-3.11.0/lib' 'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rspec-core-3.11.0/exe/rspec' --pattern 'spec/{,/*/}/*_spec.rb' failed
Note - below is my spec_helper.rb
require 'awspec' Awsecrets.load(secrets_path: File.expand_path('./secrets.yml', File.dirname(__FILE__)))
and below is my Gemfile
gem 'rake' gem 'rspec'
The text was updated successfully, but these errors were encountered: