Require LoadError -cannot load such file / Issued Resolved

I get the following error message when running this file. vowel_test.rb
I am using Peter Cooks book Beginning Ruby. I get the same error message
on my IDE and Mac/ Yosemite os

File code
require “string_extensions”
puts “This is a test”.vowels.join(’_’)

Error Msg
/home/action/.parts/packages/ruby2.1/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire': cannot load such file -- string_extensions (LoadError) from /home/action/.parts/packages/ruby2.1/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from vowel_test.rb:1:in `’

Abdulaleem S. wrote in post #1167433:
///

My issued has been resolved.

Solution – By default require will look for this file in the $LOAD_PATH
with an extension like .rb, .so, .dll, etc… If this file is not located
in one of those directories you will need to use require_relative or
give the full path to the file. According to
User engineersmnky - Stack Overflow.

I get the following error message when running this file. vowel_test.rb
I am using Peter Cooks book Beginning Ruby. I get the same error message
on my IDE and Mac/ Yosemite os

File code
require “string_extensions”
puts “This is a test”.vowels.join(‘_’)

Error Msg

/home/action/.parts/packages/ruby2.1/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in`require’:

cannot load such file – string_extensions (LoadError)
from

/home/action/.parts/packages/ruby2.1/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in

require' from vowel_test.rb:1:in