17,036 questions
-1
votes
0
answers
39
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
0
answers
39
views
How to attach a JSON file to a Slack message?
I'm using the Slack Poster gem to send messages to a Slack channel via a webhook.
I can send a message like so, and it comes through fine:
string = "Here is your attachment"
poster = Slack::...
0
votes
1
answer
74
views
Rails API issue with devise routes
I am creating an api in rails and I am implementing the authentication with devise gem. Right now I am creating a custom verify endpoint but I am getting the following error:
Unknown action
Could not ...
0
votes
1
answer
55
views
ruby warning: Ignoring llhttp-ffi-0.5.1 because its extensions are not built
On one of my linux machines (Ubuntu 24.04) I get warning whenever I run a ruby program. The suggested solution gem pristine makes no difference. The machine has build tools installed.
rful011@...
0
votes
1
answer
37
views
How to push to Rubygems.org?
When I try to push my (brand-new) project to Rubygems.org, I get this:
- $ rake release
webri 1.0.0 built to pkg/webri-1.0.0.gem.
Tagged v1.0.0.
Pushed git commits and release tag.
Pushing gem to ...
1
vote
1
answer
168
views
How to properly set up Ruby gem environment to use ruby-lsp for Helix?
I have some troubles that prevent me from using ruby-lsp with helix 25.01.1.
I use Voidlinux and nushell 0.104.0 and have built from source ruby 3.5.0dev via the official repository.
Here is my gem ...
1
vote
1
answer
115
views
How do I recover access to my Rails console?
I've been working on a simple administrative app for more than a year (yes, I'm slow) it is intended for micro business in Mexico, however, last Friday I tried to improve colors for my irb terminal ...
0
votes
0
answers
45
views
How to publish gem using the rubygems/release-gem action
I'm trying to publish a Ruby gem through the release-gem GitHub Action.
I have copied the workflow suggested in the README:
name: publish
on:
release:
types: [published]
jobs:
release:
...
1
vote
0
answers
76
views
Errors installing cocoapods for Flutter due to outdated rubygems
I've been following the Flutter install doc at https://docs.flutter.dev/get-started/install/macos/mobile-ios.
When trying to install cocoapods using "sudo gem install cocoapods", I get that &...
1
vote
0
answers
206
views
ActiveAdmin 3.3.0 DELETE actions not working with Rails 8.0.2
I'm having an issue with ActiveAdmin 3.3.0 in my Rails 8.0.2 application where DELETE actions are not working. When an admin user clicks the "Delete" link, the application performs a GET ...
0
votes
0
answers
42
views
How to do I solve the following Assets Precompile error? [duplicate]
I am creating a ruby on rails project but my javascript files are not loading prperly.Running rails assets:clobber and then rails assets:precopile gives following error.
$ postcss ./app/assets/builds/...
1
vote
1
answer
160
views
Why can't I build a Jekyll site locally with this downloaded theme?
New to Ruby/Jekyll, but I am trying to install Jekyll locally on my Windows machine, and build a site with a downloaded theme. I am really struggling to get it to run. The theme I am trying to use is ...
1
vote
1
answer
97
views
zsh script command not finding ruby gem
I'm trying to write a simple .zsh script to start my webservers upon computer boot.
This works well:
#!/bin/zsh
cd /Users/me/Sites/Vue/mysite && npm run dev &
But this doesn't work:
#!/...
0
votes
1
answer
55
views
Ruby: flip between require and require_relative in minitests
I'm working on a Ruby gem. I'm writing unit tests for it in minitest.
Currently I'm using require_relative 'lib/my_gem' to load the gem scripts for test purposes.
Eventually I'll be publishing the gem ...
0
votes
0
answers
170
views
Error Installing CocoaPods: Incompatible ActiveSupport and Ruby Version Issues, Followed by CocoaPods Not Working in Flutter
I'm trying to install CocoaPods, but I'm encountering the following error:
ERROR: Error installing activesupport:
There are no versions of activesupport (= 8.0.1) compatible with your Ruby & ...
0
votes
0
answers
73
views
Stuck at building native extension in gem install jekyll
While installing Gems for jekyll, it's been 30 mins now that cmd is at building native extentions. This could take a while.
I started this installation using cmd (Windows) with admin privileges.
gem ...
0
votes
1
answer
216
views
Cannot install the gem sqlite3 version 1.4.2 on Mac
I've been having problems getting sqlite3 version 1.4.2 to install on mac. I have a legacy http server application which I am trying to install the dependancies for, but bundle install keeps hanging ...
0
votes
0
answers
88
views
ERROR: Could not find a valid gem 'buftok' (>= 0), here is why:
When I run my command ruby tweet.rb I get this error:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'buftok' (~> ...
-1
votes
1
answer
218
views
Github workflow - Trivy action - Rexml3.28 vulnerability
Been asked to edit this with more details so here is a summary of the problem. The trivy scanner is failing in the github pipeline only and not locally. It says it is failing because of rexml 3.28 ...
0
votes
1
answer
251
views
Unable to install Karafka gem on M1 Mac
I'm trying to add Karafka to an existing Ruby project and running into Architecture issues while trying to install the gems on my M1 Mac. I've faced this issue with other gems in the past but my ...
0
votes
0
answers
69
views
No such file or directory - installing the jekyll gem
To implement a localhost server, I've installed Ruby and now i need to run the following commands in the CMD:
gem install jekyll
gem install bundler
Afterward, i go to the directory:
C:\projects\...
0
votes
0
answers
56
views
Redmine-Installation, "bundle exec rake generate_secret_token" ends in "cannot load such file -- manpages (LoadError)"
I set up a brand new Ubuntu 24.04.1 LTS (several times now)
There is my root-user and there is a lower privileged redmine-user. All basics.
I went straight forward to following the Redmine-...
0
votes
1
answer
214
views
How to install install Msys2 package icu package for ruby gem?
I am trying to install the Ruby gem github-linguist. I am on a Windows machine, and I have tried executing gem install github-linguist via the Msys2, Mingw64, and the regular Windows command shell. I ...
1
vote
0
answers
57
views
PureData-Gem: pc camera not loaded by the [pix_video] object
I have windows 11 pro ver.22H2, using PlugData 9.2 and Gem 0.94.
I'm trying to flash the webcam video via the [pix_video] object on a rectangle, via [pix_texture]. Problem: [pix_video] throws the ...
0
votes
1
answer
80
views
Ruby aws-sdk gem - how to list knowledge base sources?
I have several AWS Bedrock knowledge models. I know their IDs.
Looking to a way to read/work with KB sources - for example - run sync process.
Trying to use gem 'aws-sdk-bedrock' but it looks like it ...