安装rails 报错
@happypeter
gem install rails -v 4.1.2
ERROR: Could not find a valid gem 'rails' (= 4.1.2), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - connect(2) for "s3.amazonaws.com" port 443 (https://api.rubygems.org/specs.4.8.gz)
ERROR: Possible alternatives: rails
查看ralis 版本
rails -v
程序 'rails' 已包含在下列软件包中:
* ruby-railties-3.2
* ruby-railties-4.0