[英]Ruby error kernel_require.rb:55:in `require': cannot load such file — ec2/amitools/version
I dont have any idea about Ruby
, due to requirement I have to install and configure Ruby. 由于需要,我对
Ruby
没有任何了解,因此我必须安装和配置Ruby。 I have made some silly mistake but not able to resolve. 我犯了一些愚蠢的错误,但无法解决。 Please what can be done to remove following error.
请采取什么措施来消除以下错误。
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in ``require': cannot load such file -- ec2/amitools/version
Use this command to install the redis database 使用此命令安装Redis数据库
sudo gem install redis
Because it is required. 因为它是必需的。
Make sure you set both the EC2_AMITOOL_HOME variable as well as the PATH variable. 确保同时设置EC2_AMITOOL_HOME变量和PATH变量。 If you do not add the EC2_AMITOOL_HOME directory to your path then you will get this error.
如果您没有将EC2_AMITOOL_HOME目录添加到路径,则会出现此错误。
export EC2_AMITOOL_HOME=/opt/aws/amitools/ec2-1.4.0.9 export PATH=$EC2_AMITOOL_HOME/bin:$PATH
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.