Questions tagged [rakefile]

Rakefile: configuration file for Rake build language (equivalent build.xml in Ant). Rakefiles are Rake's version of Makefiles.

Rakefiles define Rule patterns to synthesize implicit tasks for Rake. There usage is similar to Makefiles for make.

Rakefiles are defined in pure Ruby. There filename is normally rakefile or Rakefile. Rake's command line option —rakefile filename use filename as the name of the rakefile.

227 questions
-1
votes
1 answer

Rake task not saving or creating new record in database

I've created a ruby script that executes fine if I run it from Console. The script fetches some information from various websites and saves it to my database table. However, when I want to turn the code into a rake task, the code still runs, but it…
-1
votes
1 answer

Rake - running a sequence of tasks

I'm using Rake to compile some annoying LaTeX stuff. As a matter of fact, I'd like to clean my working dir before and after compiling. So I defined two tasks: :clean and :compile. Somehow naively, I wrote this: task :default => [:clean, :compile,…
whatyouhide
  • 15,897
  • 9
  • 57
  • 71
1 2 3
15
16