Skip to content

Instantly share code, notes, and snippets.

@ThroughTheNet
Created June 1, 2011 15:34
Show Gist options
  • Save ThroughTheNet/1002566 to your computer and use it in GitHub Desktop.
Save ThroughTheNet/1002566 to your computer and use it in GitHub Desktop.
mysql2 gemspec problems
this doesnt work:
$ gem spec mysql2 --version "0.2.7" --remote
ERROR: Unknown gem 'mysql2'
this works:
$ gem spec mysql2 --remote
--- !ruby/object:Gem::Specification
name: mysql2
version: !ruby/object:Gem::Version
hash: 23
segments:
- 0
- 3
- 2
version: 0.3.2
...truncated
this indicates to me that both should work:
$ gem list -ar mysql2
*** REMOTE GEMS ***
mysql2 (0.3.2, 0.3.1, 0.3.0, 0.2.7, 0.2.6 ruby x86-mingw32 x86-mswin32-60, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment