Earn $100-$500 per month

Great Offer!!!
Now you can earn $100-$500 per month with has many choice for you.You can get job absolutely free. Visit this page website:<a href=""target="_blank"></a>Free job for you!

Free job

Free job for you!
Are you want any Internet home job?It is perfect job for you. Absolutely free and easy job here. To know more about this Please visit this page website:<a href=""target="_blank"=></a>

Free job

Great offer for you. Are you want to do a Internet job?It's for you.

So try and enjoy it...

ruby-oci8 2.2.5

Ruby-oci8 2.2.5 was released. This is the Oracle module using OCI8 API.

<a href="" title=""></a>

New Features
### Try to load $ORACLE_HOME/lib/ also when runtime api
check is enabled on Unix.

When ruby-oci8 is configured with `--with-runtime-check`, it loads Oracle client
library and checks available functions in the library at runtime. This
feature was
added to release Windows binary gems which cannot know Oracle version
at compile time.
This is available also on Unix.

Hash#dig_and_collect feedback

Hello Rubyist, I am new here and looking forward to talk Ruby!

I wrote this gem a while ago to make my job of collecting data from deeply nested hashes easier (i.e.

SimpleDelegator, nil, and truthiness

Hi there,

I've come across some code that has edge cases where nil is being passed
into a SimpleDelegator-based class.

So, something like `foo =`

This is weird, and I'm fixing it. But it uncovered something about how `if`
determines truthiness.

I would expect this code not to output anything, but it does:

foo =
puts "hi!" if foo

However, this code does not output anything:

foo =
puts "hi!" if !!foo

Are there any docs that describe this behaviour?

Thanks in advance!


youtube_dlhelper 3.0.0

youtube_dlhelper 3.0.0 has been released.

* home: <>
* bugs: <>
* questions: <>
* doc: <>
* userdoc: <>

The youtube_dlhelper is a short tool for download and manage the
downloaded files. You are running the program inside the command line
with a Youtube URL. Then it asks for a group name or interpreters name.
Now it creates a Subfolder inside your Musicdirectory.

Ruby-GNOME2 version 3.1.9

The gems of the Ruby-GNOME2 project are updated to the version 3.1.9.

This release includes the new Ruby/Poppler gem, that is based on
GObjectIntrospection, and some improvements and bug fixes for:

- Ruby/GDK3
- Ruby/GLib
- Ruby/GObjectIntrospection
- Ruby/GTK3
- Ruby/GtkSourceView3
- Ruby/Rsvg2
- Ruby/WebKit2GTK
- Ruby/VTE3

See <a href="" title=""></a> for an
exhaustive list of the improvements.

= About the ruby-gnome2 project

As a reminder, and for those who didn't know, the Ruby-GNOME2 project is
a set of bindings for the GN

Re: Reducing Enumerable (and writing again)

Brandon Weaver wrote:

Good library for command pipes in Ruby?


I tried looking for a library that lets me write (lazy) command line pipes
in Ruby but came up short.

I would like to make a function that invokes a executable to transform an
object into text and either saves it to a file or dumps it out.

Ideally, I could write it like this:

def pipeline
return self.to_text >> Process.spawn("dot")

Ideally, this pipeline is not invoked until the user does the following:

pipeline.write(path) //writes to file

or //returns String

Does something like this exist already?


Reducing Enumerable (and writing again)

Been a while, but I've started writing a lot of Ruby tutorials and articles

Ruby on Rails french video training

Hello Guys,

Follow this link <a href="" title=""></a>
You ll get a reduction price.

Have a nice day!



Unsubscribe: <>


I am just a newly registered with Ruby Talk and i don't know anything about
Please where can i start from to learn about ruby language

Thank you

Using a gem from git

Hello list,

because the upstream developer of youtube-dl.rb doesn't provide the
latest binaries, i'm using this one <a href="" title=""></a>

In my Gemfile i have added:
gem "youtube-dl.rb", "~>", :git => '

After doing a bundle install i have in my Gemfile.lock:
  remote: <a href="" title=""></a>
  revision: b8423e3713f7f5f74a52fc987c324178315a8d78
    youtube-dl.rb (
      cocaine (>= 0.5.4)


youtube-dl.rb (~>!

Now i created a new

Downgrading bundler

Hello list,

i have used bundle install with a installed bundler 1.16.0.pre.3. Now i
would like to use the standard bundler 1.15.4.
So i removed the pre from the gems dir in rvm. A new bundle install
gives me:
/home/sascha/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load': cannot load
such file -- /home/sascha/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/exe/bundle (LoadError)

How can i tell the gem, that it should use the old one?


Unsubscribe: <>

Title case in Celtic names

I'm looking for a way of implementing title case on Ruby strings that can
handle Scottish and Irish names.

I have installed the titlecase gem and this works fine in most general cases. I
could live with the odd aberration that can be manually adjusted after
processing. However, I live in Scotland and I deal with a lot of mailing
lists, so names like McLeod, MacGregor and the Irish O'Beirne are very common.
Titlecase doesn't handle these at all.

I've searched the gem repositories and I can't find anything that would help.
Does anybody know of anything?

Rubocop Require parantheses

Hello list,

i'm using in a test:
expect(ffmpeg_binary).equal? '/usr/bin/ffmpeg' || '/usr/bin/avconv'

Rubocop says now:
Lint/RequireParentheses: Use parentheses in the method call to avoid
confusion about precedence.

How would this looks like correct?

expect(ffmpeg_binary).equal? {'/usr/bin/ffmpeg'} || {'/usr/bin/avconv'}


Unsubscribe: <>

Three Ruby language features?

Hello, Ruby folks!

Before I start learning Ruby I want to check for some features. You
don't need to tell me how the following things are done, just
_whether_ they can be done.

Can I do in Ruby:
1.) develop applications that run on my local PC without a server,
just in the shell or desktop environment?
2.) create libraries that can be used by C or C++ programs?
3.) use C or C++ libraries?

Kind regards
Peter Wiehe

Unsubscribe: <>

Platform preferences survey (your chance to gripe about app stores!)

Hi everyone!

I'm launching a business offering new tools and services that might be of interest to users of scripting languages, so I'm interested in hearing your input (again).

Thanks to those of you who participated in the earlier survey I've been busy improving the product suite to better match the needs of users, so now I'm looking for more information about platform and distribution preferences in the lead-up to release.

Alias Enumerable#include? to Enumerable#includes?


this was mentioned at Euruko's conference by Bozhidar Batsov and fully
resonated with my own personal experience using Ruby. As I tweeted after
the conference I would like to contribute to make Ruby better, and
aliasing Enumerable#include? with Enumerable#includes? would be a great
start. I simply can't remember how many times I have written includes?
instead of include? Last Saturday I definitely confirmed that I'm not the
only one. What do you think?

If possible I offer me volunteer to write and submit the patch myself.


File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})

On 2017/10/04 8:47, <a href=""></a> wrote:
These methods now accept an `IO` instance, not only a path name.
Is this intentional?

$ ./ruby -v -e 'p File.setuid?(STDIN)'
ruby 2.5.0dev (2017-10-03 trunk 60115) [x86_64-darwin15]
Traceback (most recent call last):
1: from -e:1:in `<main>'

packetgen 2.1.2 released

packetgen 2.1.2 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,


### 2.1.2 / 2017-09-30

* remove support for ruby 2.1
* remove depency on net-proto gem

Unsubscribe: <>


Hello all -

If you have a Rails app, you might be interested in a little gem I just
released that identifies presence validations that aren't backed by a
non-null constraint.  Example output and such-like are here:

<a href="" title=""></a>



Unsubscribe: <>

Code Reading Adventures in The Land of Ruby


I hope you are having a great day!

A new Ruby article is ready for you. It's about code reading & the "Awesome
Print" gem.

*You can read it here*:

<a href="" title=""></a>

I think you are going to love it :)

Db-Charmer + Octopus

I'm currently using the Db-Charmer gem, and in the process of upgrading to
Rails 4, which no longer works with it. I'm considering replacing it with
the Octopus gem, but doing so incrementally. Wondering if anyone has had
success running these gems at the same time? Cause they appear to conflict,
probably because they both integrate so tightly with ActiveRecord.

Octopus: <a href="" title=""></a>
Db-Charmer: <a href="" title=""></a>

I'm also wondering why we'd need to use gems like those? For my use case,
I'm just switching between a master and follower database.


Waxx - Web Application X(x)

gem install waxx
<a href="" title=""></a>

Waxx is a high-performance, functionally-inspired application development framework. It is optimized for code maintainability and high performance. Waxx is a no-magic framework that ascribes to the "what you code is what you get" (WYCIWYG) philosophy. The entire system is made up of functions. There are zero classes (except for a few hashes, arrays and structs). Functions are namespaced within modules. It is multi-threaded and extremely fast - similar to node and go frameworks.

This is the first public release.

NamedStruct, a gem that allows you to initialize Structs with keyword arguments

I found myself repeating something like this in all projects that I'm
working on:

class MyStruct <, :y)
# Allows initialization via keyword arguments (Ruby
# only supports positional arguments by default)
def initialize(**kwargs)
super(*{|k| kwargs[k] })

Thought it'd be worth extracting into a gem:
<a href="" title=""></a>



Hi all,

HighLine is a Ruby gem that provides convenient console input/output.
It features ansi coloring, basic coercion and validation, list
rendering and more. It’s been around for at least 12 years. Authored
by Ruby Hero James Edward Gray II. It’s currently maintained with the
help of the Ruby addicted Abinoam.

The years were not so kind to HighLine code base, but a gem with such
great curriculum would surely deserve some love. We’ve been working to
bring HighLine back in shape.



Next month, we are going to have a developer meeting.
It will be at October 19th, 14:00 - 18:00 JST in Tokyo.

If you want to join us, please proceed to the following wiki pages as usual to sign-up

<a href="" title=""></a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place.
Discussions are logged.  Will share you the log afterwards.

Kenta Murata

loofah 2.1.0 released

loofah version 2.1.0 has been released!

TL;DR: CSS property parsing and sanitization has been re-implemented on top
of Crass:

<a href="" title=""></a>

replacing the regexes that were lifted from html5lib back in 2009. I'm
relatively sure this is a good thing.

Note that Loofah underlies Rails sanitization since 4.2, so please do let
me know via Github issue if this breaks any behavior for you.

5 Habits Of Successful Ruby Developers

What are some of the things you can do to become an expert Ruby developer &
reap all the rewards that come with that status?

That's what I cover in this free *RubyGuide *(Video + PDF) I put together
for you:

<a href="" title=""></a>

It's going to take time & commitment on your part, but with the right
training <> you can do it!

- Jesus Castello (On a mission to help 10,000 Ruby developers reach their
full potential)

Print Statement if Character is a Number

Dear all,

I'm trying to debug this simple line of code.

* if i.match(/[0-9]/) Then*
print "this is a number"

It doesn't like my syntax for some reason. The function so far is the

def calc(input)
array1 = input.split(//) # // splits into individual characters
array1.each do |i|
puts i
* if i.match(/[0-9]/) Then*
print "this is a number"


nokogiri security update 1.8.1 Released

nokogiri version 1.8.1 has been released.

This is primarily a security update, wherein the vendored libxml2 and
libxslt versions have been updated:

- libxml 2.9.5
- libxslt 1.1.30

which address the CVEs called out in USN3424-1 [1].

These patches only apply when using Nokogiri's vendored libxml2 library.

Standard Header for Ruby Files?

Dear all,

I used to come from the VBA world where they recommend putting Headers at
the top of code modules to explain what the module does. For example:

'Name: Report Creator
'Version: 1.1
'Author(s): Bill Bisco (<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>)
'Purpose: Create a report based on user defined selections and information
in the DATA tab

'Revision Log:
' 06-07-2017 Bill Bisco - Public Release
' 06-17-2016 Bill Bisco - Fixed miscellaneous bugs based on user

Does the general Ruby userbase recommend headers similar to the above?

Build Your Own Blockchain in Less than 10 Lines of Ruby - blockchain.rb


Thanks to Matias Fernandez for cutting out the fluff. The line
count is now at eight - less than 10 :-).

Build Your Own Blockchain in 20 Lines of Ruby - blockchain.rb @ Awesome Blockchains


Inspired by Let’s Build the Tiniest Blockchain In Less Than 50
Lines of Python [1] I’ve put together a Ruby version.

Blockchains, blockchains, blockchains! See the blockchain.rb [2] sample
in the Awesome Blockchains repo and repasted below.


$ ruby ./blockscript.rb to run.

If you have seen other blockchains in ruby, let us know. Or if you
have ideas how to make it better, let us know.

Convert Existing numerical variables to have higher decimals?

In Ruby I can divide variables by other variables and get a numeric result

n1 = 500; n2 = 400
result = n1 / n2
puts "#{result}"
# Get back 1

I can convert existing variables to have more decimal places as strings

var1 ='%.2f' % n1 ; var2 ='%.2f' % n2
# This gives n1 & n2 2 decimal points

However, I can't do math operations on strings as I will get an error
var1 ='%.2f' % n1 ; var2 ='%.2f' % n2
result = var1 / var2
puts result
# Error as I cannot divide strings

How do I convert existing variables to more decimal places so that I can do
math with them?

Practical reason for putting hardcoded names in variable call?

Hi all,

I have become aware that this line of code works

puts "I will make a random #{"word"} in brackets" #I don't get the point of

In this particular case, I could have easily just coded:

puts "I will make a random word in brackets"

Is there any advantage to doing the former? I'm not actually defining a
variable. It's just useful as a placeholder in the future when I'm ready
to put a variable in?





I wanted to let you know that my Ruby blog Blackbytes is now

Also I'm launching a new training program for those of you who would like
to take things to the next level with a supportive community & concise
study guides.

Sign-up here today:

<a href="" title=""></a>

Thank you!

Why are the ruby docs for a lot of versions incomplete?

Here's an example:

Queue, 2.4.1 : <a href="" title=""></a>

Queue, 2.2.0 : <a href="" title=""></a>

The former only lists a brief description and example usage, while the
latter has documentation for all class + instance methods.

Am I looking at the wrong docs? Is there another documentation site I
should be using?


Multi-line Comments in One Line

Hi all,

I'm using to run my Ruby code. I'd really like to be able to run
multi-line comments in one line! But, I can't. Any workarounds?

=begin You can't put a multi line comment in one line even with
semi-colons ; =end; puts "it doesn't work"
=end ;puts "You can't even run code on this line! Silly Ruby!"

Ruby 2.4.2, 2.3.5 and 2.2.8 released with several security fixes

Hi, all

We've just released Ruby 2.4.2, 2.3.5 and 2.2.8.
How to download and details:

* [Ruby 2.4.2 Released](<a href="" title=""></a>)
* [Ruby 2.3.5 Released](<a href="" title=""></a>)
* [Ruby 2.2.8 Released](<a href="" title=""></a>)

These releases include several security fixes.
You can check details:

* [CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf](<a href="" title=""></a>)
* [CVE-2017-10

JRuby has been released

The JRuby community is pleased to announce the release of JRuby

Homepage: <a href="" title=""></a>
Download: <a href="" title=""></a>

JRuby 9.1.x is our current major version of JRuby. It is expected to be
compatible with Ruby 2.3.x and stay in sync with C Ruby.

Server Memcached implementation in Ruby

Hi, i need help. I need to do (educational purpose) a server in ruby like memcached. I know the basic about ruby and networks. I only need to implement the storage commands (set, add, replace, append and prepend) and retrieval commands (get, gets). i know how memcached works and i have an idea of how i should implement that commands, but i dont really know how to structure the hole thing, i mean should i have a client implementation and also a server implementation? how i connect the client with server using TCP conection? should i use sockets? etc.

Any help is really helpful, thanks you.

packetgen 2.1.1 released

packetgen 2.1.1 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,


### 2.1.1 / 2017-08-31

* Remove dependency on pry: pgconsole will use it if installed, else use IRB
* Fix access to config in pgconsole

Unsubscribe: <

world.db.starter Sample - Build Your Own HTTP JSON API (w/ world.db incl. Countries / States / Cities / etc.)


I've updated the world.db web service starter sample [1]
that gets you started building your own HTTP JSON API using the world.db
(incl. contintents / countries / states / cities /etc.).

What's news? The starter sample now uses the new webservice library [2]
(a simplified sinatra 2.0-style library for HTTP JSON APIs). Example:

class StarterApp < Webservice::Base

include WorldDb::Models # e.g.

Rails 5.1.4.rc1 and 5.0.6.rc1 released

Hi everyone,

I am happy to announce that Rails 5.0.6.rc1 and 5.1.4.rc1 have been released.

If no regressions are found, expect the final release on Tuesday,
August 29, 2017.
If you find one, please open an [issue on
GitHub](<a href="" title=""></a>)
and mention me (@eileencodes) on it, so that we can fix it before the
final release.

## CHANGES since 5.0.5

To view the changes for each gem, please read the changelogs on GitHub:

* [Action Cable
CHANGELOG](<a href="" title=""></a>)
* [Action Mailer
CHANGELOG](<a href="" title=""></a>

webservice gem - (yet) another HTTP JSON API (web service) builder (in 100 lines of ruby)


I've put together a webservice gem [1] - yet another Sinatra-style
HTTP JSON API builder (in about 100 lines of ruby). Why? Why not ;-)
The main "innovation" is easy dynamic loading of services e.g.

Survey regarding usage of scripting tools (plus a Free Beta Invite for an upcoming product)

Hi everyone!

I'm in the process of launching a business around a new scripting-related technology.

Ruby users weren't originally expected to make up a large part of the target audience, however a significant proportion of survey respondents indicated that they are regular Ruby users too, so I'd like to make sure other Ruby users are well-represented in my initial market research (as they may also be interested in the final product).

It's a very short survey and should take less than five minutes to complete.

FFI and so versioned files


is there any reason why the ffi library doesn't support loading
shared libraries with their versioned names?

currently on linux distributions that means installing the development
packages for the libraries. the python code for the nacl bindings e.g.
tries multiple version numbers in an attempt to load the correct
library which feels wrong as well.


Exposing rb_iseq_load as a ruby method?

RubyVM::InstructionSequence is great, it's great that you can compile code
and disassemble. But for my current project (which is currently a toy, but
this may have other useful applications), what I'd really like is to feed
an instruction sequence constructed in Ruby into the iseq assembler. On the
C level, such a function exists and it works, namely, rb_iseq_load, but
it's not exposed on the Ruby level.

Ruby biz Grand prix 2016


Ruby biz Grand prix will be held in this year.
The details are as follows:

Thank you for using Ruby.

We started invitation to the third contest “Ruby biz Grand prix 2017”.

This Grand prix is to make honorable recognition of services and
products that create innovative new values of the programing language
“Ruby” by utilizing it in the field of business.

Why don’t you advertise your business or services by applying for this
Grand prix?

We widely promote the matter with which you make application for the contest.

We are

async & async-io 1.0.0

Hello Friends,

I recently released async and async-io v1.0.0

<a href="" title=""></a>
<a href="" title=""></a>

- These gems provide zero-overhead syntax for asynchronous IO.
- Servers run inside a reactor task which can be started and stopped
- Very low overhead per IO operation.
- Scales to multiple CPU cores using containers
(<a href="" title=""></a>)
- Easy standardised testing using <a href="" title=""></a>

As already mentioned, there is DNS server available:
<a href="" title=""></a> and also a rack

Custom Leap Year Logic in DateTime, used when creating new objects as well

I stumbled upon this question on SO, and I found it very intriguing.
<a href="" title=""></a>

After spending some time to find a solution I had to give up, maybe someone
can shed some light on this.

The problem is this:

I'm working on a fantasy text-based adventure, using the Curse library, for

RubyKaigi "Ruby Committers vs the World" sponsored by Cookpad (travel support)

Hi ruby committers,

Cookpad Inc. is "Ruby Committers Sponsor" on RubyKaigi2017.

And we want to support Ruby committer's travel to attend RubyKaigi (only
transportation fee, no hotel rooms).

Unfortunately we don't have enough budget to invite all of committers
from outside of Japan. We can offer Japan domestic travel fee but not
sure flight tickets from foreign countries (depends on the number of
people who want to use this support).

* You are a commiter of MRI.

packetgen 2.1.0 released

packetgen 2.1.0 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,


### 2.1.0 / 2017-08-15

* Add support for GRE protocol.
* Types::Fields.define_field takes a new option +optional+ to make a
field optional in a header.
* Fix 2 bugs:
* Packet#to_f raised unconditionally.

packetgen 2.0.1 released

packetgen 2.0.1 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,


### 2.0.1 / 2017-08-13

* Fix 2 bugs:
* Trap-PDU (trapv1) was commented in choice (Header::SNMP::PDUs class).
* SetRequest-PDU was defined with 0 implicit tag, instead of 3.

Unsubscribe: <mailto:ruby-talk-re

Active Record

I'm trying to develop a small database application using Ruby 2.3.1, the
gem activerecord- (part of the Ruby package), and the sql3 database
system that comes with the Mac (I don't want to use Rails, only active

The beginning of the program goes like this:

require 'sqlite3'
require 'active_record'

db_config = {
'adapter' => 'sqlite3',
'database' => 'test.db'


In RubyMine, I get all kinds of warning that don't mean much to me, and I'm
not going anywhere.

Question: How do I put together a simple database project

packetgen 2.0.0 released

packetgen 2.0.0 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,


### 2.0.0 / 2017-08-11

* add Header::ASN1Base as a base class for ASN.1-defined protocols (new
dependency: rasn1 gem)
* add support for SNMP and IKE protocols
* remove deprecated Packet::Capture#initialize API

rasn1 0.3.1 released

rasn1 0.3.1 has been released.

* home: <>
* bugs: <>
* doc: <>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

Syndicate content