Can't create ruby on rails application

I just followed every step for installing ruby on rails as it says here http://rubyonrails.org/download but i can't create succesfully a rails project. This is exactly what I did:

  1. Installed ruby with windows installer v2.0.0-p0 x64 (I'm running W8 pro)
  2. Installed RubyGems with the following procedure:
    1. Downloaded thee .zip file from the webpage
    2. Unzipped the folder into the Ruby200-x64 folder in C:
    3. Excecuted the "setup.rb" file
  3. Installed Rails with the following procedure:
    1. Opened a CMD and put gem install rails

But when I try to "create the application skeleton" through the command

rails new C:\Users\Andrés\Desktop\Mediplan

I get the following:

C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.12/lib/rails/generators/app_base-rb:100:in 'expand_path' : incompatible character encodings: CP850 and UTF-8 <Encoding::CompatibilityError>

Anybody knows a fix for this? (Let me know if additional information is needed)

Upvotes: 1

Views: 481

Answers (1)

Victor
Victor

Reputation: 13388

Could be due to the é in Andrés. Try changing your path to the Desktop first, then create the Rails app. Try this:

cd C:\Users\Andrés\Desktop
rails new Mediplan

Upvotes: 2

Related Questions