Top "Ruby-1.9.3" questions

For issues relating to developing in Ruby, version 1.9.3. If your question applies to Ruby in general, use the tag [tag:ruby].

Convert a string to regular expression ruby

I need to convert string like "/[\w\s]+/" to regular expression. "/[\w\s]+/" => /[\w\s]+/ I tried using different …

ruby regex string ruby-1.9.3
How to install Compass on Windows

I have installed Ruby on my system, and now I want to install Compass. But when I execute the gem …

compass-sass ruby-1.9.3
ruby-debug with Ruby 1.9.3?

I just updated to Ruby 1.9.3p0 and Rails 3.1.1. Now when I try to launch the server, it complains that I …

ruby-on-rails ruby ruby-1.9.3 ruby-debug
Bundler could not find compatible versions for gem, updating Rails app

After createing a brand new rails app Following the official rails blog post, attempting to convert apps to rails 3.2.0.rc2 …

ruby-on-rails ruby ruby-1.9.3 ruby-on-rails-3.2
Class (Type) checking

Is there a good library (preferably gem) for doing class checking of an object? The difficult part is that I …

ruby class ruby-1.9.3
Set UTF-8 as default for Ruby 1.9.3

I'm on Rails 4 and Ruby 1.9.3 I use "strange" characters very often, so I have to declare UTF-8 encoding at the …

ruby encoding utf-8 ruby-on-rails-4 ruby-1.9.3
Error installing debugger-linecache in Ruby 1.9.3

I need version 1.0.1 of debugger-linecache for a project, and I am facing the following error when trying to install. trunk ☺ …

ruby rubygems gem ruby-1.9.3
Digest::MD5 in Ruby 1.9.3

I'm running into something weird here. I have an "authenticator" that relies on ND5 to hash a certain string we …

ruby rubygems md5 irb ruby-1.9.3
How to cleanly initialize attributes in Ruby with new?

class Foo attr_accessor :name, :age, :email, :gender, :height def initalize params @name = params[:name] @age = params[:age] @email = params[:…

ruby object new-operator ruby-1.9.3
install ruby 1.9.3 using rvm on ubuntu

Possible Duplicate: Ruby 1.9.2 and Rails 3 cannot open rails console I have already installed rvm and ruby 1.9.2, both working properly. Using …

rvm readline ruby-1.9.3 libreadline