Skip to main content
-2 votes
0 answers
62 views

I'm trying to access PostgreSQL from within my backend application using Docker, but I'm getting the following error: User.last #=> There is an issue connecting to your database with your username/...
andbri321's user avatar
-2 votes
2 answers
55 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
76 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
39 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
37 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
113 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
120 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
98 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
0 votes
0 answers
45 views

I need to annotate a method but, for unclear reasons, Sorbet seems not to be able to correctly perform the type analysis. The code is the following: module MyModule class Object < BasicObject ...
Marcus's user avatar
  • 5,315
1 vote
1 answer
64 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
96 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