Closed zackshapiro closed 12 years ago
I think you're running the wrong command.
As you can see running gem --help
the option -v
show the version number of RubyGems software and takes no arguments.
If you want to know which versions of a gem are installed you can use gem list gem-name
Zenkay$ gem list simple-spreadsheet
*** LOCAL GEMS ***
simple-spreadsheet (0.1.0, 0.0.6, 0.0.5.4, 0.0.5.3, 0.0.5.2, 0.0.5.1, 0.0.5, 0.0.4.alpha)
Terminal says it's installing v 0.1.0 but gem -v says 1.8.21
My-MacBook-Air:~ z$ sudo gem install simple-spreadsheet Password: {entered} Successfully installed simple-spreadsheet-0.1.0 1 gem installed Installing ri documentation for simple-spreadsheet-0.1.0... Installing RDoc documentation for simple-spreadsheet-0.1.0... My-MacBook-Air:~ z$ gem -v simple-spreadsheet
=> 1.8.21