# Latest

**URL:** https://www.ruby-forum.com/latest.md?page=485

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

---

## [Ruby Regex - Unable to capture specific data](https://www.ruby-forum.com/t/ruby-regex-unable-to-capture-specific-data/237881)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [December 6, 2013, 7:00am UTC](https://www.ruby-forum.com/t/ruby-regex-unable-to-capture-specific-data/237881 "2013-12-06T07:00:32Z")

</div>

Hi all, I have several strings of data, which are all very similar, however I only wish to look at some strings which match a specific criteria and ignore the rest. Some samples are below - I want the first and the la…

---

## [\`require': cannot load such file](https://www.ruby-forum.com/t/require-cannot-load-such-file/237841)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 6, 2013, 3:14am UTC](https://www.ruby-forum.com/t/require-cannot-load-such-file/237841 "2013-12-06T03:14:31Z")

</div>

Hi I stating with cucumber and ruby and cloned the framework by using : git clone GitHub - cucumber/common: A home for issues that are common to multiple cucumber repositories Then when i run cucumber i’m getting : C:…

---

## [Hoe 3.7.2 Released](https://www.ruby-forum.com/t/hoe-3-7-2-released/237924)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 1:26am UTC](https://www.ruby-forum.com/t/hoe-3-7-2-released/237924 "2013-12-06T01:26:25Z")

</div>

hoe version 3.7.2 has been released! home: http://www.zenspider.com/projects/hoe.html code: https://github.com/seattlerb/hoe bugs: https://github.com/seattlerb/hoe/issues rdoc: http://seattlerb.rubyforge.org/hoe/ d…

---

## [Minitest 5.1.0 Released](https://www.ruby-forum.com/t/minitest-5-1-0-released/237922)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 1:16am UTC](https://www.ruby-forum.com/t/minitest-5-1-0-released/237922 "2013-12-06T01:16:29Z")

</div>

minitest version 5.1.0 has been released! home: https://github.com/seattlerb/minitest rdoc: http://docs.seattlerb.org/minitest vim: https://github.com/sunaku/vim-ruby-minitest emacs: https://github.com/arthurnn/mini…

---

## [Minitest 5.1.0 Released](https://www.ruby-forum.com/t/minitest-5-1-0-released/237923)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 1:16am UTC](https://www.ruby-forum.com/t/minitest-5-1-0-released/237923 "2013-12-06T01:16:29Z")

</div>

minitest version 5.1.0 has been released! home: https://github.com/seattlerb/minitest rdoc: http://docs.seattlerb.org/minitest vim: https://github.com/sunaku/vim-ruby-minitest emacs: https://github.com/arthurnn/mini…

---

## [Omnifocus-github 1.7.0 Released](https://www.ruby-forum.com/t/omnifocus-github-1-7-0-released/237921)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 1:00am UTC](https://www.ruby-forum.com/t/omnifocus-github-1-7-0-released/237921 "2013-12-06T01:00:07Z")

</div>

omnifocus-github version 1.7.0 has been released! home: https://github.com/seattlerb/omnifocus-github rdoc: http://seattlerb.rubyforge.org/omnifocus-github Plugin for omnifocus gem to provide github BTS synchronizat…

---

## [NGINX Location Matching Question - Case insensitive matching at the start of a URI](https://www.ruby-forum.com/t/nginx-location-matching-question-case-insensitive-matching-at-the-start-of-a-uri/237920)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 6, 2013, 12:51am UTC](https://www.ruby-forum.com/t/nginx-location-matching-question-case-insensitive-matching-at-the-start-of-a-uri/237920 "2013-12-06T00:51:21Z")

</div>

Hi, I’m running in a somewhat urgent issue where I have to make a case-insensitive location match on a URI segment that is at the beginning of the URI. so I want to match /uri-segment/\* /URI-segment/\* /Uri-Segment…

---

## [NGINX Module - create variables‏](https://www.ruby-forum.com/t/nginx-module-create-variables/237852)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 6, 2013, 12:26am UTC](https://www.ruby-forum.com/t/nginx-module-create-variables/237852 "2013-12-06T00:26:48Z")

</div>

Hi, I would like to create a small module which execute some routines, returns an NGX\_OK, somewhat similar in concept to However I would like once the module executes to create variables such as $my\_var which would…

---

## [The Ruby Object Model](https://www.ruby-forum.com/t/the-ruby-object-model/237824)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 18\
**Last updated:** [December 6, 2013, 12:25am UTC](https://www.ruby-forum.com/t/the-ruby-object-model/237824 "2013-12-06T00:25:27Z")

</div>

It seems that Ruby lacks the diagram of a core object model. The only helpful article I found was A diagram of the Ruby Core object model - Jerome's Adventures in Software, but it doesn’t include some classes and some…

---

## [Ruby script if statement](https://www.ruby-forum.com/t/ruby-script-if-statement/237827)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 20\
**Last updated:** [December 6, 2013, 12:22am UTC](https://www.ruby-forum.com/t/ruby-script-if-statement/237827 "2013-12-06T00:22:30Z")

</div>

Can anyone have a look this ruby script why it’s not working: \<%= if land\_area\_unit == M2 %\>m&sup2 \<% else %\> \<%= if land\_area\_unit == HA %\>Ha \<% else %\>\<%= if land\_area\_unit == AC %\>Ac\<% else %\>f&sup2 What I want to…

---

## [Doesn't load virtual ruby](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 11:27pm UTC](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917 "2013-12-05T23:27:06Z")

</div>

When I type “vr” into the command prompt (on windows 8.1/7) it gives me this error message: “‘vr’ is not recognized as an internal or external command, operable program or batch file.” I’m currently on a windows 8.1 O…

---

## [Recommendations for a fast standalone ActiveRecord process?](https://www.ruby-forum.com/t/recommendations-for-a-fast-standalone-activerecord-process/237919)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 10:14pm UTC](https://www.ruby-forum.com/t/recommendations-for-a-fast-standalone-activerecord-process/237919 "2013-12-05T22:14:44Z")

</div>

Hi, I need to create a standalone script that uses ActiveRecord. I want it to be as fast as possible, without loading a lot of extra elements. It seems to work fine to use ActiveRecord::Base.establish\_connection and …

---

## [Build up your Ruby on Rails expert reputation and get paid to help others code](https://www.ruby-forum.com/t/build-up-your-ruby-on-rails-expert-reputation-and-get-paid-to-help-others-code/237918)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 10:14pm UTC](https://www.ruby-forum.com/t/build-up-your-ruby-on-rails-expert-reputation-and-get-paid-to-help-others-code/237918 "2013-12-05T22:14:09Z")

</div>

Rubyists and Rails experts, Wanted to share a project I am working on. It is called www.hackhands.com and is a real-time marketplace for connecting with expert programmers in order to help solve problems hands on. …

---

## [Url rewriting faliure in case of UTF8 urls](https://www.ruby-forum.com/t/url-rewriting-faliure-in-case-of-utf8-urls/237878)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 8:10pm UTC](https://www.ruby-forum.com/t/url-rewriting-faliure-in-case-of-utf8-urls/237878 "2013-12-05T20:10:18Z")

</div>

I want to rewrite some old urls on my site to new ones inorder to prevent 404 errors. For English urls everything is OK and adding a rewrite rule like the following to the server block works fine. rewrite ^/omid/$ /…

---

## [Gr-ieee802-11: connecting two usrp devices](https://www.ruby-forum.com/t/gr-ieee802-11-connecting-two-usrp-devices/237821)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 8:00pm UTC](https://www.ruby-forum.com/t/gr-ieee802-11-connecting-two-usrp-devices/237821 "2013-12-05T20:00:22Z")

</div>

Dear All, I need your help. May be someone did it before: I use ‘IEEE 802.11 a/g/p OFDM Transceiver’ project, Ubuntu 13.04, GNURADIO 3.7. I start the transmission using the first laptop and USRP N200 device by runni…

---

## [Dummy question](https://www.ruby-forum.com/t/dummy-question/237913)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 5, 2013, 7:59pm UTC](https://www.ruby-forum.com/t/dummy-question/237913 "2013-12-05T19:59:12Z")

</div>

Just read this: …which recommands to put root outside location block… However, the default.conf installed from nginx rpm contains exactly what should not de done, right ? location / { root /usr/share/nginx/…

---

## [Questions about benchmark tx/benchmark rx with USRP N200 & GNU 3.7](https://www.ruby-forum.com/t/questions-about-benchmark-tx-benchmark-rx-with-usrp-n200-gnu-3-7/237915)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 7:57pm UTC](https://www.ruby-forum.com/t/questions-about-benchmark-tx-benchmark-rx-with-usrp-n200-gnu-3-7/237915 "2013-12-05T19:57:27Z")

</div>

Dear All, I am trying to transmit something and receive it back using the second USRP N200 device. However it fails, or I did not do it correctly. I have two laptops and two (USRP N200, XCRV2450 db, 2 vert2450 antenn…

---

## [GRC Working Group Call](https://www.ruby-forum.com/t/grc-working-group-call/237914)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/grc-working-group-call/237914 "2013-12-05T19:25:19Z")

</div>

Hi everyone, the call is live on: You can join through the G+ community page. MB – Karlsruhe Institute of Technology (KIT) Communications Engineering Lab (CEL) Dipl.-Ing. Martin B. Research Associate …

---

## [Rewrite URL with parameters](https://www.ruby-forum.com/t/rewrite-url-with-parameters/237910)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 6:25pm UTC](https://www.ruby-forum.com/t/rewrite-url-with-parameters/237910 "2013-12-05T18:25:08Z")

</div>

Hi guys, I’m trying to rewrite an url with a few parameters, but unsuccessfully. The URL: https://www.mysite.com.br/category-body/categories/promotionalXXX?utm\_source=PromoCode&utm\_medium=AddPromo&utm\_campaign=PromoCo…

---

## [Problem with Upstream over SSL](https://www.ruby-forum.com/t/problem-with-upstream-over-ssl/237905)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/problem-with-upstream-over-ssl/237905 "2013-12-05T16:37:02Z")

</div>

I was proxying to an IIS server on 443 on nginx 1.1 on FreeBSD and it worked perfectly fine. We moved to nginx 1.4 running on ubuntu and now it won’t work. The following works perfect: server { location / { prox…

---

## [Location{} hassles:(](https://www.ruby-forum.com/t/location-hassles/237892)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 4:04pm UTC](https://www.ruby-forum.com/t/location-hassles/237892 "2013-12-05T16:04:19Z")

</div>

Hey all I can’t seem to get the hang of how to use/write location blocks. I have mailed the list before and I do understand how it works but what I’ve tried fails. I have tried a few things and in both cases i don’t t…

---

## [Using nginx to cache file serving](https://www.ruby-forum.com/t/using-nginx-to-cache-file-serving/237903)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 5, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/using-nginx-to-cache-file-serving/237903 "2013-12-05T15:39:46Z")

</div>

Hi We are using nginx & SATA disks on several of our file servers.However after hitting 12MBytes/s of port speed (server nic is a 1gbps), the server gets down to it’s knees. SSH becomes very slow/unresponsive and ou…

---

## [Rails and passenger memory issues](https://www.ruby-forum.com/t/rails-and-passenger-memory-issues/237864)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/rails-and-passenger-memory-issues/237864 "2013-12-05T15:39:11Z")

</div>

I’m using Rails 3, Passenger, and Postgresql. Yesterday the rails application was running very slow. So I rebooted the server. Less than 24 hours later, it is consuming even more memory than before and when trying t…

---

## [All packets may lose when running benchmark example in gr-digital/examples/narrowband](https://www.ruby-forum.com/t/all-packets-may-lose-when-running-benchmark-example-in-gr-digital-examples-narrowband/237901)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 2:43pm UTC](https://www.ruby-forum.com/t/all-packets-may-lose-when-running-benchmark-example-in-gr-digital-examples-narrowband/237901 "2013-12-05T14:43:05Z")

</div>

Hi all, When I was running benchmark example in gr-digital/examples/narrowband, all packets may lose. The environment is shown below. Hardware: USRP N210 with WBX Software: GNU Radio v3.7.2.1-62-g6195ff3c and UHD\_00…

---

## [Why the status code restriction on add\_header?](https://www.ruby-forum.com/t/why-the-status-code-restriction-on-add-header/237902)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 2:36pm UTC](https://www.ruby-forum.com/t/why-the-status-code-restriction-on-add-header/237902 "2013-12-05T14:36:40Z")

</div>

Hello, I’m trying to add some custom headers to a 403 response, but had a hard time doing so. Looking through the docs, it seems add\_header "Adds the specified field to a response header provided that the response cod…

---

## [Chaining relations break?](https://www.ruby-forum.com/t/chaining-relations-break/237862)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 5, 2013, 1:46pm UTC](https://www.ruby-forum.com/t/chaining-relations-break/237862 "2013-12-05T13:46:25Z")

</div>

The following works: r = u.utility\_data.select(“utility\_id, sum(ami\_residential)”).group(“utility\_id”) =\> #\<ActiveRecord::Relation \[#\<UtilityDatum id: nil, utility\_id: 5621\>\]\> r.first\[:sum\] =\> 263 but when w…

---

## [Version 3.7 gr.remez problem](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 5, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891 "2013-12-05T13:09:36Z")

</div>

hi, in this file: /usr/local/lib/python2.7/dist-packages/gnuradio/optfir.py there is a definition for a remez filter that uses the gr.remez function. It seems it,s not here anymore in the new version. How can I repla…

---

## [Sphinx2 Search Platform Upstream Module Pre-Release](https://www.ruby-forum.com/t/sphinx2-search-platform-upstream-module-pre-release/237900)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 11:41am UTC](https://www.ruby-forum.com/t/sphinx2-search-platform-upstream-module-pre-release/237900 "2013-12-05T11:41:20Z")

</div>

Hello! I have developed an upstream module for Sphinx2 search platform. It’s available at: GitHub - reeteshranjan/sphinx2-nginx-module: Nginx upstream module for Sphinx 2.x It talks to Sphinx2 searchd component for pe…

---

## [Difference between Ruby and JRuby](https://www.ruby-forum.com/t/difference-between-ruby-and-jruby/210336)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 13\
**Last updated:** [December 5, 2013, 11:10am UTC](https://www.ruby-forum.com/t/difference-between-ruby-and-jruby/210336 "2013-12-05T11:10:01Z")

</div>

Hi, Can anyone tell me what is the difference between ruby and jruby? I have read that JRuby means, java implementation of Ruby. What does that mean? Is it mean that ruby interpretor is written in java? Also, Is all …

---

## [Issue with Deinterleave block](https://www.ruby-forum.com/t/issue-with-deinterleave-block/237897)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 5, 2013, 11:08am UTC](https://www.ruby-forum.com/t/issue-with-deinterleave-block/237897 "2013-12-05T11:08:37Z")

</div>

Hi I was just trying to use interleave and deinterleave blocks. GNU radio installed is 3.6.2 flowchar is something like vector source ----\> interleave ----\>throttle—\>deinterleave —\>scope sink vector source -----\> …

[Previous page](https://www.ruby-forum.com/latest.md?page=484)

[Next page](https://www.ruby-forum.com/latest.md?page=486)
