简体   繁体   English

Mac终端中的ruby安装错误

[英]ruby installation error in mac terminal

I am trying to install ruby in my machine... i am getting this error... can you guys tell me how to fix it... providing my code below 我正在尝试在我的机器上安装ruby ...我收到此错误...你们能告诉我如何修复...在下面提供我的代码

gem install
    ERROR:  While executing gem ... (Gem::CommandLineError)
        Please specify at least one gem name (e.g. gem build GEMNAME)
    RajKumar-Thulasimanis-MacBook-Pro:andre Raj$ gem install
    ERROR:  While executing gem ... (Gem::CommandLineError)
        Please specify at least one gem name (e.g. gem build GEMNAME)

On the Macintosh OS X platform, Ruby comes as a part of the operating system and there is no need to install it. 在Macintosh OS X平台上,Ruby是操作系统的一部分,无需安装。 "Mountain Lion" (10.8) had Ruby version 1.8; “山狮”(10.8)的Ruby版本为1.8; the new "Mavericks" has Ruby version 2.0. 新的“小牛”具有Ruby 2.0版。 There are some significant differences between those two Ruby version including syntax that worked in 1.8 but is no longer valid in 2.0, as well as additional core types such as Rational and Complex . 这两个Ruby版本之间存在一些显着差异,包括在1.8中可用但在2.0中不再有效的语法以及其他核心类型,例如RationalComplex

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

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