Questions tagged [ruby]
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
421 questions
1
vote
1
answer
2k
views
How to update the version of ruby on macOS?
I am trying to update the Ruby version on macOS to be compatible with Jekyll. I am currently having the following:
ruby -v
ruby 2.6.10p210 (date revision ...) [universal.arm64e-darwin24]
But I would ...
2
votes
0
answers
54
views
Get statistics on FLAC to MP3 (LAME) conversion command
I'm making a simple script in Ruby to convert FLAC to MP3 in batches, sending the decoded FLAC to stdout (to avoid temporary files):
flac.exe -d -c in.flac | lame.exe - out.mp3
In Ruby I can easily ...
0
votes
0
answers
124
views
Ruby on IIS 10 with HTTP Platform Handler
I had Ruby with Redmine on IIS 10 on Windows Server 2019 with HTTP Platform Handler https://qiita.com/alokrawat050/items/d757b23a063435a2619c Helicon Zoo does not support Windows 2019. Now I am ...
0
votes
1
answer
64
views
Where does homebrew installs rbenv on macOS 14.6?
% ls -la ~/.rbenv
ls: /Users/`whoami`/.rbenv: No such file or directory
% ls -la /usr/local/rbenv
ls: /usr/local/rbenv: No such file or directory
I also get this utterly useless output from ...
1
vote
0
answers
76
views
brew stopped working on mMacBook Pro - kernel_require.rb:54:in `require': cannot load such file -- mach (LoadError)
Not sure when this happened, but I went to update for a project on my primary MacBook Pro (M1 Max, 64gb RAM)and I get the following error with any brew command, including just typed brew:
aarontaylor@...
0
votes
1
answer
422
views
Error installing passenger: passenger-6 from passenger requires libruby.so.2.5, but none of the providers can be installed
Originally I wanted to update ruby2.5 to ruby2.7.
However passenger hindered the update (yum threw an error), so I removed passenger and ruby2.5 to install ruby2.7 afterwards.
Installing ruby2.7 then ...
0
votes
0
answers
2k
views
apt reinstall local package if package was previously installed by repository
before I embark into this I would like to ask for clarification.
I have a github package installed in Debian via its own repository. Now the project has been archived and its repo no longer works.
I ...
1
vote
1
answer
239
views
Configure key binding behavior in Ruby's pry
The key bindings in ruby's "pry" editor started behaving differently than they do in "irb", and I want to know how to change the behavior (which feels it should be configurable).
...
0
votes
1
answer
188
views
Can't use 'vagrant' after installling 'jekyll' with error: 'can't find gem vagrant'
After the install of jekyll with gem install jekyll, my vagrant commands fails with:
$ vagrant up
/usr/lib/ruby/vendor_ruby/rubygems.rb:265:in `find_spec_for_exe': can't find gem vagrant (>= 0.a) ...
0
votes
0
answers
55
views
Is it possible to install Ruby 3 on Mac OS X 10.6 Snow Leopard?
I’ve been trying to install Ruby 3 on my old Mac running 10.6 Snow Leopard using ruby-build. I can’t figure out why it’s failing. I couldn’t find any Ruby documentation on whether or not Mac OS X 10.6 ...
0
votes
1
answer
59
views
"which bundle" and "bundle -v" point at different directories on wsl2; bundle -v does not exist
$ which bundle
/usr/local/bin/bundle
$ bundle -v
bash: /mnt/c/Ruby26-x64/bin/bundle: No such file or directory
I've tried uninstalling and reinstalling bundler; not sure what else to try.
0
votes
0
answers
726
views
RubyMine using 100% of CPU on Mac
I'm running a plain old Ruby on Rails server in RubyMine, and if left idle, it's just using up all my memory. I'm not even using the Rails application (browsing pages etc), and it's not doing any ...
3
votes
1
answer
2k
views
Broken `/Library/Ruby/Site/2.6.0` on MacOS, cannot run `brew`
To start, I had these following annoying output when opening my terminal:
Ignoring bigdecimal-2.0.0 because its extensions are not built. Try: gem pristine bigdecimal --version 2.0.0
Ignoring ...
0
votes
2
answers
3k
views
How to run Ruby on Rails on new MacBook Air M1?
I am running Ruby version 2.7.2 and I have been trying to run Ruby on Rails but nothing seems to work. I tried rvm, rbenv and now asdf but everytime I try to run rails server in an old project after ...
1
vote
1
answer
148
views
Is it posible to run Ruby(as a language) in a sidecar in Kubernetes
I'm working on Python Pod to do one main job. However, for a single step, I need different versions of Ruby, so instead of installing all ruby versions in the "main" python container, I was ...