DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
run rake task in rails console
require 'rake' Rails.application.load_tasks # <-- MISSING LINE Rake::Task['my_task'].invoke
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#run
#rake
#task
#rails
#console
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit