optional rails dependency disabling

#96