I am having trouble including other files to use within a Rake file. For example, I have a version.rb file that contains the version number that I want to refer to inside the rake file, also, I have a ...

I am trying my hand at writing a rakefile, and have what I think should call simplecov and then call rspec to run tests, but when I run my rakefile nothing gets executed. Am I doing something wrong? ...

On many application hosting platforms it is possible to configure arbitrary commands to run as part of (and at various specific points in) the deployment proves — e.g. AWS-EB, supports commands and ...

I'm writing a gem and I want to have an access to the gem rake tasks from my rails app. To do this I use Railties.
I have lib/frontrockets-rails/railtie.rb with
require 'frontrockets-rails'
require ...

I want to cleanly lookup various directory paths using shell commands in a rakefile, assign that value to a variable, and then use that variable to create directories (and use in other tasks). I've ...

I'm trying to use Hashie outside of Rails. In my rakefile, I've included require hashie/hash, but I still get the NoMethodError. I've tried using require hash; no luck there either.
This is the line ...

I'm using nokogiri to scrape and add information to my db and I ran into some trouble creating a rake task to add separate items into the database. My Initial code was a jumble of randomness so I've ...

I have this code for compiling c code, which internally calls a make command from invoke_make function. Code has Changedir which always goes to the directory where we have c code and a local makefile ...

When I try to build with rake build it says it could not locate the Gemfile, even though there is definitely one in the folder I'm executing it in... When I look at how it executes, there is a very ...

In my Rails project I have a specific list of externally-supplied files I want to process using Rake. My goal is to be able to specify the source directory of these files as an argument like so:
rake ...

I have a Ruby on Rails application that first goes through Jenkins where it is tested with the command rake and then sent to a testing environment where different tests are run. I want to be able to ...

if I try to use any rake command, I get the error message in the title.
root@project:/home/user/project# rake --trace
rake aborted!
no such file to load -- jeweler
/home/user/project/Rakefile:18:in ...

Some tests require internet connection and some other don't. So they are divided into two test groups with different file name patterns. How to update below Rakefile so that they can be run separately ...

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 ...