boxen / our-boxen

Copy me for your team.
https://github.com/boxen/our-boxen/
MIT License
2.58k stars 883 forks source link

Already evaluated at rest #806

Closed nomasprime closed 8 years ago

nomasprime commented 8 years ago

I'm getting the following output:

Already evaluated rest at /opt/boxen/repo/.bundle/ruby/2.0.0/gems/facter-2.4.4-universal-darwin/lib/facter/ec2.rb:21, reevaluating anyways
Already evaluated rest at /opt/boxen/repo/.bundle/ruby/2.0.0/gems/facter-2.4.4-universal-darwin/lib/facter/ec2.rb:38, reevaluating anyways
Already evaluated rest at /opt/boxen/repo/.bundle/ruby/2.0.0/gems/facter-2.4.4-universal-darwin/lib/facter/gce.rb:4, reevaluating anyways

I believe it's caused by multiple binaries, as per https://tickets.puppetlabs.com/browse/FACT-634, but I can't figure out how to fix it.

nomasprime commented 8 years ago

I've completely removed and re-installed Boxen, still getting the same errors.

nomasprime commented 8 years ago

The only thing I can see is inside /opt/boxen/repo/.bundle/ruby/2.0.0/gems/facter-2.4.4-universal-darwin/lib/facter/* define_resolution(:rest) is mentioned 3 times, maybe this has something to do with it.

nomasprime commented 8 years ago

This is indeed caused by multiple facter installs. I had facter, hiera, and puppet installed from the package installers. To fix, downloaded them, run the installer, and remove all the files listed in File > Show Files (Cmd-I).

jacebrowning commented 8 years ago

I simply deleted /opt/boxen/repo/.bundle/ruby/2.0.0/gems/facter-* to resolve the issue on my machine.