# Top

**URL:** https://www.ruby-forum.com/top.md?page=937

[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:** 938

---

## [MethodMissing calc\_min](https://www.ruby-forum.com/t/methodmissing-calc-min/164260)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 12:03am UTC](https://www.ruby-forum.com/t/methodmissing-calc-min/164260 "2009-03-31T00:03:07Z")

</div>

This is kind of hard to explain, but I’ll do my best. I have a window that has a complex ListCtrl using LC\_VIRTUAL, and my own implementation of ListView. I use this tons of places and it works fine, except for here. …

---

## [Nginx timeout](https://www.ruby-forum.com/t/nginx-timeout/93180)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 2\
**Last updated:** [November 20, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/nginx-timeout/93180 "2008-11-20T12:53:05Z")

</div>

I just deployed a rails app using nginx/mongrel. The app takes a file and then parses it, and does a bunch of stuff. It worked fine with straight mongrel and with straight lighttpd, but on nginx/mongrel I get a 504 …

---

## [A grid without row labels?](https://www.ruby-forum.com/t/a-grid-without-row-labels/153092)

<div class="topic-metadata">

**Author:** [@ramo](https://www.ruby-forum.com/u/ramo)\
**Replies:** 2\
**Last updated:** [November 12, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/a-grid-without-row-labels/153092 "2008-11-12T22:39:25Z")

</div>

Hello there I’m working on a grid of many rows and one column For example: if I want to show the name of the states, I only need their names and nothing more, so the grid will be a many rows(number of states) and one…

---

## [Capistrano option "--apply-to" is invalid](https://www.ruby-forum.com/t/capistrano-option-apply-to-is-invalid/143068)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/capistrano-option-apply-to-is-invalid/143068 "2008-07-14T22:58:01Z")

</div>

I’m attempting to follow the instructions in “Agile Web D. with Rails” for deploying a Rails application. On page 625 it tells me to type “cap --apply-to /local/project/path \[applicationname\]” My application is calle…

---

## [Static files and mongrel](https://www.ruby-forum.com/t/static-files-and-mongrel/139673)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 2\
**Last updated:** [June 5, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/static-files-and-mongrel/139673 "2008-06-05T23:53:52Z")

</div>

Hi how does mongrel (without rails or merb) handles Static files? Do I have to create a handler for static file handling? Thanks Emmanuel

---

## [Conditional pluralize without the number](https://www.ruby-forum.com/t/conditional-pluralize-without-the-number/82779)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 2\
**Last updated:** [January 20, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/conditional-pluralize-without-the-number/82779 "2007-01-20T21:26:28Z")

</div>

Hi. Assume you have an array of person names. I want to generate results in my view that look like this: Abby is your friend or Abby, Bob, and Carol are your friends. So I’d like to say: \<%= friends.to\_sentence %\> …

---

## [Match with string instead of regexp fails](https://www.ruby-forum.com/t/match-with-string-instead-of-regexp-fails/71825)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 11, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/match-with-string-instead-of-regexp-fails/71825 "2006-10-11T22:41:26Z")

</div>

According to the 1.8.5 core API: str =~ obj =\> fixnum or nil Match. If obj is a Regexp, use it as a pattern to match against str. If obj is a String, look for it in str (similar to String#index). Returns the position…

---

## [Irb output](https://www.ruby-forum.com/t/irb-output/64506)

<div class="topic-metadata">

**Author:** [@newyorkdolluk](https://www.ruby-forum.com/u/newyorkdolluk)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/irb-output/64506 "2006-08-15T14:12:14Z")

</div>

hi, i have a ruby/watir script that i evoke from irb containing the following lines: ie\_attach = Watir::IE.attach(:url, /text/) ie\_attach.show\_links this will attach to an open browser containing a webpage with ‘tex…

---

## [Link\_if\_authorized() undefined in UserEngines permission pag](https://www.ruby-forum.com/t/link-if-authorized-undefined-in-userengines-permission-pag/101929)

<div class="topic-metadata">

**Author:** [@sporkmonger](https://www.ruby-forum.com/u/sporkmonger)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 11:34am UTC](https://www.ruby-forum.com/t/link-if-authorized-undefined-in-userengines-permission-pag/101929 "2006-04-03T11:34:40Z")

</div>

Hi, I have recent versions (as of 2/5/2006) LoginEngine and UserEngine installed and I can login in via admin, create users, etc. That part seems to be working. I’m having trouble setting permissions, roles, etc. Whe…

---

## [New Rubyist, trying to learn a simple contacts storage app](https://www.ruby-forum.com/t/new-rubyist-trying-to-learn-a-simple-contacts-storage-app/242236)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [June 7, 2015, 9:11pm UTC](https://www.ruby-forum.com/t/new-rubyist-trying-to-learn-a-simple-contacts-storage-app/242236 "2015-06-07T21:11:33Z")

</div>

Hi Everyone, Here is the code I currently have: contacts = Hash.new x = 0 y = 0 if x \<= 5 puts “What contact would you like to add?” ui = gets.chomp contacts.store(y, ui) puts “Contact added is #{contacts}” x +…

---

## [Is a bug about stream\_mux block?](https://www.ruby-forum.com/t/is-a-bug-about-stream-mux-block/240047)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [March 27, 2014, 2:26pm UTC](https://www.ruby-forum.com/t/is-a-bug-about-stream-mux-block/240047 "2014-03-27T14:26:50Z")

</div>

Hi Experts, As follow is my program to test stream\_mux block. I found when dat1\_num+dat2\_num \> 8192, the result was wrong. Is there something I have made a mistake? My gnuradio version is v3.7.4git-35-g1092e685 #!/u…

---

## [Wrong server used in SSL request](https://www.ruby-forum.com/t/wrong-server-used-in-ssl-request/235706)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 10, 2013, 1:20pm UTC](https://www.ruby-forum.com/t/wrong-server-used-in-ssl-request/235706 "2013-07-10T13:20:12Z")

</div>

Hi everyone, I have a rather strange issue. I have a server with 3 configured urls: example.com (+ ssl) shop.example.com (+ ssl) example2.com (- ssl) If I now open https://example2.com the server of https://shop.e…

---

## [Method clear wiping out other array?](https://www.ruby-forum.com/t/method-clear-wiping-out-other-array/221431)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [July 14, 2012, 7:36pm UTC](https://www.ruby-forum.com/t/method-clear-wiping-out-other-array/221431 "2012-07-14T19:36:50Z")

</div>

Hello all, Need help. See code below. The array arr2 has data to start with. The first 2 puts show output - no problem - both the same as expected. The last 2 puts - no output - nothing - nada. Between the lines sh…

---

## [One liner to insert line in a file](https://www.ruby-forum.com/t/one-liner-to-insert-line-in-a-file/215531)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 7, 2012, 1:45pm UTC](https://www.ruby-forum.com/t/one-liner-to-insert-line-in-a-file/215531 "2012-01-07T13:45:34Z")

</div>

Can someone help to come up with Ruby one-liner to add a line at the beginning of a file? Basically a Ruby equivalent for following sed example- $ sed -i “1i $variable” file.txt –neubyr

---

## [Is there are way to log PHP errors in fastcgi?](https://www.ruby-forum.com/t/is-there-are-way-to-log-php-errors-in-fastcgi/198523)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 4, 2010, 1:21am UTC](https://www.ruby-forum.com/t/is-there-are-way-to-log-php-errors-in-fastcgi/198523 "2010-11-04T01:21:52Z")

</div>

I have configured the virtual host with a custom php.ini which has the error\_log value configured, but the file is empty, it is not created at all. Does the FastCGI have another way to log the PHP errors? – Frank C…

---

## [Ruby and windows GUI](https://www.ruby-forum.com/t/ruby-and-windows-gui/196142)

<div class="topic-metadata">

**Author:** [@spaghetticode](https://www.ruby-forum.com/u/spaghetticode)\
**Replies:** 5\
**Last updated:** [October 7, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/ruby-and-windows-gui/196142 "2010-10-07T20:05:56Z")

</div>

hello, a friend of mine has asked me to write a quick and simple application that should run only on windows OSes. It should be a desktop GUI application. It’s pretty simple in its working as it should basically just…

---

## [Help- can't see subdirectories for static content location](https://www.ruby-forum.com/t/help-cant-see-subdirectories-for-static-content-location/164056)

<div class="topic-metadata">

**Author:** [@equalium](https://www.ruby-forum.com/u/equalium)\
**Replies:** 5\
**Last updated:** [March 27, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/help-cant-see-subdirectories-for-static-content-location/164056 "2009-03-27T17:08:09Z")

</div>

Hello, I’m setting up nginx to serve a django site. The django part goes OK but I have a problem with my media directory. I’m using this: location /media/ { root /home/django/domains/myapp/static/; } … The probl…

---

## [Duda con validaciones](https://www.ruby-forum.com/t/duda-con-validaciones/158929)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 5\
**Last updated:** [January 29, 2009, 4:27pm UTC](https://www.ruby-forum.com/t/duda-con-validaciones/158929 "2009-01-29T16:27:23Z")

</div>

Hola, tengo una consulta, encontre los siguientes metodos en la api de ruby on rails. def validate\_on\_create #:doc: end y… def validate\_on\_update # :doc: end quisiera saber si existe alguna de que pueda realiza…

---

## [Additional parameter for nested resources](https://www.ruby-forum.com/t/additional-parameter-for-nested-resources/144193)

<div class="topic-metadata">

**Author:** [@julian](https://www.ruby-forum.com/u/julian)\
**Replies:** 5\
**Last updated:** [July 27, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/additional-parameter-for-nested-resources/144193 "2008-07-27T22:44:31Z")

</div>

Hi I’m working with rails 2.1.0 and with nested resources. My links i generate with the following helper: link\_to @state.name, \[@country, @state\] Everything works fine and the urls are correctly generated. But now I…

---

## [REST Web Service Security](https://www.ruby-forum.com/t/rest-web-service-security/143265)

<div class="topic-metadata">

**Author:** [@Mark\_ASRichman](https://www.ruby-forum.com/u/Mark_ASRichman)\
**Replies:** 5\
**Last updated:** [July 18, 2008, 9:33am UTC](https://www.ruby-forum.com/t/rest-web-service-security/143265 "2008-07-18T09:33:59Z")

</div>

I am new to REST web services in Rails, but I do have a strong SOAP background. I’d like someone to explain the various security mechanisms used in REST web services (authentication and authorization). I doubt there i…

---

## [\[ANN\] Ruby on Crack](https://www.ruby-forum.com/t/ann-ruby-on-crack/133548)

<div class="topic-metadata">

**Author:** [@visitor1981](https://www.ruby-forum.com/u/visitor1981)\
**Replies:** 5\
**Last updated:** [April 1, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/ann-ruby-on-crack/133548 "2008-04-01T21:28:46Z")

</div>

After several months of keeping it under wraps, I’m happy to officially announce my own web framework to the world. It’s called Ruby on Crack and will be released by RailsConf 2008. The name of the framework was chose…

---

## [Rubygems 0.9.5 and fastthread mswin32 gem](https://www.ruby-forum.com/t/rubygems-0-9-5-and-fastthread-mswin32-gem/122182)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 5\
**Last updated:** [December 11, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/rubygems-0-9-5-and-fastthread-mswin32-gem/122182 "2007-12-11T14:05:30Z")

</div>

Is there a binary gem for fastthread on windows? gem install fastthread on windows tries to compile with rather unpleasant consequences. I guess fastthread compilation is done with the VC6.0 tools, cause my VS2005 in…

---

## [SQLite and ruby](https://www.ruby-forum.com/t/sqlite-and-ruby/116986)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 5\
**Last updated:** [October 12, 2007, 1:01am UTC](https://www.ruby-forum.com/t/sqlite-and-ruby/116986 "2007-10-12T01:01:14Z")

</div>

i need to convert three fields of a SQLite db : lastName, firstName, fullLastName the conversion is a capitalisation ie : dupond, jules, dupondjules needs to become : Dupond, Jules, DupondJules i now how to capital…

---

## [RSpec for dummies screencast?](https://www.ruby-forum.com/t/rspec-for-dummies-screencast/113846)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 5\
**Last updated:** [September 7, 2007, 10:04am UTC](https://www.ruby-forum.com/t/rspec-for-dummies-screencast/113846 "2007-09-07T10:04:12Z")

</div>

Does anyone know of any RSpec screencasts for dummies, like me :slight\_smile: I have a Java background, but I have never written a java test in my life. I’ve never learned about TDD or BDD so I’m totally blank on ever…

---

## [Active scaffold. Esconder links?](https://www.ruby-forum.com/t/active-scaffold-esconder-links/104375)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 5\
**Last updated:** [August 17, 2007, 1:11am UTC](https://www.ruby-forum.com/t/active-scaffold-esconder-links/104375 "2007-08-17T01:11:00Z")

</div>

Buenas. Necesito que active scaffold me saque una tabla, pero que no se van los links “borrar”, “actualizar” ni “crear” He mirado en la documentaciÃ³n, pero no veo nada que me pueda ayudar. Â¿Alguien sabe cÃ³mo hacer…

---

## [Paginate avec des conditions sur les clÃ©s etrangÃ¨res](https://www.ruby-forum.com/t/paginate-avec-des-conditions-sur-les-cla-s-etranga-res/108285)

<div class="topic-metadata">

**Author:** [@CSSSSdric\_B](https://www.ruby-forum.com/u/CSSSSdric_B)\
**Replies:** 5\
**Last updated:** [July 2, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/paginate-avec-des-conditions-sur-les-cla-s-etranga-res/108285 "2007-07-02T13:57:38Z")

</div>

Bonjour Ã tous, je rencontre un problÃ¨me pour paginer sous rails Ã partir du moment ou je souhaite dÃ©finir des conditions par rapport au clÃ©s etrangÃ¨res de ma table. J’ai une table “Hotel” et une table “Ville”, u…

---

## [Reusable Page Parts - With A Twist](https://www.ruby-forum.com/t/reusable-page-parts-with-a-twist/83704)

<div class="topic-metadata">

**Author:** [@mahadewa](https://www.ruby-forum.com/u/mahadewa)\
**Replies:** 5\
**Last updated:** [January 30, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/reusable-page-parts-with-a-twist/83704 "2007-01-30T13:09:06Z")

</div>

Before I ask my question, I’d like to make it clear that I am new to Radiant – perhaps I am asking this the wrong way or maybe there’s already a posted solution that I missed. If so, I apologize in advance. I also re…

---

## [Getting data from database based on date condition](https://www.ruby-forum.com/t/getting-data-from-database-based-on-date-condition/78767)

<div class="topic-metadata">

**Author:** [@vasan\_cec](https://www.ruby-forum.com/u/vasan_cec)\
**Replies:** 5\
**Last updated:** [December 9, 2006, 1:01pm UTC](https://www.ruby-forum.com/t/getting-data-from-database-based-on-date-condition/78767 "2006-12-09T13:01:13Z")

</div>

Hi Everyone, this is the statement i have, to get all the contents posted from the database, @content = Content.find\_all Now, i want to retrieve data (content posted) only for the last 5 days including current date.…

---

## [Fortran 77](https://www.ruby-forum.com/t/fortran-77/64584)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/fortran-77/64584 "2006-08-15T14:16:35Z")

</div>

I just happened upon the the footnote on page 187 of the Pickaxe book about how RDoc can document Fortran 77. Does Dave T. write a lot of Fortran code? I had to ask.

---

## [Buncha logging stuff showing up in unit tests](https://www.ruby-forum.com/t/buncha-logging-stuff-showing-up-in-unit-tests/49865)

<div class="topic-metadata">

**Author:** [@joevandyk](https://www.ruby-forum.com/u/joevandyk)\
**Replies:** 5\
**Last updated:** [November 24, 2005, 12:22am UTC](https://www.ruby-forum.com/t/buncha-logging-stuff-showing-up-in-unit-tests/49865 "2005-11-24T00:22:46Z")

</div>

I’m using Ruby’s standard Logger to log a bunch of debug, info, and errors. But when I run the unit tests for the classes that use the Logger, all the logs are showing up in the test output. Any good solutions for so…

---

## [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…

---

## [Ruby first application](https://www.ruby-forum.com/t/ruby-first-application/252051)

<div class="topic-metadata">

**Author:** [@michaelfurey](https://www.ruby-forum.com/u/michaelfurey)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 7:15am UTC](https://www.ruby-forum.com/t/ruby-first-application/252051 "2019-03-11T07:15:33Z")

</div>

Hi, I am a newbe and I would like starting use Ruby. I downloaded and installed ruby on rails following this tutorial: I am a Windows 10 user… can you suggest me a tutorial and an IDE to create my first Ruby applica…

---

## [Capistrano Git SSH problem](https://www.ruby-forum.com/t/capistrano-git-ssh-problem/235505)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 26, 2013, 5:32am UTC](https://www.ruby-forum.com/t/capistrano-git-ssh-problem/235505 "2013-06-26T05:32:22Z")

</div>

Hi, I am using Capistrano for deployment. And bitnami in my ec2 linux instance. I have configured Capistrano for deployment and deploy:check says all is fine. But I am facing problem while doing deploy. Here is the f…

---

## [Cannot import name packet\_utils](https://www.ruby-forum.com/t/cannot-import-name-packet-utils/213176)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 25, 2011, 8:58pm UTC](https://www.ruby-forum.com/t/cannot-import-name-packet-utils/213176 "2011-10-25T20:58:19Z")

</div>

I installed gnuradio on a new computer (Ubuntu 11.10) last night using the build\_gnuradio script. I ran a python script that is working on on another 11.10 computer and got the following error: from grc\_gnuradio im…

---

## [How to convert mongodb to mysql database in rails 3](https://www.ruby-forum.com/t/how-to-convert-mongodb-to-mysql-database-in-rails-3/208806)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 27, 2011, 5:01pm UTC](https://www.ruby-forum.com/t/how-to-convert-mongodb-to-mysql-database-in-rails-3/208806 "2011-06-27T17:01:50Z")

</div>

Hi all, Im using rails 3, mongodb database in our application . But some concepts is not working for mongo database. So, I have convert mongodb to mysql database. What is the best way to move my project Mongo to mysq…

---

## [Problems with model inheritance in development](https://www.ruby-forum.com/t/problems-with-model-inheritance-in-development/147211)

<div class="topic-metadata">

**Author:** [@Antonio\_Tapiador\_de](https://www.ruby-forum.com/u/Antonio_Tapiador_de)\
**Replies:** 1\
**Last updated:** [September 1, 2008, 12:13pm UTC](https://www.ruby-forum.com/t/problems-with-model-inheritance-in-development/147211 "2008-09-01T12:13:51Z")

</div>

Hi! I have problems when a model inherits from another ActiveRecord model: class Space \< ActiveRecord::Base end class Project \< Space end This only happens in development environment. Not in production, neither in …

---

## [How to prevent child process from receiving INT signal?](https://www.ruby-forum.com/t/how-to-prevent-child-process-from-receiving-int-signal/114412)

<div class="topic-metadata">

**Author:** [@cvandyck](https://www.ruby-forum.com/u/cvandyck)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/how-to-prevent-child-process-from-receiving-int-signal/114412 "2007-09-12T15:41:19Z")

</div>

Hello I’m a bit new to Ruby, and I’m trying to set up a tomcat control script. The main loop of the control script will allow the user to start, stop, and configure various instances of Tomcat. In this scenario, if a…

---

## [Strange behaviour on replacement String#gsub!](https://www.ruby-forum.com/t/strange-behaviour-on-replacement-string-gsub/243172)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 31, 2015, 5:14pm UTC](https://www.ruby-forum.com/t/strange-behaviour-on-replacement-string-gsub/243172 "2015-08-31T17:14:01Z")

</div>

Hello guys. I’m going to throw this lines of code here, this is rare. Anyone know why does this happens? rb(main):016:0\> a = ‘\\\\\\’ =\> “\\\\\\” irb(main):017:0\> a.gsub!(/\\\\\\/, ‘\\\\’) =\> “\\” irb(main):018:0\> puts a =\> …

---

## [HTTP AUTH (auth\_pam module) Can't initialize threads: error 11](https://www.ruby-forum.com/t/http-auth-auth-pam-module-cant-initialize-threads-error-11/241494)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 16, 2015, 7:43pm UTC](https://www.ruby-forum.com/t/http-auth-auth-pam-module-cant-initialize-threads-error-11/241494 "2015-04-16T19:43:51Z")

</div>

Hello, Using the auth\_pam module to implement HTTP AUTH: Once in a while authentication seems to stop working across all browsers and users. The error that shows in the Nginx error log file when a browser tries to…

---

## [Crash on attempt to configure capistrano](https://www.ruby-forum.com/t/crash-on-attempt-to-configure-capistrano/181716)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 2\
**Last updated:** [January 25, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/crash-on-attempt-to-configure-capistrano/181716 "2010-01-25T23:43:53Z")

</div>

I’m new with capistrano ant tried to configure my server usind: cap mongrel:cluster:configure And got this error backtrace: /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.13/lib/capistrano/configuration/variables.rb:122:i…

---

## [Exif/iptc/xmp image metadata libraries?](https://www.ruby-forum.com/t/exif-iptc-xmp-image-metadata-libraries/165504)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 2\
**Last updated:** [April 17, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/exif-iptc-xmp-image-metadata-libraries/165504 "2009-04-17T22:05:38Z")

</div>

I’m looking for an image metadata manipulation library, and so far I’ve only found a couple that look usable. ruby-exiv2 uses the C++ exiv2 library, but is incomplete (no xmp support, doesn’t seem to handle multiple i…

---

## [Synchronous servers](https://www.ruby-forum.com/t/synchronous-servers/121075)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 2\
**Last updated:** [November 24, 2007, 9:43am UTC](https://www.ruby-forum.com/t/synchronous-servers/121075 "2007-11-24T09:43:09Z")

</div>

Dear devs I would like to find a Ruby synchronous server to be used as a backend for chat, online multiplayer flash games etc. does something like this exist? Can you suggest an existing library? thanks, -g.

---

## [Strftime and AM/PM](https://www.ruby-forum.com/t/strftime-and-am-pm/120034)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 2\
**Last updated:** [November 13, 2007, 9:17am UTC](https://www.ruby-forum.com/t/strftime-and-am-pm/120034 "2007-11-13T09:17:05Z")

</div>

Hi all I am trying to format a mysql datetime attribute in my view. I have tried strftime(%r) as well as strftime(’%I:%M:%p’) In neither of the cases do I get the AM/PM parts. Anyone have a clue/pointer? thanks Ivo…

---

## [Is it possible to integrate with an existing rails applicati](https://www.ruby-forum.com/t/is-it-possible-to-integrate-with-an-existing-rails-applicati/107547)

<div class="topic-metadata">

**Author:** [@carpeliam](https://www.ruby-forum.com/u/carpeliam)\
**Replies:** 2\
**Last updated:** [June 24, 2007, 2:53pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-integrate-with-an-existing-rails-applicati/107547 "2007-06-24T14:53:56Z")

</div>

I did some searching in the archives, and found this question unanswered a few months ago at http://rubyforge.org/pipermail/typo-list/2007-February/003977.html. I have an existing rails application, and I’d really l…

---

## [Re: Creating images from pixel data (RMagick?)](https://www.ruby-forum.com/t/re-creating-images-from-pixel-data-rmagick/57003)

<div class="topic-metadata">

**Author:** [@Tim\_Blair](https://www.ruby-forum.com/u/Tim_Blair)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/re-creating-images-from-pixel-data-rmagick/57003 "2006-04-06T19:46:33Z")

</div>

Paul, If that won’t work, Imlib2-Ruby may be fast enough to do what you want Thanks for that. Unfortunately we’re looking for a cross-platform solution so using imlib2 appears to be out of the running. However, I…

---

## [Rails checkbox value passing to partial](https://www.ruby-forum.com/t/rails-checkbox-value-passing-to-partial/245319)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 10, 2017, 6:49am UTC](https://www.ruby-forum.com/t/rails-checkbox-value-passing-to-partial/245319 "2017-04-10T06:49:01Z")

</div>

I am having index file in rails, inside that we are having partial file. In that partial , we are having loop.Inside the loop we are having checkboxes. If I check two checkboxes , two checkbox values has to send to pa…

---

## [Update ruby with rvm](https://www.ruby-forum.com/t/update-ruby-with-rvm/245204)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 5, 2017, 4:09pm UTC](https://www.ruby-forum.com/t/update-ruby-with-rvm/245204 "2017-01-05T16:09:58Z")

</div>

hello. hope someone can help me in this great forum. i’m newbie in ruby word. i have a server ( debian 7 ) with ruby 1.9.3-p194 (2012-04-20) \[i486-linux\] . i woud like to update ruby version to 2.2.6 ( to update red…

---

## [Malware in /tmp/nginx\_client](https://www.ruby-forum.com/t/malware-in-tmp-nginx-client/242489)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 29, 2015, 11:12am UTC](https://www.ruby-forum.com/t/malware-in-tmp-nginx-client/242489 "2015-06-29T11:12:52Z")

</div>

The software maldet, discovered some malware in the the /tmp/nginx\_client directory, like this: {HEX}php.cmdshell.unclassed.357 : /tmp/nginx\_client/0050030641 {HEX}php.cmdshell.unclassed.357 : /tmp/nginx\_client/0060…

---

## [Rails unicorn start on boot error](https://www.ruby-forum.com/t/rails-unicorn-start-on-boot-error/241230)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 20, 2014, 10:43am UTC](https://www.ruby-forum.com/t/rails-unicorn-start-on-boot-error/241230 "2014-05-20T10:43:10Z")

</div>

Hello,guys. I have a problem with unicorn start on boot (OS is gentoo). I write in /etc/local.d/local.start file: #!bin/sh /etc/init.d/unicorn start and when I reboot computer it can’t start my rails application and …

---

## [Too many open files and unix](https://www.ruby-forum.com/t/too-many-open-files-and-unix/237123)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/too-many-open-files-and-unix/237123 "2013-10-25T18:36:35Z")

</div>

Hello, today I had too many open files and I need some advice to investigate in this issue. I googled around and found a lot information how to solve this issue (e.g. Handling nginx's too many open files even I have …

[Previous page](https://www.ruby-forum.com/top.md?page=936&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=938&per_page=50)
