Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [ruby]

Ruby is a multi-platform open-source, dynamic object-oriented interpreted language. The [ruby] tag is for questions related to the Ruby language, including its syntax and its libraries. Ruby on Rails questions should be tagged with [ruby-on-rails].

ruby
0 votes
0 answers
48 views

Rails: problem with handle redirect with turbo_stream in apps

In the application, when creating a feature, it was necessary to add hotwired/turbo-rails. // app/javascript/application.js import "@hotwired/turbo-rails" import "controllers" ...
Steven's user avatar
  • 13
0 votes
1 answer
81 views

Your Ruby version is 2.6.10, but your Gemfile specified 3.3.0

I've gone through all of the fixes for this. I do not/nor have I ever had ruby 2.6.10 installed on this machine. I'm not sure where this came from. I tried regressing to ruby 3.2.0 for something but ...
Int'l Man Of Coding Mystery's user avatar
0 votes
0 answers
73 views

Error while installing ruby on rails on windows 11

I'm trying to install Ruby on Rails, but when I run the command "gem install rails", PowerShell throws this error: C:\Users\milos>gem install rails Using rubygems directory: C:/Users/...
Milda's user avatar
  • 1
2 votes
0 answers
162 views

How to call "unpack" on a string in ruby C-api?

I am trying to use the ruby C-api to call unpack on a ruby string. Here is my current code: #include "ruby.h" #include <stdio.h> #include <unistd.h> VALUE dangerous_func(...
Some nerd who does not have a 's user avatar
0 votes
0 answers
32 views

Ruby on Rails, threading in DelayedJob workers

I'm working on a Ruby on Rails web project that runs on Puma server, also has several DelayedJob Workers on different servers. The project generates some special logs that i want to send to AWS Sqs ...
Ricardo Vila's user avatar
  • 1,646
0 votes
1 answer
168 views

Rails Heroku deployment fails: Could not find gems, Failed to install gems via Bundler

So I have a Rails application that I am trying to push to Heroku. When I run git push heroku master, I get: $ git push heroku master Enumerating objects: 1369, done. Counting objects: 100% (1369/1369),...
Slaknation's user avatar
  • 1,888
0 votes
0 answers
26 views

JBuilder and Rails 6.1

I am working on a POC for switching from active-model-serializer to jbuilder. I am very sad to see AMS being relegated to unsupported status. It's going to take forever to convert our 200+ serializers ...
Dan's user avatar
  • 1,278
0 votes
0 answers
61 views

Error installing msgpack (1.4.4) on ruby 3.0.4 on M1 mac

While installing msgpack gem I'am receiving this error: /Users/orbanbotond/.frum/versions/3.0.4/lib/ruby/gems/3.0.0/gems/msgpack-1.4.4/ext/msgpack make DESTDIR\= compiling buffer.c compiling ...
Boti's user avatar
  • 3,345
0 votes
0 answers
306 views

'Error running pod install' while running Flutter app on iOS simulator after setting up Firebase in VSCode

After I setup my Flutter application with Firebase and connecting the app with the Firebase console, I am not able to run the application in the iOS simulator. My system description is - 2017 Macbook ...
Nikhil Gohil's user avatar
0 votes
0 answers
67 views

Ruby REPL's errors and REPL freezing

I'm new to Ruby and am currently working on a scraper on vsc (Windows OS). I downloaded the nokogiri, watir, and pry gems, and I've been opening a pry REPL to run a few basic commands that test my ...
ppak's user avatar
  • 1
0 votes
1 answer
66 views

Rails/Ruby join using calculated field

I'm trying to work out if/how I can use a field from a joined table in a calculation inside a where statement. Plot.joins(:developer) .where('plots.reservation_release_date < ?',developer....
user1587804's user avatar
0 votes
1 answer
65 views

Ruby's Net::SSH is limited to 3 authentication tries while OpenSSH client is not

I'm having a really weird problem where when I connect to an SSH server (that has a pretty standard default configuration, including a default MaxAuthTries of 6) using Net::SSH, the connection fails ...
Guss's user avatar
  • 31.8k
0 votes
0 answers
23 views

LCNAF plugin archivesspace

I have to integrate LCNAF plugin in a website. For the purpose I a configured the appconfig file and included the 'lcnaf' term. Additionally, in the plugins folder I have included the lcnaf files that ...
Karan Vishwakarma's user avatar
0 votes
0 answers
33 views

puts method not working on cucumber test report

I want to print the text I copied from the web page on to the cucumber html test report step but I can only see it in the console does anyone know how to resolve this? Then ('on step 5 should show ...
user3341382's user avatar
2 votes
3 answers
103 views

Remove invalid bytes, keep valid UTF-8 (in Ruby 2)

(I posted a similar problem here, but this new question is not a duplicate). Using either Ruby 2.6.10 or 1.9.3 is a requirement that the software I'm developing here must run with these: Small ...
user1934428's user avatar
  • 21.6k

15 30 50 per page
1
3 4
5
6 7
15282