Created
February 9, 2009 21:06
-
-
Save maiha/60997 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: | |
"merb --version" doesn't work | |
Check: | |
(maiha-no-macbook-air)<~>% ruby19 -r rubygems -e "gem 'merb-core', '>= 0'" | |
<internal:gem_prelude>:249:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError) | |
from <internal:gem_prelude>:14:in `gem' | |
from -e:1:in `<main>' | |
(maiha-no-macbook-air)<~>% ruby19 -r rubygems -e "gem 'merb-core', '>=0'" | |
/Users/maiha/ruby/lib/ruby19/1.9.1/rubygems.rb:636:in `report_activate_error': Could not find RubyGem merb-core (>= 0) (Gem::LoadError) | |
no spaces works sane although gems are not installed yet. | |
Conclusion: | |
gem version should not contain any spaces | |
Patch: (bin/merb) | |
- version = ">= 0" | |
+ version = ">=0" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment