[#376274] Best Linux Distro for Ruby? — Nick Hird <boondox@...>

What are some of the better linux distro's for ruby development? I know

15 messages 2011/01/02

[#376329] Is singleton class of an object already created? — Samnang Chhun <samnang.chhun@...>

I would like to know is there any ways to check is singleton class of an

12 messages 2011/01/04

[#376333] Threading in ruby — "Vishnu I." <pathsny@...>

Hi

13 messages 2011/01/04
[#376335] Re: Threading in ruby — Robert Klemme <shortcutter@...> 2011/01/04

On Tue, Jan 4, 2011 at 8:41 AM, Vishnu I. <pathsny@gmail.com> wrote:

[#376339] ripl - an irb alternative - 0.3.0 released — ghorner <gabriel.horner@...>

ripl, a light modular alternative to irb, has reached 0.3.0. ripl

32 messages 2011/01/04

[#376382] Class Initialization? — Kedar Mhaswade <kedar.mhaswade@...>

I have a class and two class methods: self.encode and self.decode. The

14 messages 2011/01/05
[#376385] Re: Class Initialization? — Andrew Wagner <wagner.andrew@...> 2011/01/05

On Wed, Jan 5, 2011 at 9:33 AM, Kedar Mhaswade <kedar.mhaswade@gmail.com>wrote:

[#376388] Petition to add Metasploit Project as Ruby success story — Christian Kirsch <Christian_Kirsch@...7.com>

I noticed the Ruby success stories on the Ruby website. I would like to mak=

10 messages 2011/01/05

[#376453] Block variable - How is it read in English? — SW Engineer <abder.rahman.ali@...>

Following the "Ruby on Rails Tutorial", and under section "6.1.1

16 messages 2011/01/06

[#376574] Best way for Array#find+transform ? — "Jonas Pfenniger (zimbatm)" <jonas@...>

There is a pattern that I'm using quite regularly, but I'm not

17 messages 2011/01/08
[#376575] Re: Best way for Array#find+transform ? — Anurag Priyam <anurag08priyam@...> 2011/01/08

> I know I can come up with a new method on Array that would shorten this t=

[#376576] Re: Best way for Array#find+transform ? — Anurag Priyam <anurag08priyam@...> 2011/01/08

> paths.map{|path| File.join(path, filename)}.select{|name| File.exist?(path)}

[#376577] Re: Best way for Array#find+transform ? — "Jonas Pfenniger (zimbatm)" <jonas@...> 2011/01/09

2011/1/8 Anurag Priyam <anurag08priyam@gmail.com>:

[#376579] Re: Best way for Array#find+transform ? — David J. Hamilton <groups@...> 2011/01/09

Excerpts from Jonas Pfenniger (zimbatm)'s message of Sat Jan 08 16:05:05 -0800 2011:

[#376586] Re: Best way for Array#find+transform ? — "Jonas Pfenniger (zimbatm)" <jonas@...> 2011/01/09

2011/1/9 David J. Hamilton <groups@hjdivad.com>:

[#376606] Re: Best way for Array#find+transform ? — David J. Hamilton <groups@...> 2011/01/10

Excerpts from Jonas Pfenniger (zimbatm)'s message of Sun Jan 09 04:08:10 -0800 2011:

[#376680] Parallel Assignments and Elegance/Complexity Ratio. — Kedar Mhaswade <kedar.mhaswade@...>

In SICP, I read that "Programs should be written for people to read, and

15 messages 2011/01/11
[#376697] Re: Parallel Assignments and Elegance/Complexity Ratio. — Josh Cheek <josh.cheek@...> 2011/01/11

On Tue, Jan 11, 2011 at 8:29 AM, Kedar Mhaswade <kedar.mhaswade@gmail.com>wrote:

[#376682] JRuby 1.6.0.RC1 released — Thomas E Enebo <tom.enebo@...>

The JRuby community is pleased to announce the release of JRuby 1.6.0.RC1.

14 messages 2011/01/11

[#376744] Case statements - Just beautification — flebber <flebber.crue@...>

I just want to clarify case statements the name after the word case is

10 messages 2011/01/12

[#376792] Ruby is interpreted and scripting language? — Sai Babu <sateesh.mca09@...>

I am ruby fresher.

16 messages 2011/01/13

[#376855] Retrieving and copying element from array — Simon Harrison <simon@...>

If I have an array like this:

11 messages 2011/01/13

[#376898] What are your ruby rough cuts ? — "Jonas Pfenniger (zimbatm)" <jonas@...>

Hi rubyists,

32 messages 2011/01/14
[#376930] Re: [poll] What are your ruby rough cuts ? — David Masover <ninja@...> 2011/01/15

On Friday, January 14, 2011 07:34:04 am Jonas Pfenniger (zimbatm) wrote:

[#376937] Re: What are your ruby rough cuts ? — Joseph Lenton <jl235@...> 2011/01/15

David Masover wrote in post #975080:

[#376959] Why Quby? (was Re: What are your ruby rough cuts ?) — David Masover <ninja@...> 2011/01/15

On Saturday, January 15, 2011 04:42:58 am Joseph Lenton wrote:

[#377020] Obscure syntax error — Rolf Timmermans <molfie@...>

Hi all,

16 messages 2011/01/17

[#377052] Calling by Reference - Two Questions — Mike Stephens <rubfor@...>

I know I'm not the first person to get stumped by how to get Ruby to

15 messages 2011/01/18

[#377072] The most recommended way of naming methods in Ruby — Edmond Kachale <edmond.kachale@...>

Rubists,

14 messages 2011/01/18
[#377082] Re: The most recommended way of naming methods in Ruby — Phillip Gawlowski <cmdjackryan@...> 2011/01/18

On Tue, Jan 18, 2011 at 9:16 AM, Edmond Kachale

[#377121] Improving performance of hash math — dblock <dblockdotorg@...>

I am trying to improve performance of Euclidian distance between two

13 messages 2011/01/19

[#377226] Totally lost in learning Ruby — Hilary Bailey <my77elephants@...>

This is my second attempt to understand Ruby. I completely read 1)

61 messages 2011/01/21
[#378239] Re: Totally lost in learning Ruby — Hilary Bailey <my77elephants@...> 2011/02/08

Hi everybody,

[#378246] Re: Totally lost in learning Ruby — Robert Klemme <shortcutter@...> 2011/02/08

On Tue, Feb 8, 2011 at 3:16 AM, Hilary Bailey <my77elephants@gmail.com> wro=

[#377236] using gems installed via 'sudo gem install' — "Piotr S." <thisredoned@...>

I've installed ruby-opengl through sudo gem install because there were

15 messages 2011/01/21

[#377362] pg gem 0.10.1 wth Ruby 1.9.2 does not work with method @pg_conn.exec_prepared(stmt_name, parameters) — Zeno Davatz <zdavatz@...>

Hi

9 messages 2011/01/24

[#377388] The finer points of postfix conditionals. — Jon Leighton <j@...>

Hi,

13 messages 2011/01/24

[#377411] Obtain data from .csv — Kamarulnizam Rahim <niezam54@...>

Sample of .csv file:

19 messages 2011/01/25

[#377609] why is overloading invalid in ruby. — Ted Flethuseo <flethuseo@...>

I don't understand why when I try to overload I get an error. Can I

36 messages 2011/01/27

[#377645] If you had the choice between Ruby & Groovy — Noah Cutler <sit1way@...>

Hey All.

15 messages 2011/01/28

[#377650] IDE? — <johan.tempelman@...>

Hi,

13 messages 2011/01/28

[#377703] Zlib::GzipReader and multiple compressed blobs in a single stream — Jos Backus <jos@...>

Hi,

11 messages 2011/01/28

[#377761] New to programming AND new to Ruby — "Cassandra K." <cassandra.k@...>

Hello. I am trying to teach myself Ruby. I have no background in

13 messages 2011/01/31

[#377785] 2011: Which Ruby books have you read? And which would you recommend? — "Aston J." <azzzz@...>

I know there are a lot of threads about books, but some of them are as

16 messages 2011/01/31

[#377800] How to know the exit status within at_exit() block? — Iñaki Baz Castillo <ibc@...>

Hi, my program invokes "exit true" or "exit false" and I want to catch

17 messages 2011/01/31

There has been an error while running make. Halting the installation.

From: John Merlino <stoicism1@...>
Date: 2011-01-01 18:49:27 UTC
List: ruby-talk #376265
In my quest to upgrade to Rails 3 on Mac 0S 10.6.2, I did the following:

1) Installed RVM via terminal:

 bash < <( curl
http://rvm.beginrescueend.com/releases/rvm-install-latest bash )

version=3D$(curl
http://rvm.beginrescueend.com/releases/stable-version.txt);

mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O
http://rvm.beginrescueend.com/releases/rvm-${version}.tar.gz | tar zxf -
&& cd rvm-${version} && ./install

Updating the .bash_profile and added the below line of text:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

Then I type:

rvm install 1.9.2

And I am greeted with this:
Error running 'make ', please read
/Users/jmerlino/.rvm/log/ruby-1.9.2-p136/make.log
There has been an error while running make. Halting the installation.

Some of what error says:

-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509attr.o -c ossl_x509attr.c
ossl_x509attr.c: In function =E2=80=98ossl_x509attr_get_value=E2=80=99:
ossl_x509attr.c:218: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509attr.c:218: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509attr.c:228: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509attr.c:228: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509cert.o -c ossl_x509cert.c
ossl_x509cert.c: In function =E2=80=98ossl_x509_to_der=E2=80=99:
ossl_x509cert.c:198: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509cert.c:198: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509crl.o -c ossl_x509crl.c
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509ext.o -c ossl_x509ext.c
ossl_x509ext.c: In function =E2=80=98ossl_x509ext_set_value=E2=80=99:
ossl_x509ext.c:331: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509ext.c: In function =E2=80=98ossl_x509ext_to_der=E2=80=99:
ossl_x509ext.c:418: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509ext.c:418: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509name.o -c ossl_x509name.c
ossl_x509name.c: In function =E2=80=98ossl_x509name_add_entry=E2=80=99:
ossl_x509name.c:170: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509name.c: In function =E2=80=98ossl_x509name_to_der=E2=80=99:
ossl_x509name.c:328: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509name.c:328: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509name.c: In function =E2=80=98Init_ossl_x509name=E2=80=99:
ossl_x509name.c:341: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509req.o -c ossl_x509req.c
ossl_x509req.c: In function =E2=80=98ossl_x509req_to_der=E2=80=99:
ossl_x509req.c:179: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509req.c:179: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509revoked.o -c ossl_x509revoked.c
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/openssl -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o ossl_x509store.o -c ossl_x509store.c
ossl_x509store.c: In function =E2=80=98ossl_x509store_set_purpose=E2=80=99=
:
ossl_x509store.c:176: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509store.c: In function =E2=80=98ossl_x509store_set_trust=E2=80=99:=

ossl_x509store.c:192: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509store.c: In function =E2=80=98ossl_x509stctx_set_purpose=E2=80=99=
:
ossl_x509store.c:543: warning: implicit conversion shortens 64-bit value
into a 32-bit value
ossl_x509store.c: In function =E2=80=98ossl_x509stctx_set_trust=E2=80=99:=

ossl_x509store.c:555: warning: implicit conversion shortens 64-bit value
into a 32-bit value
gcc -dynamic -bundle -o ../../.ext/x86_64-darwin10.2.0/openssl.bundle
openssl_missing.o ossl.o ossl_asn1.o ossl_bio.o ossl_bn.o ossl_cipher.o
ossl_config.o ossl_digest.o ossl_engine.o ossl_hmac.o ossl_ns_spki.o
ossl_ocsp.o ossl_pkcs12.o ossl_pkcs5.o ossl_pkcs7.o ossl_pkey.o
ossl_pkey_dh.o ossl_pkey_dsa.o ossl_pkey_ec.o ossl_pkey_rsa.o
ossl_rand.o ossl_ssl.o ossl_ssl_session.o ossl_x509.o ossl_x509attr.o
ossl_x509cert.o ossl_x509crl.o ossl_x509ext.o ossl_x509name.o
ossl_x509req.o ossl_x509revoked.o ossl_x509store.o -L. -L../.. -L.
-L/usr/local/lib -Wl,-undefined,dynamic_lookup
-Wl,-multiply_defined,suppress -Wl,-flat_namespace  -lruby.1.9.1 -lssl
-lcrypto  -lpthread -ldl -lobjc
mkdir -p ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/buffering.rb
../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl-internal.rb
../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509-internal.rb
../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
compiling psych
yaml.h is missing. Please install libyaml.
compiling pty
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/pty -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o pty.o -c pty.c
gcc -dynamic -bundle -o ../../.ext/x86_64-darwin10.2.0/pty.bundle pty.o
-L. -L../.. -L. -L/usr/local/lib -Wl,-undefined,dynamic_lookup
-Wl,-multiply_defined,suppress -Wl,-flat_namespace  -lruby.1.9.1 -lutil
-lpthread -ldl -lobjc
cp ../.././ext/pty/lib/expect.rb ../../.ext/common
compiling racc/cparse
mkdir -p ../../../.ext/x86_64-darwin10.2.0/racc
gcc -I. -I../../../.ext/include/x86_64-darwin10.2.0 -I../../.././include
-I../../.././ext/racc/cparse -DRUBY_EXTCONF_H=3D\"extconf.h\"
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o cparse.o -c cparse.c
gcc -dynamic -bundle -o
../../../.ext/x86_64-darwin10.2.0/racc/cparse.bundle cparse.o -L.
-L../../.. -L. -L/usr/local/lib -Wl,-undefined,dynamic_lookup
-Wl,-multiply_defined,suppress -Wl,-flat_namespace  -lruby.1.9.1
-lpthread -ldl -lobjc
compiling readline
gcc -I. -I../../.ext/include/x86_64-darwin10.2.0 -I../.././include
-I../.././ext/readline -DRUBY_EXTCONF_H=3D\"extconf.h\" -D_XOPEN_SOURCE
-D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe  -o readline.o -c readline.c
readline.c: In function =E2=80=98username_completion_proc_call=E2=80=99:
readline.c:1292: error: =E2=80=98username_completion_function=E2=80=99 un=
declared (first
use in this function)
readline.c:1292: error: (Each undeclared identifier is reported only
once
readline.c:1292: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [mkmain.sh] Error 1

Thanks for response.

-- =

Posted via http://www.ruby-forum.com/.=

In This Thread

Prev Next