17,033 questions
0
votes
0
answers
129
views
gem 'ruby-vips' on Windows: non-compatible forward slashes in the vips-module path
After upgrading Rails from 8.0 to 8.1 and running rails s on Windows, I get VIPS warnings, for example:
unable to load "C:\Ruby34-x64\msys64\ucrt64/lib/vips-modules-8.17\vips-heif.dll"
...
0
votes
0
answers
64
views
Why can I not install latest jekyll via bundler & ~/gems , if the Ubuntu jekyll package is installed?
I tried to follow the official step-by-step tutorial to install jekyll, and create a new project.
At the step where I run bundle (or more explicitly, bundle install), it installs several gems, but ...
9
votes
1
answer
490
views
Ruby on Rails Redis connection_pool wrong number of arguments (given 1, expected 0)
I recently encountered an issue deploying a Ruby on Rails app to production (on Render) whereby the app would not build and rake tasks would not run. The application would build and launch fine in ...
-5
votes
1
answer
70
views
slack-ruby-client gem: where does client id and secret go?
I'm trying to use the slack-ruby-client gem. Ive made a Slack app and have all the client id, secret, etc. But i cant work out what i am supposed to do with them. In that gem it has the following: ...
0
votes
0
answers
52
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
0
answers
35
views
React native: Searching for inspections failed: undefined method `map' for nil:NilClass
While upgrading react native version from 0.80.2 to 0.81.4, npm run ios --verbose , throws this error:
error Searching for inspections failed: undefined method `map' for nil:NilClass
report....
0
votes
1
answer
86
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
0
answers
72
views
Bundler option to use older Ruby headers?
I am running some old ruby code and it misbehaves with the latest versions of some dependencies. I can change the dependency version in the Gemfile and then ask bundle to install the dependencies.
The ...
0
votes
1
answer
63
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
0
answers
67
views
How to force rbenv to use local version instead of system binary
I have set-up rbenv which sets my local version properly.
However when I use executables like ruby or gem, it still uses (macos) system defaults
My rbenv local setup shows correctly
[(adikshit@...
0
votes
1
answer
47
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 ...
0
votes
0
answers
41
views
Savon wsdl inclusion breaking Workday SOAP calls
I noticed after updating from savon 2.12.1 -> 2.15.1 that suddenly we started to hit namespace errors, specifically.
(SOAP-ENV:Client.validationError) Validation error occurred. Namespace not found:...
1
vote
1
answer
213
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 ...
4
votes
0
answers
96
views
how add a external file to extconf.rb
How add information to extconf.rb for compiling library file on other directory than extension?
my extconf.rb
require 'mkmf'
$CFLAGS += ' -I..'
OTHER_LIBRARY_VERSIONS = {}
dir_config ("../")...
1
vote
1
answer
123
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 ...