I’m not being able to require a file under /lib on Heroku console. Any idea why?
This is in my local machine
ruby-1.9.2-p290 :001 > require "folder/file.rb"
=> true
This is on Heroku console (Cedar)
irb(main):057:0> require "folder/file.rb"
=> false
As I suggested in the question’s comments, it worked with
require './folder/file.rb'.Note the
./before the file path.