I have the following structure:
lib/models/module_name.rb
lib/models/module_name/one.rb
lib/models/module_name/two.rb
lib/models/module_name/three.rb
module_name.rb contains the following:
require 'module_name/one'
require 'module_name/two'
require 'module_name/three'
When module_name.rb is loaded I get the error ‘No such file to load — module_name/one (LoadError)’
any ideas? Please excuse my ignorance.
Looks like the problem was caused by a problem with virtualbox and windows mounting interaction. Basically the files were moved after I performed a move, but the files were not correctly registered in the linux VM and thus could not be loaded by ruby.