简体   繁体   English

无法在ruby版本2.0.0p643中安装chilkat gem

[英]Not possible to install chilkat gem in ruby version 2.0.0p643

In my rails application I am using chilkat gem to access the server. 在我的Rails应用程序中,我使用chilkat gem访问服务器。 My Ruby version is 2.0.0p643 . 我的Ruby版本是2.0.0p643 How can I install chilkat to my ruby version? 如何在我的红宝石版本中安装chilkat? I had tried gem install chilkat200 but throwing the following error 我尝试了gem install chilkat200但抛出以下错误

ERROR: Could not find a valid gem 'chilkat200' (>= 0) in any repository ERROR: Possible alternatives: chilkat 错误:在任何存储库中找不到有效的gem'chilkat200'(> = 0)错误:可能的替代方法:chilkat

when I tried gem install chilkat the following error throws 当我尝试gem install chilkat ,出现以下错误

ERROR: Error installing chilkat: chilkat requires Ruby version ~> 2.2. 错误:安装chilkat时出错:chilkat需要Ruby版本〜> 2.2。

Is there any way to install chilkat to Ruby version 2.0.0p643. 有什么方法可以将chilkat安装到Ruby 2.0.0p643版本。 I can't change my rails application to version 2.2. 我无法将Rails应用程序更改为2.2版。

For 64-bit Linux should work: 对于64位Linux应该可以工作:

wget https://www.chilkatsoft.com/download/9.5.0.54/chilkat-9.5.0-linux-x86_64-ruby-2.0.gem.tar.gz
tar xzf chilkat-9.5.0-linux-x86_64-ruby-2.0.gem.tar.gz
gem install chilkat-9.5.0.54-x86_64-linux.gem

for 32-bit Linux replace above url with https://www.chilkatsoft.com/download/9.5.0.54/chilkat-9.5.0-linux-x86-ruby-2.0.gem.tar.gz 对于32位Linux,请使用https://www.chilkatsoft.com/download/9.5.0.54/chilkat-9.5.0-linux-x86-ruby-2.0.gem.tar.gz替换上述网址

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM