Skip to main content
0 votes
2 answers
58 views

I have a rake task that require_relatives a ruby file and then calls a method defined in that file. That method fills a directory with new files, creating the directory if necessary. If I make my rake ...
Sparr's user avatar
  • 7,830
0 votes
2 answers
115 views

Given the dummy rake task below require "optparse" namespace :a do namespace :b do task c: :environment do options = {} OptionParser.new do |parser| parser.banner ...
Sig's user avatar
  • 6,150
1 vote
1 answer
58 views

After an upgrade to RoR 3.4.2/8.0.2, migrating the db hits the following problem. When running rake db:migrate, I see the following error: ... == 20151121064619 AddUploadToEntries: migrating ==========...
Max's user avatar
  • 11
0 votes
1 answer
55 views

I'm working on a Ruby gem. I'm writing unit tests for it in minitest. Currently I'm using require_relative 'lib/my_gem' to load the gem scripts for test purposes. Eventually I'll be publishing the gem ...
JohnA's user avatar
  • 899
0 votes
0 answers
102 views

I have a series of minitests that work just fine Ubuntu 22.04.2 Ruby ruby 3.2.3 minitest:4.25.4 rake:13.2.1 These are being kicked off with rake: bundle exec rake test $@ # rakefile: require 'rake/...
JohnA's user avatar
  • 899
0 votes
0 answers
60 views

I set up a brand new Ubuntu 24.04.1 LTS (several times now) There is my root-user and there is a lower privileged redmine-user. All basics. I went straight forward to following the Redmine-...
doubleplusgood1984's user avatar
0 votes
1 answer
50 views

I'm trying to find the script called by this Ruby/Rake command to find out exactly what is does ? Rake::Task["db:reset"].invoke I trying to find the script defining this command : $ find /...
SebMa's user avatar
  • 4,965
0 votes
1 answer
778 views

When I am using command "gitlab-backup create --trace" to backup my gitlab data, the errors as follows: {"level":"error","msg":"create: pipeline: 3 ...
ohara0627's user avatar
1 vote
2 answers
121 views

I have a rake task that requires several hours to run. I logged into my server, ran there the rake task and watched the outputs generated inside the terminal window. Then my internet connection broke. ...
user984621's user avatar
  • 48.8k
0 votes
2 answers
426 views

I want to use rake to extract technical keywords from a job description that I've found on Linkedin, which looks like this: input = "In-depth understanding of the Python software development ...
Fatemeh's user avatar
0 votes
1 answer
393 views

I have a pact published on a pact broker, and I need now to verify it with the provider. I started by using the pact-cli on a docker image, and using pact-provider-verifier I can connect to the ...
Diferdin's user avatar
  • 1,260
2 votes
0 answers
106 views

Is loading structure.sql via rake atomic? If I load structure.sql using this command and it fails because of an error within the structure.sql file: $ bundle exec rake db:schema:load RAILS_ENV=test ...
Jacob Miller's user avatar
0 votes
1 answer
863 views

I have a project in which many API calls are defined with rswag to generate the open API documentation. In this project, I categorized my endpoint paths in separate ruby files. My question is, When I ...
nipuna's user avatar
  • 4,143
-2 votes
1 answer
70 views

"D:\Python files\venv\Scripts\python.exe" "D:/Python files/main.py" Traceback (most recent call last): File "D:\Python files\venv\lib\site-packages\nltk\corpus\util.py", ...
Harsh Verma's user avatar
0 votes
1 answer
178 views

I have the following setup: class Simple def self.test; end end task a_simple_job: :environment do counter = 0 while counter < 2 Simple.test counter += 1 end end require "...
ohhh's user avatar
  • 707

15 30 50 per page
1
2 3 4 5
292