RSpec: cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)
Solved: I just had to restart Rubymine after rails g rspec:install
rubymine debug rspec Uncaught exception: cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter
i reinstalled rubymine and now the builtin rspec debugger works fine.
Error loading 'teamcity' file when running `Cucumber ./features`
It seems to me as if your path is broken. You have a relative path and I don't think TeamCity uses the same project root as you assume it does.
My approach would be to start with an absolute path. Get the system to run and then see if it is possible to use relative paths.
Error when trying to run rspec Failure/Error: require 'test' LoadError: cannot load such file -- test
Your file paths are off, you either need to have zombie_spec.rb
in the spec/
folder instead of spec/lib/
or you need to move test.rb
into the lib/
folder instead of being in the /
project root folder.
Related Topics
Rubocop Error 'Class Definition Is Too Long Ruby'
Including/Extending the Kernel Doesn't Add Those Methods on Main:Object
Passing @Object into a Rails Partial Render
Converting Nested Hash Keys from Camelcase to Snake_Case in Ruby
Time.Use_Zone Is Not Working as Expected
Why Do You Need "Require 'Bundler/Setup'"
How Are Array.Each and Array.Map Different
Dynamically Define Named Classes in Ruby
Make: /Usr/Bin/Mkdir: Command Not Found During 'Gem Install Nokogiri' in Ubuntu 20.04
Rails Console Default Environment
Why Relative Path Doesn't Work in Ruby Require
Use Sudo for Gem Install Cocoapods
Nameerror: Uninitialized Constant Faker
How to Use a Branch in a Fork of Rails in a Project with Bundler