zenkay / simple-spreadsheet

Simple spreadsheet is a Ruby Gem reader for common spreadsheet formats: Excel (.xls, .xlsx), Open-office (.ods) and CSV (standard, excel, tab separated)
https://rubygems.org/gems/simple-spreadsheet
MIT License
98 stars 32 forks source link

Error in reporting version? #2

Closed zackshapiro closed 12 years ago

zackshapiro commented 12 years ago

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

zenkay commented 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)