ruby-1.9
Infamous 'byte sequence" error with local install of gitorious on Ruby 1.9.1
I am trying to install gitorious on my personal server but I am not very familiar with Ruby or the frameworks and scripts involved in getting to the finish line.[详细]
2023-01-17 02:54 分类:问答Reading ASCII-encoded files with Ruby 1.9 in a UTF-8 environment
I just upgraded from Ruby 1.8 to 1.9, and most of my text processing scripts now fail with the error invalid byte sequence in UTF-8. I need to either strip out 开发者_StackOverflow社区the invalid char[详细]
2023-01-15 08:27 分类:问答Can't find OpenSSL headers/libs when installing Ruby1.9 from source
I\'m trying to install Ruby 1.9 from source, and I can\'t seem to get it to figure out where the OpenSSL headers and libraries are located. ruby-1.9.2/ex开发者_JS百科t/openssl/extconf.rb says it can\'[详细]
2023-01-14 20:14 分类:问答RVM 1.0.2 fails to build ruby 1.9.2
This fails every time. I ran rvm remove 1.9.2 and then rvm install 1.9.2. The error looks like this: info: Applying patch \'\' (located at /)[详细]
2023-01-14 17:47 分类:问答Failed to build iconv gem on ruby 1.9.2
I fail to install the \'iconv\' gem, because of weird build errors. I have build the \'libiconv\' from source and linked the .h and .dylib into the rvm\'s include and lib directory.[详细]
2023-01-14 15:02 分类:问答How can I choose Ruby version on Heroku?
I use Ruby 1.9.x syntax in my Rails 3 app, but after pushi开发者_Go百科ng it to Heroku it crashes due to older Ruby version (1.8). How can I control it?Heroku\'s current stack, Cedar, uses 1.9.2 by de[详细]
2023-01-14 03:08 分类:问答Installed ruby-1.9 (rvm) and rails 3, mongrel or thin uses system ruby
I am using rvm rvm list rvm rubies jruby-1.5.0 [ i386-java ] jruby-1.5.1 [ i386-java ] ruby-1.8.7-p299 [ i386 ][详细]
2023-01-12 04:30 分类:问答Append row to csv file Ruby 1.9 CSV lib
Using Ruby 1.9开发者_StackOverflow and CSV lib, I can\'t seem to append a row.The example in the documentation opens the file, and overwrites the row. What is the correct way to append rows to the doc[详细]
2023-01-11 20:03 分类:问答Ruby 1.9 Regex Lookbehind Assertion & Anchors
Ruby 1.9 regex supports lookbehind assertion but I seem to have difficulty when passing anchors in the pattern. When anchors are passed in the lookahead assertion it runs just fine.[详细]
2023-01-09 18:21 分类:问答How to deal with 'incompatible character encodings: ASCII-8BIT and GBK' exception?
I am reading \'Agile Web Development with Rails.3rd\'. When finishing the depot application, I input some Chinese character as user name. But I got this error, it seems this has something to do with R[详细]
2023-01-09 07:49 分类:问答