ruby_threadptr_data_type error

后端 未结 5 2320
不思量自难忘°
不思量自难忘° 2020-12-06 10:50

I\'m starting up a new rails app with the latest version of rails (3.1.3). Rails crashes when I try to start up the server. First I fixed this bug, and now I\'m getting thi

5条回答
  •  盖世英雄少女心
    2020-12-06 10:57

    It's repost from this

    I also ran into this, and found the solution in Ruby 1.9.3 and ruby-debug. You need to install not-yet-officially-released versions of ruby-debug-base19 and linecache19. The currently released versions indeed cause the exception you had.

    Use this gist.

    #To install ruby-debug on Ubuntu ruby-1.9.3 you need to download from http://rubyforge.org/frs/?group_id=8883
    
    linecache19-0.5.13.gem 
    ruby_core_source-0.1.5.gem 
    ruby-debug19-0.11.6.gem 
    ruby-debug-base19-0.11.26.gem
    
    #Then in your console
    
    export RVM_SRC=/your/path/to/ruby-1.9.3
    # Note, your source path should be something like /home/user/.rvm/src/ruby-1.9.3-p0
    
    gem install archive-tar-minitar
    gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RVM_SRC
    gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC
    gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/$RVM_SRC
    

    I tried it and it's work!

    This is solve of our problems.

提交回复
热议问题