Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
39 views

I'm trying to attach Selenium to existing browser. Based on this tutorial, now I've got: test.bat cd /d "%~dp0" ruby test.rb %1 %2 %3 %input% pause test.rb require 'selenium-webdriver' ...
Shruikan's user avatar
0 votes
1 answer
37 views

I'm on MacOS Tahoe (26.3.1 (a)). I have a Ruby project which requires msgpack (1.4.2). Unfortunately, when I run bundle install, I see: Fetching msgpack 1.4.2 Installing msgpack 1.4.2 with native ...
Sam's user avatar
  • 6,780
-1 votes
1 answer
66 views

I have successfully installed wxruby3 using the gem install wxruby3 command. I also downloaded wxWidgets from the official website. I downloaded additional packages using the wxruby setup command. I ...
Mila1803's user avatar
0 votes
1 answer
46 views

I have setup chromium profile and wish to use that with ruby ferrum library. I copied complete configurations directory into /tmp and passed browser switched, but profile extensions seems to not work....
Alex's user avatar
  • 13
Tooling
0 votes
4 replies
102 views

I followed the advice from this question and I started to experimenting with Selenium, but I feel like it has to many limitations. Could you recommend something more suitable? A simple program that ...
Shruikan's user avatar
0 votes
1 answer
165 views

I had an issue this morning where someone was blowing up our school search function (which uses a MySQL MATCH function) by typing '𝓵𝓲𝓵𝓵𝔂𝓬𝓻𝓸𝓯𝓽' into the school search. This is within the ...
Max Williams's user avatar
  • 33.1k
-1 votes
1 answer
127 views

Is it possible to have a Regex include the whole string as a named capture group as well as individual named capture groups? I am trying to parse IIS logs and can successfully extract the details I ...
Neil Riach's user avatar
Advice
0 votes
2 replies
138 views

I'm Alex. I program science I was in school and I have concepts of Datatypes which I would like to have in programming language. Ruby is My Favorite languge (10+ years of experience), Are there any ...
Alex's user avatar
  • 1
3 votes
1 answer
92 views

I started a new rails project and generated a model with rails new nonono --css=bootstrap -j esbuild bin/rails g scaffold State name After that I run the test suite bin/rails test And got the ...
user1644367's user avatar
Advice
0 votes
5 replies
135 views

In VSCode i am tying to increase amount of useful information displayed. A lot of screen space is taken up by UN-numbered blank lines between the lines of code. These are not actual lines as they ...
user3285799's user avatar
0 votes
0 answers
76 views

With the following code: require 'nokogiri' class MyDocument < Nokogiri::XML::SAX::Document def start_element_namespace(name, attrs = [], prefix = nil, uri = nil, ns = []) a = attrs.map ...
jean marc's user avatar
2 votes
0 answers
102 views

I've upgraded Ruby from Ruby 3.1.7 to Ruby 3.2.8; after that, I've encountered a situation where my ruby bundle works for the first deployment on Heroku-deployed servers, but all subsequent ...
G987's user avatar
  • 49
1 vote
1 answer
130 views

I have the following Unix timestamp: time = Time.at(-8_640_000_000_000) # => -271821-04-19 19:00:00 -0500 time.strftime('%B %-d, %Y at %-I:%M %p') # => "April 19, -271821 at 7:00 PM" ...
Droid's user avatar
  • 67
Advice
0 votes
6 replies
74 views

My question could apply to many other ruby frameworks I guess. But here I have the case while programming a Jekyll project. Let's see this Jekyll plugin as an example: require 'dotenv' module Jekyll ...
Quentin's user avatar
  • 1,173
-3 votes
0 answers
53 views

I'm looking at the characters in this pdf: https://www.unicode.org/charts/PDF/U1D100.pdf For example, the treble clef symbol which has a unicode value of '1D120' In ruby 1.8.7, how would i convert ...
Max Williams's user avatar
  • 33.1k

15 30 50 per page
1
2 3 4 5
15283