I have setup a Rails 7 project running in Docker. Using the whenever gem (using cron) I tried to execute either a rails runner task a rake task ...
I have setup a Rails 7 project running in Docker. Using the whenever gem (using cron) I tried to execute either a rails runner task a rake task ...
I need to get a specific variant of an image when I start the server, which is why I attempt this with a Rake task that I call from within an initiali ...
I'd like to add a column to my table with a default value of FALSE, but for current data entries the value should be TRUE. For example: This code ...
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 ...
We have recently migrated from sending emails with deliver_now to deliver_later. So that queued emails aren't lost when the system restarts, we implem ...
im trying to update my Bitnami Redmine database, by using rake db:migrate RAILS_ENV=production but the problem is that the status says that i have man ...
I’ve deployed my Ruby app on Heroku, however when looking to register or login I’m having an internal server error. My app is built on Sinatra and Rak ...
I have a rake task that performs activities that receives flags from the user on runtime. This task: Runs methods across multiple models. Change ...
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 ...
Problem: I'm creating a Rails app, single dev, running staged/prod servers on Heroku, not publicly released yet. Reworking my DB infrastructure, since ...
I am resolving a conflict on schema.rb by running rake db:migrate The migration changing the definition To Are those 2 equivalent? Where does t ...
Doing bundle install using rails 6.1.5.11 and ruby 2.7.6, I keeping seeing a GemWrappers error after installing each gem e.g. The bundle install wo ...
when I try to create my database this error appear I already try My ruby version is ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [-darwin21] ...
Just learning to use the redmine test environment. When I do this: I get a failure: I have removed the two plugins I had installed; neither of t ...
We have 1 server, where we run only batches. Its working very smoothly without any problems but suddenly it's increasing memory. You can see in EC2 m ...
I have a rake task in my application, that should start a TCP server. I have moved rake command to an entrypoint.sh file and in docker-compose added n ...
I just upgraded to Rails 6.1.4.4 and a migration that previously passed in Rails 4 fails in the new set up. It is Now I get the error when I run “r ...
Rake has added an order_only feature in 13.0, which is probably based on GNU Make's order-only prerequisites. Information on how order-only prerequis ...
I'm setting up a second database with my Ruby on Rails (3) application, so I want to create a rake task to create the second development database. I'm ...
I'm attempting to install Ruby on Rails version 5.0.0 using Ruby 2.7.0 on Ubuntu. Executing any rake command (eg, "rake --tasks") results in a large n ...