# Ruby-Forum

**URL:** https://www.ruby-forum.com/c/community/ruby-forum/5.md

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

---

## [RVM Installation/configuration issue](https://www.ruby-forum.com/t/rvm-installation-configuration-issue/262379)

<div class="topic-metadata">

**Author:** [@gump](https://www.ruby-forum.com/u/gump)\
**Replies:** 0\
**Last updated:** [January 7, 2022, 8:38pm UTC](https://www.ruby-forum.com/t/rvm-installation-configuration-issue/262379 "2022-01-07T20:38:21Z")

</div>

I have a strange issue with RVM, where I’m getting this error while attempting to install ruby 2.x: ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions for the /opt/local/lib/ruby3…

---

## [Avoiding substitution "\\\\" to "\\"](https://www.ruby-forum.com/t/avoiding-substitution-to/262078)

<div class="topic-metadata">

**Author:** [@ped](https://www.ruby-forum.com/u/ped)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 10:21am UTC](https://www.ruby-forum.com/t/avoiding-substitution-to/262078 "2021-11-11T10:21:41Z")

</div>

When a substitute a string with another string which includes the characters “\\\\”, these characters are reduced to “\\”. a = "Table header\\n" a \<\< "###rows###\\n" a \<\< "Table footer\\n" rows = "1 & 2 \\\\\\\\\\\\hline\\n" rows \<\<…

---

## [Rhtml on Apache2.4](https://www.ruby-forum.com/t/rhtml-on-apache2-4/260259)

<div class="topic-metadata">

**Author:** [@Seeker-Smith](https://www.ruby-forum.com/u/Seeker-Smith)\
**Replies:** 0\
**Last updated:** [September 13, 2020, 5:14pm UTC](https://www.ruby-forum.com/t/rhtml-on-apache2-4/260259 "2020-09-13T17:14:24Z")

</div>

Hi I’m setting up a new server debian 10 apache2,4. Previously on apache 2.2 and debian whessy I installed eruby, ibapache2-mod-ruby, and a few others for mysql and dbi etc. Now I don’t see any of those packages. Quest…

---

## [NET::HTTP read\_nonblock rbuf\_fill errors](https://www.ruby-forum.com/t/net-http-read-nonblock-rbuf-fill-errors/259511)

<div class="topic-metadata">

**Author:** [@rubynewbee](https://www.ruby-forum.com/u/rubynewbee)\
**Replies:** 3\
**Last updated:** [May 12, 2020, 6:01pm UTC](https://www.ruby-forum.com/t/net-http-read-nonblock-rbuf-fill-errors/259511 "2020-05-12T18:01:13Z")

</div>

Ruby 1.9.1, Debian Linux 7.3, Pentium 3, old hardware. I’m trying to connect to my broker to get today’s prices. Every example in ‘ri NET::HTTP’ works for example .com but none work for etrade.com. I suspect it’s a buf…

---

## [Unable to install SQLite3 and getting an error when I try to run shotgun on my MacBook Pro, please help!](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159)

<div class="topic-metadata">

**Author:** [@Sehrish](https://www.ruby-forum.com/u/Sehrish)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 8:46pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159 "2020-04-24T20:46:26Z")

</div>

Hello fellow rubyists! For some reason I get an error message when I try to run shotgun on my new laptop. I’ve installed all the gems and still it gives me this error

---

## [Method ref in menu](https://www.ruby-forum.com/t/method-ref-in-menu/259265)

<div class="topic-metadata">

**Author:** [@rubynewbee](https://www.ruby-forum.com/u/rubynewbee)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 2:33pm UTC](https://www.ruby-forum.com/t/method-ref-in-menu/259265 "2020-04-17T14:33:04Z")

</div>

Ruby 1.91 on Debian 7.3 running on Pentium 3 trying to write menu like so: def foo; end def bar; end mHash={‘f’=\>\[‘foo’,foo\], ‘b’=\>{‘bar’,bar\]} def menu(mH) mH.each\_key { |k| puts k + ’ ’ + mH\[k\]\[0\] } puts 'choice…

---

## [Automation fails for application with new chrome version 78 and above](https://www.ruby-forum.com/t/automation-fails-for-application-with-new-chrome-version-78-and-above/257494)

<div class="topic-metadata">

**Author:** [@mohit1](https://www.ruby-forum.com/u/mohit1)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 7:33am UTC](https://www.ruby-forum.com/t/automation-fails-for-application-with-new-chrome-version-78-and-above/257494 "2020-03-05T07:33:56Z")

</div>

We are unable to click element, within 2 iframes, in the web application using automation (ruby,capybara,rspec). The code runs fine on chrome version 77. On version 78 and above, the automation run bypasses the click cod…

---

## [Primo approccio con ruby](https://www.ruby-forum.com/t/primo-approccio-con-ruby/253278)

<div class="topic-metadata">

**Author:** [@ho6sensi](https://www.ruby-forum.com/u/ho6sensi)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 2:14pm UTC](https://www.ruby-forum.com/t/primo-approccio-con-ruby/253278 "2019-11-04T14:14:35Z")

</div>

Ciao sono Francesco, frequento il 2º anno di scuole superiori con l’indirizzo informatico, e vorrei approcciare al mondo della programmazione, per iniziare, dato che nel programma scolastico tutto questo non è ancora pre…

---

## [Max\_by and other methods simply not working](https://www.ruby-forum.com/t/max-by-and-other-methods-simply-not-working/245337)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 5, 2019, 7:52pm UTC](https://www.ruby-forum.com/t/max-by-and-other-methods-simply-not-working/245337 "2019-05-05T19:52:56Z")

</div>

Hello to everyone! I am quite new to ruby and I’m simply wanted to find the longest number sequence in an array like this: string = input.scan(/(\\d+)/) string.max\_by(&:length) However, in the output I get only the f…

---

## [404s for generic avatars](https://www.ruby-forum.com/t/404s-for-generic-avatars/251939)

<div class="topic-metadata">

**Author:** [@panic\_maven](https://www.ruby-forum.com/u/panic_maven)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 10:31pm UTC](https://www.ruby-forum.com/t/404s-for-generic-avatars/251939 "2019-02-20T22:31:41Z")

</div>

i don’t if it’s just me, but the generic avatars/profile-pic are not loading. js console shows a bunch of 404 errors.

---

## [Alphabets\_pattern](https://www.ruby-forum.com/t/alphabets-pattern/251009)

<div class="topic-metadata">

**Author:** [@prasannayasan](https://www.ruby-forum.com/u/prasannayasan)\
**Replies:** 1\
**Last updated:** [November 12, 2018, 10:02pm UTC](https://www.ruby-forum.com/t/alphabets-pattern/251009 "2018-11-12T22:02:49Z")

</div>

HI EVERYBODY someone plz tell how to print this in ruby??? AA CAAC ECAACE

---

## [Good Work On Rails](https://www.ruby-forum.com/t/good-work-on-rails/249064)

<div class="topic-metadata">

**Author:** [@sas-pier](https://www.ruby-forum.com/u/sas-pier)\
**Replies:** 2\
**Last updated:** [October 27, 2018, 2:19pm UTC](https://www.ruby-forum.com/t/good-work-on-rails/249064 "2018-10-27T14:19:37Z")

</div>

Hello I am a Professional rails Developer I have Developed 3 Sites With Rails But I am trying to be more and more experienced I wont Work on gems or on Open Source rails projects I wont to do this for my CV I will …

---

## [How to burst Data?](https://www.ruby-forum.com/t/how-to-burst-data/245210)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [April 17, 2017, 10:53am UTC](https://www.ruby-forum.com/t/how-to-burst-data/245210 "2017-04-17T10:53:37Z")

</div>

Hi all, I am new to gnu radio, I did look around at different places at the internet but did not really find an answer. I am trying to send data using a GFSK transmitter in a bursted mode (ie :I need to send the “Pr…

---

## [Getting an error on adding migration](https://www.ruby-forum.com/t/getting-an-error-on-adding-migration/151686)

<div class="topic-metadata">

**Author:** [@samj](https://www.ruby-forum.com/u/samj)\
**Replies:** 4\
**Last updated:** [February 19, 2016, 8:49am UTC](https://www.ruby-forum.com/t/getting-an-error-on-adding-migration/151686 "2016-02-19T08:49:21Z")

</div>

Hello , I am a ROR beginner. I did scaffolding and made a table called register with a field “name”. Now when I tried to add one more column using add migration and then rake db:migrate, the command is executing succ…

---

## [Sinatra link routing](https://www.ruby-forum.com/t/sinatra-link-routing/243894)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 23, 2016, 5:22am UTC](https://www.ruby-forum.com/t/sinatra-link-routing/243894 "2016-01-23T05:22:38Z")

</div>

I lost what I had before and am trying to reconstruct it. If you can see my attached file then what I’m trying to do is get any listed markdown files that show on the rdoc and md pages to render by clicking the link i…

---

## [Undefined local variable or method \`city' for #\<Context:0x10099d8\>](https://www.ruby-forum.com/t/undefined-local-variable-or-method-city-for-context-0x10099d8/243618)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 20, 2016, 9:21pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-city-for-context-0x10099d8/243618 "2016-01-20T21:21:30Z")

</div>

first\_name = gets.chomp last\_name = city undefined local variable or method \`city’ for #Context:0x10099d8 What does “undefined local variable or method \`city’ for #Context:0x10099d8” mean? Tried searching in Google, …

---

## [Under water texting with SDR transducers](https://www.ruby-forum.com/t/under-water-texting-with-sdr-transducers/243466)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 8, 2015, 1:52pm UTC](https://www.ruby-forum.com/t/under-water-texting-with-sdr-transducers/243466 "2015-11-08T13:52:20Z")

</div>

DO WE HAVE BLOCKS IN GNU WHERE I CAN CONVERT MY TEXT MESSAGE INTO BITS AND DO THE REVERSE AT THE RECEIVER

---

## [Free programming Ruby on Rails course!](https://www.ruby-forum.com/t/free-programming-ruby-on-rails-course/243384)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 7, 2015, 12:09pm UTC](https://www.ruby-forum.com/t/free-programming-ruby-on-rails-course/243384 "2015-10-07T12:09:59Z")

</div>

Do you dream of being a programmer, creating websites and various useful apps? If so, our free online course is for you! http://www.clab.type.pl/rails2/invitation/

---

## [How to find my own posts?](https://www.ruby-forum.com/t/how-to-find-my-own-posts/75106)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 12\
**Last updated:** [February 20, 2015, 10:15am UTC](https://www.ruby-forum.com/t/how-to-find-my-own-posts/75106 "2015-02-20T10:15:22Z")

</div>

I find it very hard to find my own post and the responses in this forum. Am I missing something or is there really no way to find your own posts or at least search for posts of a specific author?

---

## [Facing problem with registering a mobile in OpenBTS](https://www.ruby-forum.com/t/facing-problem-with-registering-a-mobile-in-openbts/234238)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 18, 2015, 2:31pm UTC](https://www.ruby-forum.com/t/facing-problem-with-registering-a-mobile-in-openbts/234238 "2015-02-18T14:31:11Z")

</div>

Hi, As I’m working on OpenBTS can any one help me to register a Phone in to established test network. As of now all mobile phones can register in to network. But what I need is, Only phone with particular IMSE should…

---

## [Ruby button action](https://www.ruby-forum.com/t/ruby-button-action/239436)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 26, 2014, 9:05am UTC](https://www.ruby-forum.com/t/ruby-button-action/239436 "2014-02-26T09:05:24Z")

</div>

I have a method in a controller file that I want activated only when a button is pressed. That what i do #index.html.erb# \<%= button\_to ‘Export POINT’, :controller =\> ‘my\_controller’, :action =\> ‘create\_file\_txt’ %\> …

---

## [Bad link test](https://www.ruby-forum.com/t/bad-link-test/220868)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 22, 2012, 4:26pm UTC](https://www.ruby-forum.com/t/bad-link-test/220868 "2012-06-22T16:26:33Z")

</div>

Here’s a link and here’s another: https://github.com/rdp/ruby\_simple\_gui\_creator

---

## [Can we have a MacRuby forum please?](https://www.ruby-forum.com/t/can-we-have-a-macruby-forum-please/207330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 24, 2011, 6:25pm UTC](https://www.ruby-forum.com/t/can-we-have-a-macruby-forum-please/207330 "2011-05-24T18:25:55Z")

</div>

Any chance we could get a MacRuby forum here please?

---

## [How is rforum doing?](https://www.ruby-forum.com/t/how-is-rforum-doing/185965)

<div class="topic-metadata">

**Author:** [@vfcforums](https://www.ruby-forum.com/u/vfcforums)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/how-is-rforum-doing/185965 "2010-03-31T19:24:39Z")

</div>

I installed RForum a few years ago because I liked the way it read from other mailing lists and present them in one forum. Has it had some changes over the years, or is it the same code? Is www.ruby-forum.com running …

---

## [Do not post here](https://www.ruby-forum.com/t/do-not-post-here/185692)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/do-not-post-here/185692 "2010-03-24T18:30:48Z")

</div>

Unless it’s regarding the site (or code behind) ruby-forum.com, this is not where you want to be posting to! -rp

---

## [Ironruby not updating](https://www.ruby-forum.com/t/ironruby-not-updating/175393)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [September 21, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/ironruby-not-updating/175393 "2009-09-21T21:07:40Z")

</div>

appears ironruby from ruby-forum.com doesn’t match with http://rubyforge.org/pipermail/ironruby-core/ Thanks! -r

---

## [Ruby with Cucumber Job Opportunity](https://www.ruby-forum.com/t/ruby-with-cucumber-job-opportunity/174696)

<div class="topic-metadata">

**Author:** [@douglas](https://www.ruby-forum.com/u/douglas)\
**Replies:** 0\
**Last updated:** [August 31, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/ruby-with-cucumber-job-opportunity/174696 "2009-08-31T16:48:28Z")

</div>

Hello Everyone A client of mine located in Atlanta is looking for a strong Business Analyst with knowledge of Ruby on Rails with Cucumber. This would be a Full Time position and they would pay relocation. This is a cu…

---

## [RForum ... "Your config/boot.rb is outdated"](https://www.ruby-forum.com/t/rforum-your-config-boot-rb-is-outdated/171437)

<div class="topic-metadata">

**Author:** [@site-master](https://www.ruby-forum.com/u/site-master)\
**Replies:** 2\
**Last updated:** [July 2, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/rforum-your-config-boot-rb-is-outdated/171437 "2009-07-02T15:55:23Z")

</div>

hello, i am trying to install rforum for a couple of days, but no luck /: i am trying to list, what i have done today and hope that somebody can help me finding out what my errors are. today, i first tried to (re)ins…

---

## [How to get child elements from DOM using Watir](https://www.ruby-forum.com/t/how-to-get-child-elements-from-dom-using-watir/170529)

<div class="topic-metadata">

**Author:** [@rinkugarg](https://www.ruby-forum.com/u/rinkugarg)\
**Replies:** 0\
**Last updated:** [June 18, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/how-to-get-child-elements-from-dom-using-watir/170529 "2009-06-18T15:39:39Z")

</div>

Hi, I am new to ruby. PLease guide me how to get child elements in DOM. Regards Rinku Garg

---

## [Installing plugin from svn repository fails in XP](https://www.ruby-forum.com/t/installing-plugin-from-svn-repository-fails-in-xp/169961)

<div class="topic-metadata">

**Author:** [@bluehandtalking](https://www.ruby-forum.com/u/bluehandtalking)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 7:07pm UTC](https://www.ruby-forum.com/t/installing-plugin-from-svn-repository-fails-in-xp/169961 "2009-06-10T19:07:47Z")

</div>

The following fails in Windows XP from the dos shell: ruby script/plugin install http://rubyforge.org/var/svn/redhillonrails/trunk/vendor/plugins/redhillonrails\_core The actual repository is: svn://rubyforge.org/var/…

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