Closed botandrose closed 7 years ago
Having the same issue here with ruby 2.4.1 on Ubuntu 14.04.4 LTS.
I have tried to reproduce this on Ubuntu 16.04 and 14.04 with ruby installed via apt, including both the Ubuntu default version (2.3.1 on 16.04) and the brightbox packages (2.4.1 on both Ubuntu versions). In every case I was able to do this:
$ gem install faker
$ irb
irb(main):001:0> require 'faker'
=> true
To aid me in getting this resolved, please let me know how you have installed Ruby and how you have installed faker (either via the gem command or by bundler).
i think, https://github.com/stympy/faker/commit/baf7f8295fdc7f140d718391a5676cadf7509ed0 does not guarantee the requiring order. so sometimes 'faker/time' is required before 'faker/date' and raise "NameError: uninitialized constant Faker::Date"
Yeah, I was thinking the same thing, I was just hoping to be able to reproduce before trying a fix. Oh well. :)
Maybe the 1.8.1
gem should be yanked?
Gem v1.8.1 has been yanked