Fixed ruby error on sourcing