I'm trying to install Ruby on Rails on Windows. After successfully installing Ruby, when I run ruby -v
, it returns ruby 2.4.4
as expected. The gem
application is installed and is version 2.77. But when I try executing the command:
gem install rails
it gives the following error:
C:\>gem install rails
ERROR: Loading command: install (ArgumentError)
unknown encoding name - CP720
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
How do I fix this error so I can install Ruby on Rails on Windows?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.