ruby-1.9
Why is YAML.load returning the wrong numeric value?
Why is YAML.load returning the wrong value? ruby-1.9.2-p0 :006 > a = YAML.load开发者_如何学Go(\'merchant_id: 014213245611111\')[详细]
2023-02-15 06:16 分类:问答ruby-1.9.2-head gem usage issues
I\'ve been having difficulty with running gem commands with ruby 1.9.x and any version of rubygems.I\'ve been using rvm to handle all the installation of ruby and rubygems, but I can\'t seem to isolat[详细]
2023-02-14 21:24 分类:问答Hpricot encodings in ruby 1.9
I have a rails3 application running on ruby 1.9 here, and Im having some pain making encodings work. My task was to open a remote html page, and parse some information from it.[详细]
2023-02-05 01:31 分类:问答I'm running a Rails 2.3.4 app and am wondering if i should upgrade to 3.0?
i am developing a app and have been for a 开发者_如何学JAVAwhile using Rails 2.3.4 but I\'m wondering if i should try to update, or keep waiting, never upgrade, i suppose I have a couple options.[详细]
2023-02-03 10:52 分类:问答How to install ruby-audio on Windows?
I\'m trying to install the ruby-audio gem from warhammerkid onto Windows 7x64 with Ruby 1.9.1 (DevKit installed). Installing libsndfile x64 put files into C:\\Program Files\\Mega-Nerd\\libsndfile (lib[详细]
2023-01-29 13:57 分类:问答Why does the ?a command in ruby 1.9.2 does not return ASCII code
When you do ?a in ruby 1.8.7 you used to get the ASCII c开发者_JS百科haracter of \'a\' in ruby 1.9.2 this code returns[详细]
2023-01-29 13:32 分类:问答How to fix rails 3.0.1 on Netbeans 6.9.1 for Ruby 1.9.2
I have Mac os 10.5.8 and Ruby 1.9.2p0, Rails 3.0.1, Netbeans 6.9.1 installed. When i run the project by creating it from existing source code, it says[详细]
2023-01-29 09:36 分类:问答Mac snow leopard: ruby version kept coming back to 1.8.7
I installed ruby 1.9.2 and checked with ruby -v and it was fine (1.9.2) but after I restarted my computer after terminal somehow stopped responding, ruby switched back to 1.8.7. This has happened befo[详细]
2023-01-28 04:49 分类:问答How do I reference a function in Ruby?
In python, it\'s fairly straightforward to referen开发者_StackOverflow中文版ce a function: >>> def foo():[详细]
2023-01-27 11:08 分类:问答Why does Ruby 1.9.2 blow up with a JSON gem dependency?
I am having issues with the JSON gem and Ruby 1.9.2. I am upgrading to Rails 3.0.3 and whenever I try to boot the environment it blows up. This is from a empty test project with only JSON gem 1.4.6 as[详细]
2023-01-26 20:55 分类:问答