Created
May 25, 2016 19:48
-
-
Save joseluistorres/07194613ee8061cd8d1475ea197c36ab to your computer and use it in GitHub Desktop.
run a rake from rails console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rake' | |
MyRailsApp::Application.load_tasks # <-- MISSING LINE | |
Rake::Task['my_task'].invoke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment