# Latest

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

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

---

## [Debugging ssl and php-fpm](https://www.ruby-forum.com/t/debugging-ssl-and-php-fpm/237685)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [November 24, 2013, 5:10pm UTC](https://www.ruby-forum.com/t/debugging-ssl-and-php-fpm/237685 "2013-11-24T17:10:23Z")

</div>

Okay, so rule #1 is to never think a server migration will go easy. As I’ve said in another thread, I’ve been running nginx and php-fpm for years on my site. But I’m moving from a CentOS to an Ubuntu server and things…

---

## [Routing Rails 2 vs Rails 3](https://www.ruby-forum.com/t/routing-rails-2-vs-rails-3/237684)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 24, 2013, 4:40pm UTC](https://www.ruby-forum.com/t/routing-rails-2-vs-rails-3/237684 "2013-11-24T16:40:13Z")

</div>

Salve ragazzi, con l’aggiornamento da Rails 2 a Rails 3 ho dovuto riscrivere il routing, in particolare il comando: map.page’software/download/pagina/:pagina.html’, :controller=\>‘view’, :action=\>‘index’ è diventato…

---

## [Problema con UTF-8](https://www.ruby-forum.com/t/problema-con-utf-8/237400)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 19\
**Last updated:** [November 24, 2013, 4:32pm UTC](https://www.ruby-forum.com/t/problema-con-utf-8/237400 "2013-11-24T16:32:59Z")

</div>

Salve a tutti mi sto avvicinando da pochissimo al mondo della programmazione che mi incuriosisce da tempo ma sono comunque alle prime armi.Il mio problema è che quando provo ad effettuare un esercizio utilizzando RUBY…

---

## [Codemotion Milano: Early Bird in scadenza il 7 nov](https://www.ruby-forum.com/t/codemotion-milano-early-bird-in-scadenza-il-7-nov/237313)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 24, 2013, 12:14pm UTC](https://www.ruby-forum.com/t/codemotion-milano-early-bird-in-scadenza-il-7-nov/237313 "2013-11-24T12:14:46Z")

</div>

Ciao a tutti, il Codemotion Milano si sta avvicinando, sar infatti il 29 e 30 novembre! Il 29 nov ci saranno i workshop e il 30 nov ci saranno i talk e i code lab: http://milano.codemotionworld.com/ Anche la possib…

---

## [Occurrence Counter](https://www.ruby-forum.com/t/occurrence-counter/237667)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 24, 2013, 11:37am UTC](https://www.ruby-forum.com/t/occurrence-counter/237667 "2013-11-24T11:37:23Z")

</div>

Hi! I’m trying to make a code that opens a file, that basically contains a bunch of numbers divided by space and adds those spaces to an array and after that it transfers them to a hash where the occurrence is counted…

---

## [Rails server start error: Invalid Multibyte char](https://www.ruby-forum.com/t/rails-server-start-error-invalid-multibyte-char/237672)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 24, 2013, 7:25am UTC](https://www.ruby-forum.com/t/rails-server-start-error-invalid-multibyte-char/237672 "2013-11-24T07:25:03Z")

</div>

I am getting this error while starting server. Can someone help me debug the cause? $ rails s /home/ankur/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.15/lib/rails/railtie.rb:3:in require': /home/ankur/.rvm/gems/ruby-…

---

## [\[ruby-trunk - Feature #8509\]\[Open\] Use 128 bit integer type in Bignum](https://www.ruby-forum.com/t/ruby-trunk-feature-8509-open-use-128-bit-integer-type-in-bignum/245552)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [November 24, 2013, 5:55am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-8509-open-use-128-bit-integer-type-in-bignum/245552 "2013-11-24T05:55:42Z")

</div>

Issue #8509 has been reported by akr (Akira T.). Feature #8509: Use 128 bit integer type in Bignum Author: akr (Akira T.) Status: Open Priority: Normal Assignee: Category: Target version: How about Bignum uses …

---

## [Confusion with local variable assignment in ruby](https://www.ruby-forum.com/t/confusion-with-local-variable-assignment-in-ruby/237678)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 9:02pm UTC](https://www.ruby-forum.com/t/confusion-with-local-variable-assignment-in-ruby/237678 "2013-11-23T21:02:51Z")

</div>

Hi, I am having some confusions about local variable assignments… x + 1 # undefined local variable or method \`x’ for main:Object (NameError) But why not the same error happened in the below case ? x = x+1 undefined…

---

## [Grc\_blocks\_path](https://www.ruby-forum.com/t/grc-blocks-path/237680)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 7:18pm UTC](https://www.ruby-forum.com/t/grc-blocks-path/237680 "2013-11-23T19:18:17Z")

</div>

So, thinking about my growing radio-astronomy community of users wanting to use not only my “radio science” apps, but also explore GRC, is it possible (and I think the answer is ‘yes’) to use GRC\_BLOCKS\_PATH to provid…

---

## [\[JOBS\] Fresh Rake File Error when creating project or launch rails server](https://www.ruby-forum.com/t/jobs-fresh-rake-file-error-when-creating-project-or-launch-rails-server/237666)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 6:37pm UTC](https://www.ruby-forum.com/t/jobs-fresh-rake-file-error-when-creating-project-or-launch-rails-server/237666 "2013-11-23T18:37:23Z")

</div>

Hi, I’m new to rails so wonder if you guys can help out, most appreciated. Problem: When creating a new project or start rails server this error occurs: No such file or directory for fresh\_rakefile = ================…

---

## [Not recording it all](https://www.ruby-forum.com/t/not-recording-it-all/237675)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 5:41pm UTC](https://www.ruby-forum.com/t/not-recording-it-all/237675 "2013-11-23T17:41:52Z")

</div>

I ran my “record” setup for over 10 seconds, but when I run the data file back through my “playback” I only get about two seconds (if that) of result. What happened to all the data, and how can I change things next t…

---

## [Frequency Translating FIR Filter](https://www.ruby-forum.com/t/frequency-translating-fir-filter/237665)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 5:07pm UTC](https://www.ruby-forum.com/t/frequency-translating-fir-filter/237665 "2013-11-23T17:07:59Z")

</div>

I am trying to view the spectrum from 0-1MHz recorded at 50M. I used a low pass filter to only record 0-30MHz. My frequency translating filter is defined as follows: Decimation: 50 Taps: firdes.low\_pass(1, samp\_rate…

---

## [Try to use examples but a lot of images are missing](https://www.ruby-forum.com/t/try-to-use-examples-but-a-lot-of-images-are-missing/237676)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 4:57pm UTC](https://www.ruby-forum.com/t/try-to-use-examples-but-a-lot-of-images-are-missing/237676 "2013-11-23T16:57:27Z")

</div>

Hi, I am playing around with gnuradio and I am trying to discover some basics. I did find a page with examples but the images seem to be missing. Am I looking on an outdated page or is there something wrong at the s…

---

## [Syntaxe ruby](https://www.ruby-forum.com/t/syntaxe-ruby/237674)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/syntaxe-ruby/237674 "2013-11-23T16:25:31Z")

</div>

Bonjour, je commence en ruby et et Ror, j’essaye de comprende la syntaxe du code pour savoir coder correctement. J’ai troué plusieurs tuto qui expliquent assez bien mais je ne trouve pas d’explications sur ce qui sui…

---

## [Swap new number into existing array](https://www.ruby-forum.com/t/swap-new-number-into-existing-array/237630)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [November 23, 2013, 4:07pm UTC](https://www.ruby-forum.com/t/swap-new-number-into-existing-array/237630 "2013-11-23T16:07:47Z")

</div>

Hi, I’ve created the attached program but can’t get my random number to pass into my array in place of another item in the array, can anyone help? Many Thanks Richard

---

## [Invalid Argument/Failed to Allocate Buffer](https://www.ruby-forum.com/t/invalid-argument-failed-to-allocate-buffer/237632)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/invalid-argument-failed-to-allocate-buffer/237632 "2013-11-23T15:27:29Z")

</div>

I am trying to play back my recorded data and I get the following: 3 instances of vmcircbuf\_sysv\_shm: shmget(1): Invalid argument allocate\_buffer: failed to allocate buffer size of 25784 KB Those four lines are repeat…

---

## [USRP N200 with GNU v3.7 fails](https://www.ruby-forum.com/t/usrp-n200-with-gnu-v3-7-fails/237658)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/usrp-n200-with-gnu-v3-7-fails/237658 "2013-11-23T14:12:07Z")

</div>

Hi People, My system Ubuntu 13.04 GNURADIO 3.7.1.1 USRP N200 I run: cd /usr/local/src sudo wget sudo tar xvf UHD\_003.003.000.tar.gz cd uhd/host mkdir build cd build cmake …/ make make test sudo make instal…

---

## [Autotest-rails 4.2.1 Released](https://www.ruby-forum.com/t/autotest-rails-4-2-1-released/237670)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 9:20am UTC](https://www.ruby-forum.com/t/autotest-rails-4-2-1-released/237670 "2013-11-23T09:20:01Z")

</div>

autotest-rails version 4.2.1 has been released! home: https://github.com/seattlerb/autotest-rails rdoc: http://zentest.rubyforge.org/autotest-rails This is an autotest plugin to provide rails support. It provides ba…

---

## [Autotest-rails 4.2.1 Released](https://www.ruby-forum.com/t/autotest-rails-4-2-1-released/237669)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 9:20am UTC](https://www.ruby-forum.com/t/autotest-rails-4-2-1-released/237669 "2013-11-23T09:20:00Z")

</div>

autotest-rails version 4.2.1 has been released! home: https://github.com/seattlerb/autotest-rails rdoc: http://zentest.rubyforge.org/autotest-rails This is an autotest plugin to provide rails support. It provides ba…

---

## [URI.decode\_www\_form errors on valid x-www-form-urlencoded strings](https://www.ruby-forum.com/t/uri-decode-www-form-errors-on-valid-x-www-form-urlencoded-strings/237664)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 23, 2013, 6:13am UTC](https://www.ruby-forum.com/t/uri-decode-www-form-errors-on-valid-x-www-form-urlencoded-strings/237664 "2013-11-23T06:13:55Z")

</div>

When you call URI.decode\_www\_form on the following: URI.decode\_www\_form(“a=1?b=2=”) it throws an error, presumably because of the trailing “=”. But after reading http://www.w3.org/TR/html5/forms.html#url-encoded-fo…

---

## [Starting a Jruby app from another Jruby app](https://www.ruby-forum.com/t/starting-a-jruby-app-from-another-jruby-app/237668)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 5:51am UTC](https://www.ruby-forum.com/t/starting-a-jruby-app-from-another-jruby-app/237668 "2013-11-23T05:51:30Z")

</div>

So I have a Sinatra based service which is packaged into a war run from within a servlet container, I want the app to be able to start another Jruby app which in this case is packaged into a straight jar. I imagine d…

---

## [Some usrp\_spectrum\_sense.py code Explanation](https://www.ruby-forum.com/t/some-usrp-spectrum-sense-py-code-explanation/156553)

<div class="topic-metadata">

**Author:** [@fmalem](https://www.ruby-forum.com/u/fmalem)\
**Replies:** 5\
**Last updated:** [November 23, 2013, 4:19am UTC](https://www.ruby-forum.com/t/some-usrp-spectrum-sense-py-code-explanation/156553 "2013-11-23T04:19:47Z")

</div>

Hi Everybody, and Merry Christmas I received many emails requesting some explanation for usrp\_spectrum\_sense.py gnuradio example program. The following link contains the code with some explanation and one bug fix (i…

---

## [Wrong documentation about erb -P?](https://www.ruby-forum.com/t/wrong-documentation-about-erb-p/237645)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 12:33am UTC](https://www.ruby-forum.com/t/wrong-documentation-about-erb-p/237645 "2013-11-23T00:33:34Z")

</div>

according to “man erb”, the -P options: Evaluates lines starting with % as Ruby code and removes the tailing EOLs. However, it seems to be the opposite: by default, erb evaluates lines starting with % as Ruby code; a…

---

## [Cancan Rspec load\_and\_authorize\_resource](https://www.ruby-forum.com/t/cancan-rspec-load-and-authorize-resource/237646)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 23, 2013, 12:00am UTC](https://www.ruby-forum.com/t/cancan-rspec-load-and-authorize-resource/237646 "2013-11-23T00:00:27Z")

</div>

Hello! While running bundle exec rake, I receive following error (see in attached file) However, my tests are steel passing with command rspec spec/controllers/ Some info: ads\_controller.rb: class AdsController \< A…

---

## [Migrate Status on Heroku](https://www.ruby-forum.com/t/migrate-status-on-heroku/237659)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 22, 2013, 11:00pm UTC](https://www.ruby-forum.com/t/migrate-status-on-heroku/237659 "2013-11-22T23:00:40Z")

</div>

I am having a problem with my app on Heroku. When I run heroku run rake db:migrate:status it shows 5 of my migrations with only 2 of them saying up status and the other 3 three say down status. How do i get the othe…

---

## [Authentication for both web & api](https://www.ruby-forum.com/t/authentication-for-both-web-api/237633)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 22, 2013, 10:28pm UTC](https://www.ruby-forum.com/t/authentication-for-both-web-api/237633 "2013-11-22T22:28:26Z")

</div>

Hello, I need to develop an application which needs to authenticate user by verifying login name/password for both web access and api. I need the same controller to cater to both web and api. I can put the before\_fil…

---

## [Ruby on Rails Blogging for Newbies?](https://www.ruby-forum.com/t/ruby-on-rails-blogging-for-newbies/237627)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 22, 2013, 10:10pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-blogging-for-newbies/237627 "2013-11-22T22:10:59Z")

</div>

I want a site with: A blog Static pages total customization dynamic content / server side processing. How can I, a total beginner, get up and running with RoR?

---

## [Building GNU Radio with a cross compiler](https://www.ruby-forum.com/t/building-gnu-radio-with-a-cross-compiler/237660)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 22, 2013, 9:31pm UTC](https://www.ruby-forum.com/t/building-gnu-radio-with-a-cross-compiler/237660 "2013-11-22T21:31:47Z")

</div>

I’ve spent a good aprt of the week cleaning up processes for building GNU Radio for ARM targets using OpenEmbedded (a part of the Yocto Project). First, some instructions for building GNU radio. This approach usses th…

---

## [Re: Looking for DSSS demodulator](https://www.ruby-forum.com/t/re-looking-for-dsss-demodulator/237653)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 22, 2013, 9:07pm UTC](https://www.ruby-forum.com/t/re-looking-for-dsss-demodulator/237653 "2013-11-22T21:07:50Z")

</div>

Great share Achilleas. But I am having problem running it. Quite a few blocks are missing. Please share on what version of GnuRadio was it built against? Did you use custom blocks too? – Bob

---

## [Rails 4, subdomain routing](https://www.ruby-forum.com/t/rails-4-subdomain-routing/237590)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 22, 2013, 7:04pm UTC](https://www.ruby-forum.com/t/rails-4-subdomain-routing/237590 "2013-11-22T19:04:31Z")

</div>

Trying to implement web service in rails through API sub-domain called “api”. In my hosts file i added line: 127.0.0.1 api.localhost In my routes.rb i set sub-domain, where i only need index action and few manually a…

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

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