Cannot get RSpec to work - "require": cannot load such a file

I just spent three days in my life hitting my head against a wall, trying to understand why a simple "rake" would not transfer my spec file.

If this happens to you: do not need space in any folder path !. Jokes aside. In fact, you have no place in everything that you call here.

Here is my console output:

(in /Users/*****/Desktop/Learning Ruby/learn_ruby)

$ rake
/Users/*******/Desktop/Learning Ruby/learn_ruby/00_hello/hello_spec.rb:116:
  in `require': cannot load such file -- hello (LoadError)
+5
source share
2 answers

Failure caused by line: require "hello"

Ruby, hello.rb. , , . , spec, hello.rb.

RSpec (2.11+ ) lib . Rakefile , solution.

, solution/hello.rb.

+5

, require require_relative

IDE

+3

All Articles