Created
February 22, 2011 02:14
-
-
Save cw4d3/838101 to your computer and use it in GitHub Desktop.
my rake is broken!
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
| :~/Desktop/grigio-rails3-ujs-demo-eb6cb9b :: rake db:migrate | |
| /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:370:in `bin_path': can't find gem rake ([">= 0"]) with executable rake (Gem::GemNotFoundException) | |
| from /usr/local/bin/rake:19:in `<main>' | |
| :~/Desktop/grigio-rails3-ujs-demo-eb6cb9b :: which rake | |
| /usr/local/bin/rake | |
| #Listed as a LOCAL GEM: rake (0.8.7) | |
| ######################################### | |
| FIXED by editing my 'rake.gemspec' file as shown below: | |
| # rake.gemspec remains just for compatibility with installation | |
| # before Ruby 1.9.2-p32. | |
| # This file will no longer exist in Ruby 1.9.3. | |
| # Refer rake-0.8.7.gemspec instead. | |
| Gem::Specification.new do |s| | |
| s.name = "rake" | |
| s.version = "0.8.7" | |
| s.summary = "This rake is bundled with Ruby" | |
| s.default_executable = “rake” | |
| s.executables = ["rake"] | |
| end | |
| ################# | |
| Also, worth mentioning that some people have had luck with deleting the rake.gemspec file altogether |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment