Well, there are a lot of young, single guys around Barstow, since both Ft Irwin and aforementioned Marine Corps Logistics Base are there, so I suspect there would be things to do. Most of 'em probably do involve barstools.
Victorville isn't too far away for a quick evening night out. LA is 1 1/2 hours, Vegas is 2 1/2 hours and San Diego 3 hours for a weekend away.
The drive out to Ft Irwin isn't too bad. It used to take me about 45 minutes in a fully-loaded bus, so knock five minutes off in a car (over a certain part of the road, the speed limit is very strictly enforced.) I think if it's something relatively short-termed, career-enhancing and well-paid, I'd put up with Barstow for awhile. But I've got a bit of desert rat in me - I like the desert.