adding rake task
adding railtie for rails apps