All Questions
1,325
questions
0
votes
0
answers
29
views
Trying to install Nanoc (with Ruby) on Fedora Linux, but getting an error I can't decipher
I try to install Nanoc on Fedora Linux.
I've successfully installed Ruby using
dnf install ruby
Checked it with ruby -v and made sure rubygems is installed. Also checked version to verify ...
0
votes
1
answer
36
views
Why is Open3.popen3 wrapping my command in `sh -c` on linux but not on macos? [closed]
This code
Open3.popen3('mydir/myscript')
is being wrapped in sh -c on linux, but not on macos. Why?
ruby 3.3
1
vote
1
answer
95
views
How to continue script execution after a command replaces itself with a new shell process?
I have an executable ruby script as follows:
example:
#!/usr/bin/env ruby
at_exit do
# Replace the currently running Ruby process with a new instance of the parent shell
exec(`ps -p #{Process....
0
votes
0
answers
144
views
/usr/bin/env: ‘ruby3.0’: No such file or directory
I try to run this command sudo bundle exec rake ridge:apply ALLOW_DROP_TABLE=1 ALLOW_REMOVE_COLUMN=1
but get this following error /usr/bin/env: ‘ruby3.0’: No such file or directory
after that I use ...
1
vote
0
answers
44
views
PUPPET ERROR expected chomping or indentation indicators
2024-02-06T12:50:38.562+01:00 ERROR [qtp488725606-52] [puppetserver] Puppet Server Error: Could not load external node results for "mynode": (<unknown>): expected chomping or ...
2
votes
2
answers
1k
views
Trying to install Ruby 3.2.2 but keep getting error during installation
Please bear with me as this is my first time coding with Ruby, but I've been trying to install it for a while now but each time I keep getting the following error. Does anyone have any advice on how ...
0
votes
1
answer
87
views
how can I get this ruby Visual qr Code generator working properly
I'm trying to get this Visual QR code generator from this GitHub repo working but I keep getting an error message, the repo is marked as read-only, and I cannot get any answer from the creator.
This ...
-1
votes
1
answer
612
views
Stack level too deep (SystemStackError) when use zsteg
I want to use zsteg.So I follow the teaching about how to install ruby step by step. But something wrong when zsteg run.
@-VirtualBox:~$ zsteg concat_v.png
/home/weis/.rvm/gems/ruby-3.0.0/gems/zpng-0....
1
vote
0
answers
249
views
Error when installing "gem install bundler --no-doc" using a shell script
I am creating a script on Debian 11 with a regular user.
I'm trying to run this script:
#!/bin/bash
rvm install ruby-2.7.2
gem install bundler --no-doc
However, when I try to run the command:
gem ...
2
votes
0
answers
466
views
OpenSSl is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
I bought a new chromebook, downloaded ruby and rbenv but I cannot download open SSL and I don't know how to since I am trying 'gem install rails'
ERROR: While executing gem ... (Gem::Exception)
...
1
vote
1
answer
356
views
Missing development tools when building colorls
When I try to build colorls it fails and complains about missing development tools. I have installed all needed packages - at least all I know that are required. I don't know which development tools ...
0
votes
1
answer
127
views
Ubuntu Rails Production server Permission denied
I am running into a issue where my rails server cannot edit files on the server.
I am running spree 4.3.2 and deployed via mina.
I am getting this error as a result
Permission denied @ `...
0
votes
0
answers
120
views
Reinstalled RVM after an implode, but now command 'rvm' isn't found
When trying to install Ruby 2.7.7 for one of my projects, I ran into an error while running make install. Installation halted message. Since then I have tried a lot of different things I found on ...
24
votes
7
answers
29k
views
How to fix the "running '__rvm_make -j4'," error, while installing ruby 3.2.1 using RVM?
Am trying to install ruby 3.2.1 using RVM. I'm getting the below error.
05:44:55 # rvm install ruby-3.2.1
Warning! PATH is not properly set up, /usr/local/rvm/gems/ruby-2.6.5/bin is not at first place....
1
vote
0
answers
189
views
linux perf error when adding a probe with arguments
I'm trying to add a probe to ruby and it works fine without arguments:
perf probe -x $(command -v ruby) --add 'vm_search_method.isra.0'
When I list the available arguments I see:
perf probe -x $(...