PRoblem using railroad

That almost looks like the RAILS_ENV was nil.

What is the exact command you were trying to run?

I wonder what would happen if you tried something like

  RAILS_ENV=development railroad -o myDiagram.dot -M