Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LoadError: cannot load such file -- english

Tags:

ruby

Our code does

require "english"

It worked locally, but we got this error on our CI server:

LoadError: cannot load such file -- english

Any ideas?

like image 567
Henrik N Avatar asked Dec 04 '14 12:12

Henrik N


1 Answers

Turns out the fix was to change

require "english"

into

require "English"

Our local OS X file system (where the first one worked) was case-insensitive. But the CI server has a case-sensitive Linux file system that only accepts "English" with a capital E.

like image 127
Henrik N Avatar answered Nov 12 '22 18:11

Henrik N