[#386100] Numeric#coerce docs are disaster — 7stud -- <bbxx789_05ss@...>

num.coerce(numeric) =E2=86=92 array

14 messages 2011/08/02

[#386114] Documentation Improvement Proposal — Chris White <cwprogram@...>

=3D Issues =3D

24 messages 2011/08/02
[#386115] Re: Documentation Improvement Proposal — Steve Klabnik <steve@...> 2011/08/02

I reeeeeealy dislike user comments on documentation. It's one of the

[#386117] Re: Documentation Improvement Proposal — Phillip Gawlowski <cmdjackryan@...> 2011/08/02

On Tue, Aug 2, 2011 at 7:39 PM, Steve Klabnik <steve@steveklabnik.com> wrot=

[#386118] Re: Documentation Improvement Proposal — Steve Klabnik <steve@...> 2011/08/02

> What's wrong with stealing WikiPedia's procedures? The model works

[#386119] Re: Documentation Improvement Proposal — Chris White <cwprogram@...> 2011/08/02

On Aug 2, 2011, at 11:00 AM, Steve Klabnik wrote:

[#386123] Re: Documentation Improvement Proposal — Steve Klabnik <steve@...> 2011/08/02

Apologies, I've just responded to everyone in-line.

[#386231] Brainstorming ideas how to improve Ruby's documentation — Marc Heiler <shevegen@...>

The title is misleading...

42 messages 2011/08/05
[#386233] Re: Brainstorming ideas how to improve Ruby's documentation — "Fred L." <f.linard@...> 2011/08/05

Hello,

[#386235] Re: Brainstorming ideas how to improve Ruby's documentation — Alexander Litvinovsky <alexander.litvinovsky@...> 2011/08/05

What are you talking about? Ruby has a nice docs, railsapi.com for example.

[#386297] Help out with the next version of ruby-lang.org — Magnus Holm <judofyr@...>

https://github.com/rubylang/ruby-lang.org

11 messages 2011/08/07

[#386341] Exceptional Ruby and Metaprogramming Ruby has anyone picked these up? — Kevin <darkintent@...>

I'm thinking of picking up these two books and was wondering if anyone

11 messages 2011/08/09

[#386378] ruby installation — "Momodou J." <modou75alieu@...>

how to implement this in windows :

16 messages 2011/08/09

[#386401] *WHY* does this not work? — serialhex <serialhex@...>

ok, so code:

23 messages 2011/08/09
[#386403] Re: *WHY* does this not work? — "Darryl L. Pierce" <mcpierce@...> 2011/08/09

On Wed, Aug 10, 2011 at 03:52:59AM +0900, serialhex wrote:

[#386404] Re: *WHY* does this not work? — serialhex <serialhex@...> 2011/08/09

On Tue, Aug 9, 2011 at 3:05 PM, Darryl L. Pierce <mcpierce@gmail.com> wrote:

[#386480] Odd regexp behavior — Glen Holcomb <damnbigman@...>

I'm running 1.9.2-p180

16 messages 2011/08/10

[#386506] Distributing Ruby program as a standalone executable (exe) for windows — Michelle Pace <michelle@...>

Hello there,

10 messages 2011/08/11

[#386539] Online tutor for Ruby — T J Pereira <tj5155@...>

I am finding it difficult to apply the RUBY program. Its because i have

18 messages 2011/08/12
[#386541] Re: Online tutor for Ruby — Phillip Gawlowski <cmdjackryan@...> 2011/08/12

On Fri, Aug 12, 2011 at 6:00 AM, T J Pereira <tj5155@tm.net.my> wrote:

[#386637] class inheritance and class constants — Iñaki Baz Castillo <ibc@...>

------------------------

16 messages 2011/08/14

[#386784] Green Shoes v1.0 released — ashbb <ashbbb@...>

Hello, everyone.

15 messages 2011/08/18
[#392062] Re: Green Shoes v1.0 released — Barry Yu <yubarry@...> 2012/01/09

why do I get this error?

[#386796] Searching in a directory — Yu Yu <htwoo@...>

Hello,

21 messages 2011/08/18

[#386893] Gritty Details of super() — luke gruber <luke.gru@...>

Hey guys,

18 messages 2011/08/21

[#386900] Possble bug in Ruby parser (Fixnum#times within "case" statement) — Iñaki Baz Castillo <ibc@...>

Hi, I cannot find an explanation for the following issue so I think it's a =

15 messages 2011/08/21
[#386901] Re: Possble bug in Ruby parser (Fixnum#times within "case" statement) — Ryan Davis <ryand-ruby@...> 2011/08/21

[#386903] Re: Possble bug in Ruby parser (Fixnum#times within "case" statement) — Iñaki Baz Castillo <ibc@...> 2011/08/21

2011/8/22 Ryan Davis <ryand-ruby@zenspider.com>:

[#386920] New to Ruby some problems — jack jones <shehio_22@...>

I am new to Ruby, My mother tongue is C++ .. I have too many problems I

21 messages 2011/08/22

[#386949] Want to get involved with this doc stuff? I'm making it even easier — Steve Klabnik <steve@...>

Hey guys-

9 messages 2011/08/22

[#387058] How the access the values of this result — QAS WM <qaiserwali@...>

I am getting the following as a result of a script I run.

11 messages 2011/08/26

[#387070] overloading methods question please? — jack jones <shehio_22@...>

def do_something(a as Array)

11 messages 2011/08/26

[#387138] String#split resets regex captures variables (Ruby 1.8.7) — Olivier Lance <bestiol@...>

Hi,

10 messages 2011/08/29

[#387196] SAMSUNG to produce "Ruby on Rails in Silicon" System on a Chip — Ilias Lazaridis <ilias@...>

(public draft)

9 messages 2011/08/31

[#387197] Prepend a character to a string in ruby — ruby rails <rubyonrails4me@...>

Hi,

10 messages 2011/08/31

[#387212] GUI programming — Samuel Mensah <sasogeek@...>

Is ruby GUI programming something that will come along as I study ruby

19 messages 2011/08/31
[#387230] Re: GUI programming — Alexey Petrushin <axyd80@...> 2011/08/31

I believe right now it's better to stay with console, there's no Ruby

Trouble installing rubywmq under AIX

From: Ruby Student <ruby.student@...>
Date: 2011-08-31 19:46:57 UTC
List: ruby-talk #387226
Hello Team,

I am experiencing a problem instally a ruby gem, rubywmq under the IBM UNIX
flavor, AIX.
To start, let me give you all the details of my platform.

*****************************************************************************************
# ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [powerpc-aix6.1.3.0]

# gem -v
1.8.5

# oslevel
AIX 6.1.3.0

Architecture = 64 bits
*****************************************************************************************
I know what the problem is, but I don't know how to fix it so it will
complete and build the gem.
The first issue is that the script, *build.sh*, assumes that my version of
UNIX, which is AIX, uses */opt/mqm* for the installation of wmq. In AIX the
default location for wmq is */usr/mqm*.
This is what's in the script: *ruby extconf.rb
--with-mqm-include=/opt/mqm/inc --with-mqm-lib=/opt/mqm/lib*

Also, the config file, *extconf.rb*, points to */opt*
I changed */opt* to */usr* and *./lib* to *./lib64*.
I also changed the *extconf_client.rb* to reflect */usr* and *./lib64*.

I then proceed to manually execute the *build.sh* script and this time it
goes a bit further, but then it crashes again.

These are the new errors:

# *./build.sh *
checking for cmqc.h... yes
checking for main() in -lmqm... yes
Generated wmq_reason.c
Generated wmq_const_admin.rb
Generated wmq_const.rb
Generated wmq_structs.c
creating Makefile
        gcc -I. -I/usr/local/include/ruby-1.9.1/powerpc-aix6.1.3.0
-I/usr/local/include/ruby-1.9.1/ruby/backward
-I/usr/local/include/ruby-1.9.1 -I. -DHAVE_CMQC_H  -D_LARGE_FILES=1  -O3 -g
-Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
-Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -o
wmq_mq_load.o -c wmq_mq_load.c
wmq_mq_load.c: In function 'Queue_manager_mq_free':
wmq_mq_load.c:214: error: 'MQ_RELEASE' undeclared (first use in this
function)
wmq_mq_load.c:214: error: (Each undeclared identifier is reported only once
wmq_mq_load.c:214: error: for each function it appears in.)
wmq_mq_load.c:215: error: expected ';' before 'pqm'
make: 1254-004 The error code from the last command is 1.


Stop.

I know that I am very close, but, not close enough.
Any help is greatly appreciated.

*************************************** The following was the original
errors when running the gem install **********************************
# *gem install rubywmq*
Building native extensions.  This could take a while...
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:48: warning:
Insecure world writable dir /usr/local/bin in PATH, mode 0240777
ERROR:  Error installing rubywmq:
        ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby extconf.rb
checking for cmqc.h... yes
checking for main() in -lmqm... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/ruby
        --with-mqmlib
        --without-mqmlib
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:6:in
`initialize': No such file or directory - /opt/mqm/inc/cmqc.h
(Errno::ENOENT)
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:6:in
`open'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:6:in
`extract_const'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:26:in
`reason_case'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:84:in
`block in wmq_reason'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:82:in
`each'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:82:in
`wmq_reason'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:237:in
`block in generate'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:237:in
`open'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/generate/generate_reason.rb:237:in
`generate'
        from extconf.rb:39:in `<main>'


Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.1.1/ext/gem_make.out

Thank you

In This Thread

Prev Next