# Top

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

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

---

## [Problems using wavfile\_source](https://www.ruby-forum.com/t/problems-using-wavfile-source/173792)

<div class="topic-metadata">

**Author:** [@makki](https://www.ruby-forum.com/u/makki)\
**Replies:** 2\
**Last updated:** [August 15, 2009, 5:51am UTC](https://www.ruby-forum.com/t/problems-using-wavfile-source/173792 "2009-08-15T05:51:00Z")

</div>

I’m modifying fm\_tx4 so that I can use wav files instead of dat files as a source, and output a file instead of sound. I’m having issues with sample rate. I’ve attached the code, but here is the modified pipeline co…

---

## [Timing issue with set\_focus?](https://www.ruby-forum.com/t/timing-issue-with-set-focus/167698)

<div class="topic-metadata">

**Author:** [@Phil\_Puccio](https://www.ruby-forum.com/u/Phil_Puccio)\
**Replies:** 2\
**Last updated:** [May 14, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/timing-issue-with-set-focus/167698 "2009-05-14T14:07:02Z")

</div>

Hi, I am using WxRuby to build a WinXP desktop application. I’ve just hit a problem when trying to use set\_focus. When a user selects a row in a ListCtrl, I want to set focus to a particular TextCtrl. So in the ha…

---

## [Killing a ruby script gracefully](https://www.ruby-forum.com/t/killing-a-ruby-script-gracefully/142679)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 2\
**Last updated:** [July 10, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/killing-a-ruby-script-gracefully/142679 "2008-07-10T18:21:22Z")

</div>

I have a Ruby script that uses Event machine to listen on a port for incoming data. When data is received, the script saves it to the database. How can I kill this script gracefully? I want to make sure that the da…

---

## [Re: POST with huge HTTP body](https://www.ruby-forum.com/t/re-post-with-huge-http-body/117275)

<div class="topic-metadata">

**Author:** [@sinkva](https://www.ruby-forum.com/u/sinkva)\
**Replies:** 2\
**Last updated:** [October 16, 2007, 7:49am UTC](https://www.ruby-forum.com/t/re-post-with-huge-http-body/117275 "2007-10-16T07:49:32Z")

</div>

A while ago I wrote a plugin to limit uploads in Mongrel. Mongrel does save uploads to a tempfile on disk - if the upload is bigger than about 12 KB - using a Ruby TempFile-object. (which stores in the $TMPDIR, /tmp o…

---

## [Counting pairs of newline characters in a string](https://www.ruby-forum.com/t/counting-pairs-of-newline-characters-in-a-string/92036)

<div class="topic-metadata">

**Author:** [@celldee](https://www.ruby-forum.com/u/celldee)\
**Replies:** 2\
**Last updated:** [April 15, 2007, 2:01am UTC](https://www.ruby-forum.com/t/counting-pairs-of-newline-characters-in-a-string/92036 "2007-04-15T02:01:09Z")

</div>

I have a string that is text read in from a file. Within it there are pairs of newline characters and I want to count how many there are. Here is an irb example:- irb(main):001:0\> str = “bob irb(main):002:0” irb(mai…

---

## [Error of "no such file to load -- ferret\_ext"](https://www.ruby-forum.com/t/error-of-no-such-file-to-load-ferret-ext/80710)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 2\
**Last updated:** [December 30, 2006, 9:39pm UTC](https://www.ruby-forum.com/t/error-of-no-such-file-to-load-ferret-ext/80710 "2006-12-30T21:39:22Z")

</div>

I’ve installed the latest version of Ferret (0.10.13) on Mac OS X 10.4.8 (Tiger) and I’m developing using Locomotive2. I installed with: $ gem install ferret I have a ferret\_test.rb file: ----begin--------- require …

---

## [Rails 3 too slow?](https://www.ruby-forum.com/t/rails-3-too-slow/200301)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [December 9, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/rails-3-too-slow/200301 "2010-12-09T17:58:32Z")

</div>

I’m using Ruby 1.9.2, Rails 3.0.3, Passenger 3.0.0 and MySQL 5.1 rails new library cd library rails generate scaffold Book name:string rake db:migrate RAILS\_ENV=production rails console production 200.times { |i| B…

---

## [Sorting In rails](https://www.ruby-forum.com/t/sorting-in-rails/172551)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 7\
**Last updated:** [July 24, 2009, 2:35pm UTC](https://www.ruby-forum.com/t/sorting-in-rails/172551 "2009-07-24T14:35:01Z")

</div>

I am executing an sql query … as like … abcarray = Abc.find(:all, :conditions =\> { :id =\> ‘whatever’, :name =\> “Hemant” } ) abcarray records are in this format:- id: 1, created\_at: nil, updated\_at: nil, day: 1, clini…

---

## [AR-extensions didn't speed things up -- why not?](https://www.ruby-forum.com/t/ar-extensions-didnt-speed-things-up-why-not/161389)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 7\
**Last updated:** [March 19, 2009, 11:44am UTC](https://www.ruby-forum.com/t/ar-extensions-didnt-speed-things-up-why-not/161389 "2009-03-19T11:44:57Z")

</div>

I was excited to try AR-extensions (http://www.continuousthinking.com/ tags/arext) to do a bunch of data importing that had been really slow. But then I was disappointed to see that it actually didn’t help and wondere…

---

## [Best practice for set-and-test idiom?](https://www.ruby-forum.com/t/best-practice-for-set-and-test-idiom/145891)

<div class="topic-metadata">

**Author:** [@cbx](https://www.ruby-forum.com/u/cbx)\
**Replies:** 7\
**Last updated:** [August 15, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/best-practice-for-set-and-test-idiom/145891 "2008-08-15T17:35:25Z")

</div>

I’ve been using Ruby/Rails for about about four months and wonder what the the Ruby alternative to the popular C/C++ idiom of setting and testing a variable in the condition of an ‘if’ statement. If C/C++ the usage is…

---

## [Time Test::Unit Question](https://www.ruby-forum.com/t/time-test-unit-question/108475)

<div class="topic-metadata">

**Author:** [@frew](https://www.ruby-forum.com/u/frew)\
**Replies:** 7\
**Last updated:** [July 7, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/time-test-unit-question/108475 "2007-07-07T18:57:55Z")

</div>

I am trying to do a Test that has to do with the date of something relative to the current time. Should I just have a predefined but dynamic dataset or what? Thoughts?

---

## [Eclipse aptana and ruby integration](https://www.ruby-forum.com/t/eclipse-aptana-and-ruby-integration/103240)

<div class="topic-metadata">

**Author:** [@music](https://www.ruby-forum.com/u/music)\
**Replies:** 7\
**Last updated:** [May 5, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/eclipse-aptana-and-ruby-integration/103240 "2007-05-05T20:51:22Z")

</div>

Is there anyone using eclipse with ruby support? Which plugin have you installed in eclipse to work with ruby?

---

## [Ruby 1.8.6 One-Click Installer](https://www.ruby-forum.com/t/ruby-1-8-6-one-click-installer/89028)

<div class="topic-metadata">

**Author:** [@dima](https://www.ruby-forum.com/u/dima)\
**Replies:** 7\
**Last updated:** [March 18, 2007, 11:56am UTC](https://www.ruby-forum.com/t/ruby-1-8-6-one-click-installer/89028 "2007-03-18T11:56:00Z")

</div>

Does somebody know when the Ruby 1.8.6 One-Click Installer will be ready for downloading?

---

## [Re: modeling a simple cpu](https://www.ruby-forum.com/t/re-modeling-a-simple-cpu/73764)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 7\
**Last updated:** [October 27, 2006, 1:25am UTC](https://www.ruby-forum.com/t/re-modeling-a-simple-cpu/73764 "2006-10-27T01:25:12Z")

</div>

From: Ara.T.Howard \[mailto:removed\_email\_address@domain.invalid\] i need to model the on board cpu of a satellite in order to mock running uploaded commands. basically i need to model the internal state and all incom…

---

## [Ruby performance](https://www.ruby-forum.com/t/ruby-performance/55615)

<div class="topic-metadata">

**Author:** [@ksader](https://www.ruby-forum.com/u/ksader)\
**Replies:** 7\
**Last updated:** [March 22, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/ruby-performance/55615 "2006-03-22T22:57:41Z")

</div>

I’m considering using Ruby to re-write and extract, transform, and load process for an online database. This will replace an existing VB system that does most of the T of the ETL in T-SQL(don’t ask). My replacement c…

---

## [Irb cannot parse /\\^/](https://www.ruby-forum.com/t/irb-cannot-parse/74133)

<div class="topic-metadata">

**Author:** [@H.Yamamoto](https://www.ruby-forum.com/u/H.Yamamoto)\
**Replies:** 7\
**Last updated:** [February 28, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/irb-cannot-parse/74133 "2006-02-28T14:51:33Z")

</div>

e$B;3K$G$9!#e(B http://rubyforge.org/tracker/index.php?func=detail&aid=3302&group\_id=426&atid=1698 e$B$NLdBj$J$N$G$9$,!"2\<$N%Q%C%A$G\<#$k$h$&$G$9!#$3$l$G4V0c$$$J$$$G$7$g$&$+!)e(B \[ruby-talk:181631\] e$B$NJ}$Ke(B rdoc e…

---

## [Launching a standalone Rails app](https://www.ruby-forum.com/t/launching-a-standalone-rails-app/53788)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 7\
**Last updated:** [February 14, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/launching-a-standalone-rails-app/53788 "2006-02-14T18:32:37Z")

</div>

Hi, I’ve developed a standalone Rails app - using tar2rubyscript and rubyscript2exe. The users aren’t going to understand that the’ll need to open the browser and go to 127.0.0.1:3000 to view the app, after running t…

---

## [NEW RAILS SITE: Riding two bubbles at the same time](https://www.ruby-forum.com/t/new-rails-site-riding-two-bubbles-at-the-same-time/51289)

<div class="topic-metadata">

**Author:** [@sdelmont](https://www.ruby-forum.com/u/sdelmont)\
**Replies:** 7\
**Last updated:** [January 4, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/new-rails-site-riding-two-bubbles-at-the-same-time/51289 "2006-01-04T18:50:56Z")

</div>

Today we finally opened the doors to “Street Easy” (http:// www.streeteasy.com/), a Real Estate Research Site for New York City. It was built by two guys in three months. It doesn’t have tags, but it has google maps. …

---

## [Gem install error](https://www.ruby-forum.com/t/gem-install-error/49516)

<div class="topic-metadata">

**Author:** [@transfire](https://www.ruby-forum.com/u/transfire)\
**Replies:** 7\
**Last updated:** [December 5, 2005, 6:55pm UTC](https://www.ruby-forum.com/t/gem-install-error/49516 "2005-12-05T18:55:49Z")

</div>

trans@ubixie:/usr/local/lib/site\_ruby/1.8$ sudo gem install calibre-basicobject Password: Attempting local installation of ‘calibre-basicobject’ Local gem file not found: calibre-basicobject\*.gem Attempting remote i…

---

## [Trying to write template in foreman with Ruby](https://www.ruby-forum.com/t/trying-to-write-template-in-foreman-with-ruby/263279)

<div class="topic-metadata">

**Author:** [@shay1197](https://www.ruby-forum.com/u/shay1197)\
**Replies:** 1\
**Last updated:** [April 2, 2023, 9:19pm UTC](https://www.ruby-forum.com/t/trying-to-write-template-in-foreman-with-ruby/263279 "2023-04-02T21:19:20Z")

</div>

Hi, I am getting syntax error can anyone assist me? \<% if \<% input(‘domain’) %\> == ‘yes’ %\> \<%= render\_template(“Ansible Join to domain - commands - SDL”, hostname: \<%= input(‘hostnamea’) -%\>) -%\> echo “done - join t…

---

## [Check if address exists](https://www.ruby-forum.com/t/check-if-address-exists/251890)

<div class="topic-metadata">

**Author:** [@CeceRox](https://www.ruby-forum.com/u/CeceRox)\
**Replies:** 1\
**Last updated:** [February 15, 2019, 3:42pm UTC](https://www.ruby-forum.com/t/check-if-address-exists/251890 "2019-02-15T15:42:11Z")

</div>

how do you write your method to check if your recipient and zip exists for the same ID because you don’t want to repeat? At first I tried the Address.where(:recipient =\> self.recipient) && Address.where(:zip =\> self.zip)…

---

## [What is wrong in my script?(Survey Script)](https://www.ruby-forum.com/t/what-is-wrong-in-my-script-survey-script/251000)

<div class="topic-metadata">

**Author:** [@mihrac](https://www.ruby-forum.com/u/mihrac)\
**Replies:** 1\
**Last updated:** [November 12, 2018, 10:19pm UTC](https://www.ruby-forum.com/t/what-is-wrong-in-my-script-survey-script/251000 "2018-11-12T22:19:49Z")

</div>

Hi dear community, I created a survey app which has questions and answers as radio buttons. So firstly i asked onstackoverflow(click-here). A good guy helped me but there is some issue in form. This my survey\_contro…

---

## [Rx/Tx gain](https://www.ruby-forum.com/t/rx-tx-gain/227403)

<div class="topic-metadata">

**Author:** [@Nada\_ABDELKADER](https://www.ruby-forum.com/u/Nada_ABDELKADER)\
**Replies:** 1\
**Last updated:** [March 14, 2013, 2:48pm UTC](https://www.ruby-forum.com/t/rx-tx-gain/227403 "2013-03-14T14:48:27Z")

</div>

Hi, Would you plz tell me the best way to set the gain values for Rx/Tx USRP with benchmark\_tx and benchmark\_rx at command line. How to adjust these values? Thanks.

---

## [Gem cleanup not working](https://www.ruby-forum.com/t/gem-cleanup-not-working/210630)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 12, 2011, 12:56pm UTC](https://www.ruby-forum.com/t/gem-cleanup-not-working/210630 "2011-08-12T12:56:56Z")

</div>

‘gem cleanup’ deletes one element, then fails. This can be repeated. Any idea ? \_md … Microsoft Windows XP \[version 5.1.2600\] (C) Copyright 1985-2001 Microsoft Corp. C:\\Documents and Settings\\Michel\>gem cleanup Cl…

---

## [Rspec-rails 2 adding current account helper to all view specs](https://www.ruby-forum.com/t/rspec-rails-2-adding-current-account-helper-to-all-view-specs/202382)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 28, 2011, 10:53am UTC](https://www.ruby-forum.com/t/rspec-rails-2-adding-current-account-helper-to-all-view-specs/202382 "2011-01-28T10:53:16Z")

</div>

Hi, in rspec-1 view specs i had the ability to say: login\_as(some\_role\_or\_account) which made some helper methods like current\_account that where used in views and controllers return something valuable. Implementat…

---

## [Nginx - SMTP no authentication](https://www.ruby-forum.com/t/nginx-smtp-no-authentication/198903)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 10, 2010, 1:53pm UTC](https://www.ruby-forum.com/t/nginx-smtp-no-authentication/198903 "2010-11-10T13:53:18Z")

</div>

Hello I have an nginx proxy smtp and on backend an criticalpath servers. I want to configure nginx to do : auth if if my client is configured to do auth no auth if my client doesn’t do this I want to redirect the cl…

---

## [Getting the dimensions of an image element](https://www.ruby-forum.com/t/getting-the-dimensions-of-an-image-element/195070)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 1\
**Last updated:** [September 16, 2010, 12:33pm UTC](https://www.ruby-forum.com/t/getting-the-dimensions-of-an-image-element/195070 "2010-09-16T12:33:11Z")

</div>

I have a view file, “show.html.erb”, and a Javascript file, “coordinate.js”. In coordinate.js" I have methods to calculate the width and height of an image. How can I call those methods on the “Canvas” in my view. A…

---

## [Mehrere Views in Layout](https://www.ruby-forum.com/t/mehrere-views-in-layout/153833)

<div class="topic-metadata">

**Author:** [@Marco\_Scholl](https://www.ruby-forum.com/u/Marco_Scholl)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 5:02pm UTC](https://www.ruby-forum.com/t/mehrere-views-in-layout/153833 "2008-11-21T17:02:33Z")

</div>

Hallo und danke erstmal, ich versuche mal den Aufbau zu erklÃ¤ren. Ich hab 1 Layout. Links habe ich als MenÃ¼ Kategorien. Diese sollen als Kontroller erstellt werden da ich diese auch spÃ¤ter fÃ¼r AJAX Request und XML…

---

## [Should I use instance\_eval or block.call](https://www.ruby-forum.com/t/should-i-use-instance-eval-or-block-call/151500)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 1\
**Last updated:** [October 22, 2008, 9:10am UTC](https://www.ruby-forum.com/t/should-i-use-instance-eval-or-block-call/151500 "2008-10-22T09:10:03Z")

</div>

I am writing a library that will be used by others. Have been reading a lot about procs/blocks etc, and the difference between block.call and instance\_eval pointed out in some articles was the context they are execute…

---

## [Url\_for not working in model](https://www.ruby-forum.com/t/url-for-not-working-in-model/148814)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 1\
**Last updated:** [September 17, 2008, 10:37am UTC](https://www.ruby-forum.com/t/url-for-not-working-in-model/148814 "2008-09-17T10:37:18Z")

</div>

Hi, I am using ‘url\_for’ for constructing url in my model but it gives me error \<NoMethodError: undefined method \`url\_for’ for Xyz:Class\> how to access url\_for in model and it possible to call controller method in …

---

## [Don't know how to build task 'db:migrate:engines'](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/114038)

<div class="topic-metadata">

**Author:** [@Randy\_Francisco](https://www.ruby-forum.com/u/Randy_Francisco)\
**Replies:** 1\
**Last updated:** [September 7, 2007, 9:24am UTC](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/114038 "2007-09-07T09:24:08Z")

</div>

Hi Peeps I tried running this command "rake engine\_migrateÂ” and it gives me this error (rake aborted! Don’t know how to build task ‘db:migrate:engines’ ). Base on what I have read in this mailing list it has somethin…

---

## [Rcov Task](https://www.ruby-forum.com/t/rcov-task/104761)

<div class="topic-metadata">

**Author:** [@koustubh\_joshi](https://www.ruby-forum.com/u/koustubh_joshi)\
**Replies:** 1\
**Last updated:** [May 22, 2007, 9:22am UTC](https://www.ruby-forum.com/t/rcov-task/104761 "2007-05-22T09:22:12Z")

</div>

Hi, Am trying to run my ruby files in rcov task, here is the code, am using, begin require ‘rcov/rcovtask’ Rcov::RcovTask.new do |t| t.test\_files = FileList\["/\*\*/TestCase/\*.rb"\] t.verbose = true end rescue LoadEr…

---

## [Open-uri and utf8](https://www.ruby-forum.com/t/open-uri-and-utf8/86954)

<div class="topic-metadata">

**Author:** [@Kjell\_Olsen](https://www.ruby-forum.com/u/Kjell_Olsen)\
**Replies:** 1\
**Last updated:** [February 27, 2007, 9:41am UTC](https://www.ruby-forum.com/t/open-uri-and-utf8/86954 "2007-02-27T09:41:15Z")

</div>

I’m trying to make requests to google translate \[http://google.com/ translate\_t\] to translate words through a little ruby script. I can’t get open-uri to work on URL’s with accented characters (åéîòü etc). Just callin…

---

## [English Almost Like](https://www.ruby-forum.com/t/english-almost-like/263456)

<div class="topic-metadata">

**Author:** [@Rakhiranih](https://www.ruby-forum.com/u/Rakhiranih)\
**Replies:** 0\
**Last updated:** [November 26, 2022, 11:16am UTC](https://www.ruby-forum.com/t/english-almost-like/263456 "2022-11-26T11:16:17Z")

</div>

Times higher than a year ago, while the price of energy for businesses under voltage has also increased by 60%. medium, but remains unchanged for families and small businesses.Fuels also continue to increase, while the l…

---

## [502 Bad gateways, Read timeouts randomly in high traffic rails application](https://www.ruby-forum.com/t/502-bad-gateways-read-timeouts-randomly-in-high-traffic-rails-application/258412)

<div class="topic-metadata">

**Author:** [@mike.jhons24](https://www.ruby-forum.com/u/mike.jhons24)\
**Replies:** 0\
**Last updated:** [March 12, 2020, 10:53am UTC](https://www.ruby-forum.com/t/502-bad-gateways-read-timeouts-randomly-in-high-traffic-rails-application/258412 "2020-03-12T10:53:34Z")

</div>

Hi, I have a rails application with an api which receives around 600k to ~ 1000k requests per day. these requests are primarily targeted at a file list and fetch endpoint. The file list endpoint fetches a list of 2000 …

---

## [Sr. Software Engineer (Ruby on Rails) @ FilmFreeway](https://www.ruby-forum.com/t/sr-software-engineer-ruby-on-rails-filmfreeway/252402)

<div class="topic-metadata">

**Author:** [@FelipeTorano](https://www.ruby-forum.com/u/FelipeTorano)\
**Replies:** 0\
**Last updated:** [May 11, 2019, 3:07pm UTC](https://www.ruby-forum.com/t/sr-software-engineer-ruby-on-rails-filmfreeway/252402 "2019-05-11T15:07:47Z")

</div>

Sr. Software Engineer (Ruby on Rails) @ FilmFreeway $100k - $160k 0.05% - 1.0% (Equity) Las Vegas, NV Full Time or C2C NO Remote JD: https://newton.ai/jd/ff\_sse Please send me an invitation on Linkedin if you wish to…

---

## [Failing \`rvm install jruby-head ; gem install bundler\`](https://www.ruby-forum.com/t/failing-rvm-install-jruby-head-gem-install-bundler/235587)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 2, 2013, 1:52am UTC](https://www.ruby-forum.com/t/failing-rvm-install-jruby-head-gem-install-bundler/235587 "2013-07-02T01:52:51Z")

</div>

Hi, Trying to run install jruby-head + gem install bundler fails on Mac and Linux with $ gem install bundler ERROR: Loading command: install (LoadError) no such file to load – jopenssl ERROR: While executing gem…

---

## [Unexpected SSL Behavior with Virtual Hosts](https://www.ruby-forum.com/t/unexpected-ssl-behavior-with-virtual-hosts/241148)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 16, 2014, 3:37pm UTC](https://www.ruby-forum.com/t/unexpected-ssl-behavior-with-virtual-hosts/241148 "2014-05-16T15:37:58Z")

</div>

Sorry for posting this twice. I posted it in the “How to” forum last week, there haven’t been any replies, so I thought I’d try again. I’m using nginx for multiple virtual hosts on the same physical server. The issu…

---

## [HTTP Headers](https://www.ruby-forum.com/t/http-headers/237990)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 10, 2013, 5:10pm UTC](https://www.ruby-forum.com/t/http-headers/237990 "2013-12-10T17:10:45Z")

</div>

Hey guys, I need to make a HTTP GET in a page, but I need to use the header X-Requested-With : XMLHttpRequest, but I have no idea how to do this. by the way I’m new in ruby.

---

## [Forwarding to upstream server at port specified in url query paramter](https://www.ruby-forum.com/t/forwarding-to-upstream-server-at-port-specified-in-url-query-paramter/227157)

<div class="topic-metadata">

**Author:** [@dakun](https://www.ruby-forum.com/u/dakun)\
**Replies:** 4\
**Last updated:** [March 6, 2013, 10:54am UTC](https://www.ruby-forum.com/t/forwarding-to-upstream-server-at-port-specified-in-url-query-paramter/227157 "2013-03-06T10:54:44Z")

</div>

I am trying to use the HttpProxyModule to forward traffic to an upstream server. The incoming request will be like: http://foobar.com/path?p=1234 where p=1234 indicates the upstream port to use. For this example I wo…

---

## [Site\_ruby/shared/ffi versus gem ffi](https://www.ruby-forum.com/t/site-ruby-shared-ffi-versus-gem-ffi/219431)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 8, 2012, 8:08pm UTC](https://www.ruby-forum.com/t/site-ruby-shared-ffi-versus-gem-ffi/219431 "2012-05-08T20:08:36Z")

</div>

I find this confusing. JRuby comes with site\_ruby/shared/ffi, but I’m using gems that depend on gem ffi. This means that the ffi gem gets installed. Would it be best practice for my scripts to use a bundler Gemfile …

---

## [Gravatar\_image\_tag](https://www.ruby-forum.com/t/gravatar-image-tag/216862)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 16, 2012, 5:25pm UTC](https://www.ruby-forum.com/t/gravatar-image-tag/216862 "2012-02-16T17:25:16Z")

</div>

Hi, In my application I’m using gravatar\_image\_tag to retrieve user’s avatar. I would like to show a custom image(registered in my assets directory) in case that user do not have an gravatar account. How could I do…

---

## [Net-http-persistent 2.4.1 Released](https://www.ruby-forum.com/t/net-http-persistent-2-4-1-released/216518)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 10, 2012, 5:04am UTC](https://www.ruby-forum.com/t/net-http-persistent-2-4-1-released/216518 "2012-02-10T05:04:50Z")

</div>

net-http-persistent version 2.4.1 has been released! net-http-persistent-4.0.0 Documentation GitHub - drbrain/net-http-persistent: Thread-safe persistent connections with Net::HTTP Manages persistent connections using…

---

## [Link a file in directory diversa da public](https://www.ruby-forum.com/t/link-a-file-in-directory-diversa-da-public/213996)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 18, 2011, 12:14pm UTC](https://www.ruby-forum.com/t/link-a-file-in-directory-diversa-da-public/213996 "2011-11-18T12:14:01Z")

</div>

Sto utilizzando paperclip per l’upload di files. Il path di default e’ sotto la directory public e il link\_to all’url del file funziona senza problemi, il pdf in questo caso viene aperto. Se pero’ cambio il path e, ad…

---

## [\[ruby-trunk - Bug #5475\]\[Open\] r33507以降SolarisでPTYが使えない](https://www.ruby-forum.com/t/ruby-trunk-bug-5475-open-r33507-solaris-pty/213111)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 25, 2011, 4:16am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5475-open-r33507-solaris-pty/213111 "2011-10-25T04:16:18Z")

</div>

Issue #5475 has been reported by Naohisa G… Bug #5475: r33507以降SolarisでPTYが使えない Author: Naohisa G. Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2011-10-24) \[sparc-so…

---

## [Core dumps](https://www.ruby-forum.com/t/core-dumps/207469)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 26, 2011, 12:37pm UTC](https://www.ruby-forum.com/t/core-dumps/207469 "2011-05-26T12:37:49Z")

</div>

Hi I’m trying to get a core dump out of nginx but it isn’t working… I have done the following: Made directory with permissions: drwxr-xr-x 2 root root 4.0K 2011-05-26 00:32 nginx-core changed config: worker\_…

---

## [Mkmf-bug under mingw without msys](https://www.ruby-forum.com/t/mkmf-bug-under-mingw-without-msys/202552)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 1, 2011, 6:52pm UTC](https://www.ruby-forum.com/t/mkmf-bug-under-mingw-without-msys/202552 "2011-02-01T18:52:40Z")

</div>

Hi, I have a problem building an extension with mkmf under windows which seems to me as a bug: I want to build the extension in an mingw environment WITHOUT msys, but mkmf contains code that if it runs in an mingw en…

---

## [Serialization ruby 1.8 vs ruby 1.9](https://www.ruby-forum.com/t/serialization-ruby-1-8-vs-ruby-1-9/181206)

<div class="topic-metadata">

**Author:** [@odo](https://www.ruby-forum.com/u/odo)\
**Replies:** 4\
**Last updated:** [January 7, 2010, 2:32pm UTC](https://www.ruby-forum.com/t/serialization-ruby-1-8-vs-ruby-1-9/181206 "2010-01-07T14:32:03Z")

</div>

Hi, I am trying to marshal objects with ruby 1.8 and read them with 1.9 but I get an error on date objects: ruby 1.8: f=File.new(’/tmp/date’, ‘w+’); f.puts Marshal.dump(Date.today); f.close ruby 1.9: m=File.read(’/…

---

## [Using Rails observers and testability](https://www.ruby-forum.com/t/using-rails-observers-and-testability/167130)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 4\
**Last updated:** [May 5, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/using-rails-observers-and-testability/167130 "2009-05-05T17:03:41Z")

</div>

Hi, Before I do anything stupid, I’d like to know if there are any gotchas when using Rails observers instead of writing my own methods or callbacks? Are they easy to spec/test or will I run into troubles? Are they e…

---

## [Multithreading in JRuby on Rails App](https://www.ruby-forum.com/t/multithreading-in-jruby-on-rails-app/144579)

<div class="topic-metadata">

**Author:** [@Myron\_M](https://www.ruby-forum.com/u/Myron_M)\
**Replies:** 4\
**Last updated:** [July 31, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/multithreading-in-jruby-on-rails-app/144579 "2008-07-31T17:53:02Z")

</div>

Hello, I’ve done a decent amount of multi-threading in .NET, but have never done any in Java or Ruby. I couldn’t find anything about the topic on the JRuby wiki, so I just wanted to get some feedback. Basically, I…

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

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