# Uncategorized

**URL:** https://www.ruby-forum.com/c/uncategorized/1.md?page=1

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 2

---

## [Puts\_debuggerer 1.0.1 Released](https://www.ruby-forum.com/t/puts-debuggerer-1-0-1-released/264872)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 7:26pm UTC](https://www.ruby-forum.com/t/puts-debuggerer-1-0-1-released/264872 "2024-06-28T19:26:24Z")

</div>

puts\_debuggerer (Ruby gem for improved puts debugging, automatically displaying bonus useful information such as source line number and source code) version 1.0.1 has been relased. GitHub Project : GitHub - AndyObtiva/p…

---

## [Puts Debuggerer 1.0.0 Includes Invoked Class/Method Name](https://www.ruby-forum.com/t/puts-debuggerer-1-0-0-includes-invoked-class-method-name/264828)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [May 31, 2024, 11:23pm UTC](https://www.ruby-forum.com/t/puts-debuggerer-1-0-0-includes-invoked-class-method-name/264828 "2024-05-31T23:23:34Z")

</div>

Puts Debuggerer finally goes version 1.0.0, and it now has a very helpful new feature: printing the class name and method name as part of pd printouts. For those unfamiliar with Puts Debuggerer, the project was inspired …

---

## [NoMethodError (undefined method \`unpack1' for #\<String:0x00560ba95dba00\> Did you mean? unpack):](https://www.ruby-forum.com/t/nomethoderror-undefined-method-unpack1-for-string-0x00560ba95dba00-did-you-mean-unpack/264704)

<div class="topic-metadata">

