As Jazz said, sliding a carriage along is a pretty sensitive test of whether or not the rail is fairly straight - you quickly feel the graunching sensation if it isn't! My design uses an aluminium block with two carriages bolted to it (gantry then bolts to these later) and having two carriages fixed in line is even more sensitive. No way am I going to buy a 1.8m straightedge for alignment purposes.

Just bolting it down by eye (I loosely bolted one end of mine, then wiggled it a bit to let it find its own line) is probably good enough for a first pass, with a sanity check of running the carriage up and down. It's not going to be many thou' out, I reckon. I then set the second rail to this, knowing that it's probably not absolutely straight but good enough to work, and will then fine-tune it by cutting test pieces once the machine is in a state to actually cut something. It's another example of the "you can't build it accurately enough but you can tweak it afterwards" home-workshop approach...