Top "Ruby-1.9" questions

Ruby 1.9 is a shortcut for ruby versions 1.9.1, 1.9.2 and 1.9.3. Ruby is a dynamic language that focuses on simplicity and expressiveness.

invalid multibyte char (US-ASCII) with Rails and Ruby 1.9

I'm using Ruby 1.9.1 with Rails 2.3.4 My application is to handle text input If I try something like (the inside quotation …

ruby-on-rails ruby-1.9
Ruby: require vs require_relative - best practice to workaround running in both Ruby <1.9.2 and >=1.9.2

What is the best practice if I want to require a relative file in Ruby and I want it to …

ruby ruby-1.9 ruby-1.8
How do I make Ruby 1.9 the default Ruby on Ubuntu?

Is there any way, on Ubuntu 9.04, to install Ruby 1.8 as ruby1.8 (or get rid of it altogether) and have Ruby 1.9 …

ruby ubuntu ruby-1.9
What is the difference between Ruby 1.8 and Ruby 1.9

I'm not clear on the differences between the "current" version of Ruby (1.8) and the "new" version (1.9). Is there an "easy" …

ruby ruby-1.9 ruby-1.8
Invalid gemspec because of the date format in specification

When I include a gem that I made, thanks to Bundler (version 1.0.12), in a Gemfile and then I try to …

rubygems bundler ruby-1.9 ruby-1.9.2
syntax error, unexpected ',', expecting ')'

I just installed Ruby 1.9.2 after having used 1.8.7, as there is a feature I need. I had called many of my …

ruby syntax-error ruby-1.9
Is Hash Rocket deprecated?

The well-cited RIP Hash rocket post would seem to imply the Hash Rocket syntax (:foo => "bar") is deprecated in …

ruby syntax hash ruby-1.9 hashrocket
Understanding Ruby symbol as method call

class A def test "Test from instance" end class << self def test "Test from class" end end end …

ruby ruby-1.9
write csv in ruby 1.9 and CSV::Writer

i have a code that works fine with ruby 1.87 but dont works with ruby 1.9. It says that CSV::Writer is …

ruby ruby-1.9
Append row to csv file Ruby 1.9 CSV lib

Using Ruby 1.9 and CSV lib, I can't seem to append a row. The example in the documentation opens the file, …

ruby csv ruby-1.9