I wanna export xlsx excel file using ruby in ROR so i'm install rubyXL. i use this command: sudo gem install rubyXL --source http://rubygems.org and then it have error like below
ERROR: Could not find a valid gem 'rubyXL' (>= 0), here is why:
Unable to download data from http://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (http://rubygems.org/latest_specs.4.8.gz)
Please help me
使用命令指定源,
gem install <gem_name> --source http://rubygems.org
尝试更新rubygems并重试。
gem update --system
Disabling ipv6 solved the issue for me:
https://www.configserverfirewall.com/ubuntu-linux/ubuntu-disable-ipv6/
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.