简体   繁体   中英

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

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. "Mountain Lion" (10.8) had Ruby version 1.8; the new "Mavericks" has Ruby version 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 .

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.

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