after upgrade: can't dup Fixnum

Discussion in 'Ruby' started by Ferenc Engard, Aug 27, 2004.

  1. Hi all,

    I have upgraded to ruby 1.8.2 (2004-08-24) [i386-linux], the former
    version was (maybe) 1.8.1. After that, my app gave the error above.

    Is this change is intentional? Or a bug? Should I make a workaround?

    In fact, the offending script was the 'tcltkextlib.rb', the following
    line:

    def _load_shared_lib (lib_name, libbin_path, libtcl_path)
    search_path = (libtcl_path)? libtcl_path.dup: []
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    I have no idea how could be libtcl_path be a fixnum...

    Bye,
    Ferenc
     
    Ferenc Engard, Aug 27, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. François Beausoleil

    :s.respond_to?(:dup) && :s.dup raises

    François Beausoleil, Apr 5, 2007, in forum: Ruby
    Replies:
    1
    Views:
    117
    Tim Hunter
    Apr 5, 2007
  2. Martin Thiede
    Replies:
    0
    Views:
    116
    Martin Thiede
    Feb 14, 2009
  3. Heesob Park

    Why Fixnum===Fixnum is false?

    Heesob Park, May 13, 2009, in forum: Ruby
    Replies:
    5
    Views:
    139
    Joel VanderWerf
    May 14, 2009
  4. MaggotChild
    Replies:
    6
    Views:
    152
    MaggotChild
    Dec 2, 2009
  5. Luka Stolyarov
    Replies:
    10
    Views:
    313
    Thomas Sondergaard
    Sep 11, 2010
Loading...

Share This Page