I am using whenever gem to schedule jobs but I am not able to figure out how to schedule a job for the end of each month. Below is the which I want to ...
I am using whenever gem to schedule jobs but I am not able to figure out how to schedule a job for the end of each month. Below is the which I want to ...
I have Jenkins Pipeline that will deploy a pod with a container using my ruby's application image, and there is a stage that will run a rake command f ...
I want to call a function that is in another rake file. Rake File 1: Rake File 2: I am currently getting a no such file to load error despite c ...
On Rails 6 (6.1.4.1) we had a RakeFile that would run a subset of tests. For example: This would execute just fine when called: However, somewhe ...
Can anyone explain why we take t as an argument here and the use of t in this task. ...
remote: ! remote: ! Could not detect rake tasks remote: ! ensure you can run $ bundle exec rake -P against your app remote: ! and using the production ...
I need to add a new email that can be sent to each user in the morning. We have a multi-tenant per client system, and each client has multiple users w ...
I am intending to write a generic rake task that allows me to destroy a model's records after taking in model name and ids as input params Here's w ...
i am running rails 3 thread to improve the performance of the rake task. sometimes i am getting uninitialized constant when i am trying to access outs ...
I want to push my first application in Heroku, but my push failed. I have this error in my shell; So, this is my Gemfile I think I tried everyth ...
I have a rakefile with several tasks and some of them take a lot of time (hours or days). I usually run some tasks, and left the rest to be executed i ...
I have this rake task set up to run on a production server through Cloud66 jobs every 3 minutes. It's purpose is to release reservations made for book ...
Using the code below to reset & reseed the DB db:seed creates a few users & few objects. It also updates role for few users. db:seed throw ...
I have a Rails application using Active Storage, with some tasks that should run every day to attach images to a model and store them in a bucket in G ...
I have a Rails rake task that I'm using to send emails and the only way I can get my Mailer to send to multiple recipients is by collecting them in th ...
I have a rake task: I am getting : Any solution to resolve this? I tried out this : With this it is working fine, is there any other good wa ...
I have a rake task : This is basically killing processes. And this task is a part of another rake task : There's another task: When I am doin ...
I have the following command: ps -ef | awk '{if( $8~"java" || $8~"ruby" || $8~"god"){printf("Killing : %s \n",$2);{system("kill -9 "$2)};}};' How d ...
I have a hardcoded file task How can I use match patterns ...
My rails application is hosted on Heroku. I'm trying to process data in my postgresql DB with a straightforward loop The problem I have is my rails ...