Skip to main content
0 votes
0 answers
65 views

I would like to access a Python package in Ruby using PyCall. The non-blocking function in the Python code below activates a callback. Could you help me implement the callback? #!/usr/bin/env python # ...
Tim's user avatar
  • 3
1 vote
2 answers
82 views

I'm parsing a number of text files of different formats. Some are csv, some are xml and some even txt. I have a case statement that checks if a certain string is contained in the first 100 bytes of a ...
Ricky883249's user avatar
0 votes
0 answers
51 views

I'm working on a React Native iOS project using React Native 0.81.4, and I'm getting a CocoaPods–related error when running: Installing Ruby Gems Installing CocoaPods dependencies with New ...
Pankaj Jain's user avatar
0 votes
0 answers
54 views

Here is the error: bundle exec rails app:update:bin /home/ubuntu/.rvm/gems/ruby-3.1.2/gems/activesupport-6.0.6.1/lib/active_support/logger_thread_safe_level.rb:16:in `module:LoggerThreadSafeLevel': ...
Asher Namanya's user avatar
2 votes
2 answers
355 views

m getting an SSL error when making an HTTPS request in a Rails controller (Ruby 3.1.6): OpenSSL::SSL::SSLError in PurchaseAttemptsController#create SSL_connect returned=1 errno=0 peeraddr=3.175.45.47:...
Arnold Roa's user avatar
  • 7,796
-2 votes
2 answers
68 views

I have been asked to look at an old Ruby application that is currently deployed to AWS via CodeShip on successful build. CodeShip is obviously gong out of service end of Jan 26 and I need to deploy ...
user1587804's user avatar
0 votes
2 answers
81 views

I want to install Rails on Windows using the procedure described in the official Ruby guide. When I enter gem install rails I get the error message: Permission denied @ rb_sysopen - /var/lib/gems/3....
Kurt Hoffmann's user avatar
-1 votes
0 answers
46 views

I'm running into issues with binding.pry on Windows 11. When I insert it into my Ruby script, the program reaches that line but either skips over it or pauses without accepting any input. 🧪 Problem: ...
Harshwardhan Patil's user avatar
0 votes
1 answer
45 views

I have two Rails apps that I want to debug with the VS Code rdbg Ruby Debugger extension. For each of them, I have a launch.json that looks like this (abbreviated): { "version": "0.2....
Sam's user avatar
  • 6,710
5 votes
1 answer
117 views

For several years I've been using the Ruby C API to add the ability to use Ruby code in my C text editor (a variant of MicroEMACS). This has been working well in Linux Mint 21 (essentially the same ...
bloovis's user avatar
  • 53
Advice
1 vote
1 replies
122 views

I see that it is supposed to be possible to embed a Python interpreter in a Flutter app, so can I assume it should therefore also be possible to do this with a Ruby interpreter? (I would be happy ...
iconoclast's user avatar
1 vote
2 answers
99 views

I am a beginner in Ruby and I am having trouble with if else statement. As you know, Ruby will return the last calculated code if the return keyword is not specified. Here is the issue. def aMethod(*...
user31692069's user avatar
1 vote
1 answer
73 views

I set up Ahoy to work with my Rails app and ahoy.track each time a user loads a page. It's working neatly but I'd also like to track some more client-side actions such as a button clicks, moving ...
Necrom's user avatar
  • 11
1 vote
1 answer
111 views

After upgrading from Rails 8.0.3 to Rails 8.1.0, my application crashes with an undefined method 'arity' for an instance of Hash error. The issue appears to be related to the acts-as-taggable-on gem, ...
M. Salman's user avatar
1 vote
1 answer
93 views

I realised that Rails 8 generated automatically a service worker file for a new app. It seems to be useful for web push notifications, and I would like to use push notifications but I do not know how ...
Chiara Ani's user avatar
  • 1,135

15 30 50 per page
1
2 3 4 5
15285