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

num.coerce(numeric) → array

14 messages 2011/08/02

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

= Issues =

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> wrote:

[#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:

[#386409] Re: *WHY* does this not work? — Jonathan Nielsen <jonathan@...> 2011/08/09

On Tue, Aug 9, 2011 at 1:11 PM, serialhex <serialhex@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 bug:

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

Re: unable to install rdiscount

From: Jon Forums <jon.forums@...>
Date: 2011-08-23 14:53:43 UTC
List: ruby-talk #386976
Arti Singh wrote in post #1017945:
> I got the error below despite  when installing rdiscount having devkit
> inatalled and the
> config.yamil pointing to the root of the ruby directory. I tried
> installing it in jruby as well as ruby
> Does anyone know any work arounds that i can try?

I'm guessing you found my JRuby + C extensions post at
http://jonforums.github.com/ruby/2010/11/30/devkit-jruby-c-extensions.html
and tried the quick smoke test with rdiscount.

More importantly, do you _really_ need to use rdiscount with JRuby for
your markdown support? If not, check out whether pure Ruby gems like
http://rubygems.org/gems/maruku or http://rubygems.org/gems/kramdown
work for you.

Bottom line: save yourself time and move on to more interesting things
by using a pure Ruby gem like...

C:\>jruby -rubygems -e "require 'kramdown';puts
Kramdown::Document.new('**Hello JRuby**').to_html"
<p><strong>Hello JRuby</strong></p>

Still here? Beasties lie below with the result that JRuby + rdiscount no
longer works for me.

Still here?!??

It's difficult for people to tell what the problem is because you didn't
provide enough information. In the future, please provide details such
as the Windows OS version (eg - Win7, 32bit or 64bit, etc), the output
from running `jgem env`, your DevKit `config.yml` file, etc.

That said, I suspect you've run into a few problems:

>      C:/selenium/jruby-1.6.3/bin/jruby.exe extconf.rb
> WARNING: JRuby does not support native extensions or the `mkmf' library
> very well.
> Check http://kenai.com/projects/jruby/pages/Home for alternatives.

It appears you didn't install the DevKit (a 32bit toolchain) artifacts
into your JRuby. After editing your config.yml file, you need to run
`ruby dk.rb install` (you may need to run `jruby dk.rb install). For
reference my config.yml contains this at the bottom; it's important to
use forward-slashes.

# Example:
#
# ---
# - C:/ruby19trunk
# - C:/ruby192dev
#
---
- C:/ruby19trunk
- C:/ruby193
- C:/ruby192
- C:/ruby187
- C:/jruby
- C:/Users/Jon/Documents/JavaDev/jruby-git



> checking for random()... no
> checking for srandom()... no
> checking for rand()...
> make
> gcc -I. -I. -IC:/selenium/jruby-1.6.3/lib/native/include/ruby -I.
> -DHAVE_RAND -D
> HAVE_SRAND        -fno-omit-frame-pointer -fno-strict-aliasing
> -fexceptions
> -m64 -march=native -mtune=native -c basename.c
> basename.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
> make: *** [basename.o] Error 1

You're running Windows 64bit? What version?

In my JRuby 1.6.3 download (jruby-bin-1.6.3.tar.gz) I only see the 32bit
version of the DLL (lib/native/i386-Windows/jruby-cext.dll) required for
interfacing with native C extensions, but no 64bit version in
lib/native/x86_64-Windows. Even if there was a 64bit jruby-cext.dll
version, I think you'll run into problems as the only DevKit we
currently make available is a 32bit version.

But if you're running a 32bit Windows, here's what I did to install
rdisount on my Win7 Ultimate 32bit after installing the DevKit artifacts
into my JRuby:

C:\DevKit>jruby --version
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM)
Client VM 1.7.0) [Windows 7-x86-java]

C:\DevKit>gem --version
1.8.8

C:\DevKit>gem list rdiscount

*** LOCAL GEMS ***


C:\DevKit>gem install rdiscount
Fetching: rdiscount-1.6.8.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed rdiscount-1.6.8
1 gem installed

But something's changed and it doesn't seem to work anymore :(

C:\>jruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello
JRuby**').to_html"
LoadError: load error: rdiscount -- java.lang.UnsatisfiedLinkError:
failed to load shim library, error: The operation completed
successfully.

  require at org/jruby/RubyKernel.java:1038
  require at
C:/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
   (root) at
C:/jruby/lib/ruby/gems/1.8/gems/rdiscount-1.6.8/lib/rdiscount.rb:96
  require at org/jruby/RubyKernel.java:1038
  require at
C:/jruby/lib/ruby/gems/1.8/gems/rdiscount-1.6.8/lib/rdiscount.rb:59
   (root) at -e:1

If you've reached this point and are still interested, I suggest you
take this issue over to the JRuby list at
https://github.com/jruby/jruby/wiki/MailingLists

Good luck!

Jon

---
blog: http://jonforums.github.com/
twitter: @jonforums

"Anyone who can only think of one way to spell a word obviously lacks
imagination." - Mark Twain

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

In This Thread

Prev Next