4 questions from the last 7 days
0
votes
2
answers
59
views
error installing rails - alternate installation path possible
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....
0
votes
0
answers
34
views
binding.pry debugger not working on Windows 11
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:
...
0
votes
1
answer
31
views
Rails logs show `DEBUGGER: Debugger can attach via UNIX domain socket` but VS Code rdbg says "Can not find attachable Ruby process."
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....
5
votes
1
answer
106
views
Symbol#to_s, Array#last, Time.now undefined or no-ops when evaluated using Ruby 3.x C API
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 ...