I was following a tutorial on ruby on rails and i get this error whenever i try to setup a rails project.
Any idea whats wrong?
C:\Ruby19> rails library C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_support.rb:29: in `require': C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_ support/inflector.rb:169: syntax error, unexpected ':', expecting keyword_then o r ',' or ';' or '\n' (SyntaxError) when 1: "#{number}st" ^ C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_support/inflec tor.rb:170: syntax error, unexpected keyword_when, expecting keyword_end when 2: "#{number}nd" ^ C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_support/inflec tor.rb:171: syntax error, unexpected keyword_when, expecting keyword_end when 3: "#{number}rd" ^ C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_support/inflec tor.rb:176: syntax error, unexpected keyword_end, expecting $end from C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/active_s upport.rb:29:in `<top (required)>' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-1.1.6/lib/rails_generator. rb:28:in `require' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-1.1.6/lib/rails_generator. rb:28:in `<top (required)>' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-1.1.6/bin/rails:13:in `req uire' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-1.1.6/bin/rails:13:in `<to p (required)>' from C:/Ruby19/bin/rails:19:in `load' from C:/Ruby19/bin/rails:19:in `<main>'