**Author:** [@knb1](https://www.ruby-forum.com/u/knb1)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 10:31am UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-unpack1-for-string-0x00560ba95dba00-did-you-mean-unpack/264704 "2024-04-24T10:31:41Z")

</div>

For Ruby Version 2.3.4 and rails 5.2 i getting this error. the solution i tried didnt work for me . Any suggestions?

---

## [New in Ruby my commands dont work](https://www.ruby-forum.com/t/new-in-ruby-my-commands-dont-work/264709)

<div class="topic-metadata">

**Author:** [@cagi89](https://www.ruby-forum.com/u/cagi89)\
**Replies:** 0\
**Last updated:** [April 1, 2024, 1:54pm UTC](https://www.ruby-forum.com/t/new-in-ruby-my-commands-dont-work/264709 "2024-04-01T13:54:50Z")

</div>

Hi iam new in openldap and i have a problem know for 5 days iam searching for the fails but i cant find anything. Command is this here ruby publish.rb dev app100 password app101-x-requests its running in a Docker Conta…

---

## [I have an issue and I have tried almost every solution on the internet...I can't get to sudo gem install CocoaPods](https://www.ruby-forum.com/t/i-have-an-issue-and-i-have-tried-almost-every-solution-on-the-internet-i-cant-get-to-sudo-gem-install-cocoapods/264505)

<div class="topic-metadata">

**Author:** [@Uche](https://www.ruby-forum.com/u/Uche)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 2:12pm UTC](https://www.ruby-forum.com/t/i-have-an-issue-and-i-have-tried-almost-every-solution-on-the-internet-i-cant-get-to-sudo-gem-install-cocoapods/264505 "2024-01-08T14:12:19Z")

</div>

I keep getting this… Building native extensions. This could take a while… ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.16.3/e…

---

## [Work-md: A new Ruby CLI that help you organize your work activities and notes](https://www.ruby-forum.com/t/work-md-a-new-ruby-cli-that-help-you-organize-your-work-activities-and-notes/264586)

<div class="topic-metadata">

**Author:** [@hriqueft](https://www.ruby-forum.com/u/hriqueft)\
**Replies:** 1\
**Last updated:** [January 28, 2024, 11:56am UTC](https://www.ruby-forum.com/t/work-md-a-new-ruby-cli-that-help-you-organize-your-work-activities-and-notes/264586 "2024-01-28T11:56:13Z")

</div>

I’ve been using it for 2 years. Every day in the morning, I type: work-md today and start writing a markdown with my activities and meetings for the day. Also, I use work-md annotations to keep permanent notes, work-md d…

---

## [Installing gems on repl.it](https://www.ruby-forum.com/t/installing-gems-on-repl-it/264636)

<div class="topic-metadata">

**Author:** [@seyedhakim](https://www.ruby-forum.com/u/seyedhakim)\
**Replies:** 1\
**Last updated:** [February 27, 2024, 11:10am UTC](https://www.ruby-forum.com/t/installing-gems-on-repl-it/264636 "2024-02-27T11:10:27Z")

</div>

I can’t install ruby gems in my replit. every time I get no such file error. I wan’t install “httparty”.

---

## [New Activity Logging gem for Rails. Fedback received with Gratitude](https://www.ruby-forum.com/t/new-activity-logging-gem-for-rails-fedback-received-with-gratitude/264614)

<div class="topic-metadata">

**Author:** [@MaxGroenlund](https://www.ruby-forum.com/u/MaxGroenlund)\
**Replies:** 2\
**Last updated:** [February 23, 2024, 10:11am UTC](https://www.ruby-forum.com/t/new-activity-logging-gem-for-rails-fedback-received-with-gratitude/264614 "2024-02-23T10:11:55Z")

</div>

:rocket: I just shipped the first build of the loggable\_activity gem today and need some feedback. I’m new to open source projects so if there is anything you think I should know, please don’t hesitate and let me know. …

---

## [I am using ruby version 2.3.8 and rails version 5.2.6 to develop my application , since yesterday i am getting the error , i tried to find the occurrence of this NOKOGIRI::HTML4 in my application but i didn't find any of the occurrence like this](https://www.ruby-forum.com/t/i-am-using-ruby-version-2-3-8-and-rails-version-5-2-6-to-develop-my-application-since-yesterday-i-am-getting-the-error-i-tried-to-find-the-occurrence-of-this-nokogiri-html4-in-my-application-but-i-didnt-find-any-of-the-occurrence-like-this/263852)

<div class="topic-metadata">

**Author:** [@knb1](https://www.ruby-forum.com/u/knb1)\
**Replies:** 8\
**Last updated:** [January 11, 2024, 10:25am UTC](https://www.ruby-forum.com/t/i-am-using-ruby-version-2-3-8-and-rails-version-5-2-6-to-develop-my-application-since-yesterday-i-am-getting-the-error-i-tried-to-find-the-occurrence-of-this-nokogiri-html4-in-my-application-but-i-didnt-find-any-of-the-occurrence-like-this/263852 "2024-01-11T10:25:04Z")

</div>

uninitialized constant Nokogiri::HTML4 Did you mean? Nokogiri::HTML (NameError)

---

## [Calling elements in an array](https://www.ruby-forum.com/t/calling-elements-in-an-array/264473)

<div class="topic-metadata">

**Author:** [@postmanpat](https://www.ruby-forum.com/u/postmanpat)\
**Replies:** 3\
**Last updated:** [December 27, 2023, 5:26am UTC](https://www.ruby-forum.com/t/calling-elements-in-an-array/264473 "2023-12-27T05:26:39Z")

</div>

Hey everyone I need help with some code. So I’m trying to make a simple game where two numbers in an array (numbers = \[1,1,2,2,3,3\]) get printed out, and if they are a pair then the program prints “Pair”. I’m new to co…

---

## [Stringio Gem Issue](https://www.ruby-forum.com/t/stringio-gem-issue/264421)

<div class="topic-metadata">

**Author:** [@knb1](https://www.ruby-forum.com/u/knb1)\
**Replies:** 1\
**Last updated:** [November 24, 2023, 10:28am UTC](https://www.ruby-forum.com/t/stringio-gem-issue/264421 "2023-11-24T10:28:01Z")

</div>

You have already activated stringio 3.0.9, but your Gemfile requires stringio 3.0.8. Prepending bundle exec to your command may solve this. (Gem::LoadError) I am receiving this error every time while startup and need to…

---

## [Gems/loofah-2.21.1/lib/loofah/html4/document.rb:10:in \`\<module:HTML4\>': uninitialized constant Nokogiri::HTML4 (NameError) Did you mean? Nokogiri::HTML](https://www.ruby-forum.com/t/gems-loofah-2-21-1-lib-loofah-html4-document-rbin-module-html4-uninitialized-constant-nokogiri-html4-nameerror-did-you-mean-nokogiri-html/264155)

<div class="topic-metadata">

**Author:** [@Vishalyadav](https://www.ruby-forum.com/u/Vishalyadav)\
**Replies:** 3\
**Last updated:** [November 22, 2023, 3:37pm UTC](https://www.ruby-forum.com/t/gems-loofah-2-21-1-lib-loofah-html4-document-rbin-module-html4-uninitialized-constant-nokogiri-html4-nameerror-did-you-mean-nokogiri-html/264155 "2023-11-22T15:37:48Z")

</div>

getting error info Rails 5.1.7 ruby 2.4.1p111 (2017-03-22 revision 58053) \[x86\_64-linux\] rvm 1.29.12-next (master)

---

## [Glimmer DSL for SWT 4.29.0.0 Released](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-29-0-0-released/264310)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 8:31pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-29-0-0-released/264310 "2023-09-22T20:31:24Z")

</div>

Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native GUI Framework) version 4.29.0.0 has just been released! It is the quarterly release the happens when a new version of the Eclipse SWT GUI toolkit is re…

---

## [When counting lines in Ruby randomly failed our deployments](https://www.ruby-forum.com/t/when-counting-lines-in-ruby-randomly-failed-our-deployments/264260)

<div class="topic-metadata">

**Author:** [@ilyazub](https://www.ruby-forum.com/u/ilyazub)\
**Replies:** 4\
**Last updated:** [September 11, 2023, 1:21pm UTC](https://www.ruby-forum.com/t/when-counting-lines-in-ruby-randomly-failed-our-deployments/264260 "2023-09-11T13:21:52Z")

</div>

Recently, we observed the occasional failing deployments only on two of our servers. The failed servers even were closing our regular SSH connection. tl;dr. str.count($\\) was 1.5x faster compared to str.lines.count and …

---

## [Example SitePress sites around?](https://www.ruby-forum.com/t/example-sitepress-sites-around/264103)

<div class="topic-metadata">

**Author:** [@philip\_rhoades](https://www.ruby-forum.com/u/philip_rhoades)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 12:04pm UTC](https://www.ruby-forum.com/t/example-sitepress-sites-around/264103 "2023-07-14T12:04:10Z")

</div>

People, I have done basic Jekyll and Rails sites in the past but have just found SitePress and would like to some example sites for this gem but there doesn’t seem to be anything around - is it too new or something? Th…

---

## [How to call c# dll through ruby code](https://www.ruby-forum.com/t/how-to-call-c-dll-through-ruby-code/264075)

<div class="topic-metadata">

**Author:** [@shubham777](https://www.ruby-forum.com/u/shubham777)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-call-c-dll-through-ruby-code/264075 "2023-07-11T14:08:21Z")

</div>

I was trying to call one of my plugin(dll) developed in c# through my ruby code. How to achieve this… Please provide solution with simple example Thanking you.

---

## [I am Using ruby version 2.3.4 and rails 5.2.6 for my application, for one of the table in my database while doing rails console i got this error, any idea what is this issue? Thanks In Advanced!](https://www.ruby-forum.com/t/i-am-using-ruby-version-2-3-4-and-rails-5-2-6-for-my-application-for-one-of-the-table-in-my-database-while-doing-rails-console-i-got-this-error-any-idea-what-is-this-issue-thanks-in-advanced/264055)

<div class="topic-metadata">

**Author:** [@knb1](https://www.ruby-forum.com/u/knb1)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 9:55am UTC](https://www.ruby-forum.com/t/i-am-using-ruby-version-2-3-4-and-rails-5-2-6-for-my-application-for-one-of-the-table-in-my-database-while-doing-rails-console-i-got-this-error-any-idea-what-is-this-issue-thanks-in-advanced/264055 "2023-06-30T09:55:07Z")

</div>

Psych::DisallowedClass: Tried to load unspecified class: ActionController::Parameters

---

## [How do I can create a job in minitest](https://www.ruby-forum.com/t/how-do-i-can-create-a-job-in-minitest/264050)

<div class="topic-metadata">

**Author:** [@khoalarion](https://www.ruby-forum.com/u/khoalarion)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 6:35am UTC](https://www.ruby-forum.com/t/how-do-i-can-create-a-job-in-minitest/264050 "2023-06-29T06:35:23Z")

</div>

When I run mini test, I see this function jump to create a job But when I check resque.size. It still 0, Why

---

## [How to fix sql injection my code](https://www.ruby-forum.com/t/how-to-fix-sql-injection-my-code/263963)

<div class="topic-metadata">

**Author:** [@khoalarion](https://www.ruby-forum.com/u/khoalarion)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 6:24am UTC](https://www.ruby-forum.com/t/how-to-fix-sql-injection-my-code/263963 "2023-06-12T06:24:59Z")

</div>

My code is ActiveRecord::Base.connection.execute(“DROP TABLE #{tmp\_table}”) When I scan brakeman, I got warning Possible SQL injection Please help me fix it

---

## [I have CSV file with vast amount of data. i want to iterate through CSV by column by column. I have used CSV.foreach but it iterate thorugh row by row. Any suggestions? Thanks in Advance!](https://www.ruby-forum.com/t/i-have-csv-file-with-vast-amount-of-data-i-want-to-iterate-through-csv-by-column-by-column-i-have-used-csv-foreach-but-it-iterate-thorugh-row-by-row-any-suggestions-thanks-in-advance/264000)

<div class="topic-metadata">

**Author:** [@knb1](https://www.ruby-forum.com/u/knb1)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 10:42am UTC](https://www.ruby-forum.com/t/i-have-csv-file-with-vast-amount-of-data-i-want-to-iterate-through-csv-by-column-by-column-i-have-used-csv-foreach-but-it-iterate-thorugh-row-by-row-any-suggestions-thanks-in-advance/264000 "2023-06-16T10:42:39Z")

</div>

CSV.foreach(villages\_list, headers: true) do |column| reg = Region.find\_by(region\_name: column\[1\]) logger.info “in home creating the region and villages #{column}” if reg.present? village = Village.new( name: column…

---

## [Cocoapods installation error](https://www.ruby-forum.com/t/cocoapods-installation-error/263853)

<div class="topic-metadata">

**Author:** [@DAtraoui](https://www.ruby-forum.com/u/DAtraoui)\
**Replies:** 2\
**Last updated:** [May 15, 2023, 12:29pm UTC](https://www.ruby-forum.com/t/cocoapods-installation-error/263853 "2023-05-15T12:29:17Z")

</div>

Hello Everyone, I try to install Cocoapods on MacOS Monterey 12.3 but i get this error: sudo gem install cocoapods Building native extensions. This could take a while… ERROR: Error installing cocoapods: ERROR: Fail…

---

## [Projet sur GNU RADIO](https://www.ruby-forum.com/t/projet-sur-gnu-radio/263828)

<div class="topic-metadata">

**Author:** [@kba](https://www.ruby-forum.com/u/kba)\
**Replies:** 0\
**Last updated:** [May 3, 2023, 4:20pm UTC](https://www.ruby-forum.com/t/projet-sur-gnu-radio/263828 "2023-05-03T16:20:30Z")

</div>

Bonjour, actuellement je travaille sur un projet sur gnu radio. Je dois apporter des solutions de beamforming pour les systèmes MIMO. Avant tout je veux emettre une constante en 1x2 SIMO mais mon problème en est que je n…

---

## [GitHub and continuosly upgrading Rails](https://www.ruby-forum.com/t/github-and-continuosly-upgrading-rails/263771)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 5:45pm UTC](https://www.ruby-forum.com/t/github-and-continuosly-upgrading-rails/263771 "2023-04-11T17:45:36Z")

</div>

GitHub is a Monolith made in Ruby on Rails. In their latest blog entry, GitHub engineers explain how they keep Ruby and Rails up to date.

---

## [Datatable does not work in rails 7](https://www.ruby-forum.com/t/datatable-does-not-work-in-rails-7/263770)

<div class="topic-metadata">

**Author:** [@hasi](https://www.ruby-forum.com/u/hasi)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 9:13am UTC](https://www.ruby-forum.com/t/datatable-does-not-work-in-rails-7/263770 "2023-04-11T09:13:29Z")

</div>

Hello, i use the rails 7 project from git GitHub - nkokkos/datatables\_rails\_7: A working example of rails 7, bootstrap 4.6.1, esbuild , sass and latest datatables javascript library and I create a new site model, contr…

---

## [Ruby in Visual Studio Code](https://www.ruby-forum.com/t/ruby-in-visual-studio-code/263686)

<div class="topic-metadata">

**Author:** [@Yesha](https://www.ruby-forum.com/u/Yesha)\
**Replies:** 0\
**Last updated:** [February 27, 2023, 4:39pm UTC](https://www.ruby-forum.com/t/ruby-in-visual-studio-code/263686 "2023-02-27T16:39:57Z")

</div>

Hello everyone! I’ve been trying to run Ruby in visual studio code with right extensions installed there and path to Ruby’s bin folder added to enviromental variables. But vsc refuses to see that Ruby is installed. My l…

---

## [Replacing asdf with flox](https://www.ruby-forum.com/t/replacing-asdf-with-flox/263463)

<div class="topic-metadata">

**Author:** [@floxdev](https://www.ruby-forum.com/u/floxdev)\
**Replies:** 0\
**Last updated:** [November 28, 2022, 5:22pm UTC](https://www.ruby-forum.com/t/replacing-asdf-with-flox/263463 "2022-11-28T17:22:35Z")

</div>

Using flox to handle developer environments and language versions instead of asdf guide.

---

## [Why curry doesn't work with :+](https://www.ruby-forum.com/t/why-curry-doesnt-work-with/263449)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 0\
**Last updated:** [November 24, 2022, 6:58pm UTC](https://www.ruby-forum.com/t/why-curry-doesnt-work-with/263449 "2022-11-24T18:58:29Z")

</div>

I was expecting the following to return a Proc: :+.to\_proc.curry.(10) But it raises an error: ArgumentError (wrong number of arguments (given 0, expected 1)) If we have a proc similar to :+: add = -\>(x,y){x + y} add…

---

## [Comparison operator == got un issue with me](https://www.ruby-forum.com/t/comparison-operator-got-un-issue-with-me/263377)

<div class="topic-metadata">

**Author:** [@Miracle](https://www.ruby-forum.com/u/Miracle)\
**Replies:** 0\
**Last updated:** [October 30, 2022, 11:47am UTC](https://www.ruby-forum.com/t/comparison-operator-got-un-issue-with-me/263377 "2022-10-30T11:47:34Z")

</div>

irb(main):189:0\> val1\>=val2.to\_i =\> false irb(main):190:0\> val1.eql? val2 =\> false irb(main):191:0\> val1==val2 =\> false irb(main):192:0\> val1 =\> 1 irb(main):193:0\> val2 =\> “2” irb(main):194:0\> val2=“sde” =\> “s…

---

## [Ssh: connect to host gitlab.pitb.gov.pk port 8888: Connection refused](https://www.ruby-forum.com/t/ssh-connect-to-host-gitlab-pitb-gov-pk-port-8888-connection-refused/263340)

<div class="topic-metadata">

**Author:** [@Muhammad\_Ans](https://www.ruby-forum.com/u/Muhammad_Ans)\
**Replies:** 0\
**Last updated:** [October 16, 2022, 11:44am UTC](https://www.ruby-forum.com/t/ssh-connect-to-host-gitlab-pitb-gov-pk-port-8888-connection-refused/263340 "2022-10-16T11:44:55Z")

</div>

Whenever i try to get a pull from my remote repo, I get this. ssh: connect to host gitlab.pitb.gov.pk port 8888: Connection refused

---

## [Email server stand-alone](https://www.ruby-forum.com/t/email-server-stand-alone/263338)

<div class="topic-metadata">

**Author:** [@petervandeput](https://www.ruby-forum.com/u/petervandeput)\
**Replies:** 0\
**Last updated:** [October 15, 2022, 4:31pm UTC](https://www.ruby-forum.com/t/email-server-stand-alone/263338 "2022-10-15T16:31:08Z")

</div>

We all know we need to send emails from our server app eg for verification of email There are a lot of 3rd party solutions some free some cheap and some expensive I’m developing a full smtp server with mail transfer ag…

[Previous page](https://www.ruby-forum.com/c/uncategorized/1.md)

[Next page](https://www.ruby-forum.com/c/uncategorized/1.md?page=2)
