在 Mac 机器上,使用 octopress 总是问题重重,今天遇到了这样的问题,解决了,记录一下。
123456789
13:28 $ rake generate
rake aborted!
You have already activated rake 10.1.1, but your Gemfile requires rake 0.9.2.2. Prepending `bundle exec` to your command may solve this.
/Users/androidyue/.rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.2/lib/bundler/runtime.rb:34:in `block in setup'/Users/androidyue/.rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.2/lib/bundler/runtime.rb:19:in `setup'/Users/androidyue/.rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.2/lib/bundler.rb:120:in `setup'/Users/androidyue/.rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.2/lib/bundler/setup.rb:7:in `<top (required)>'/Users/androidyue/github/myblog/Rakefile:2:in `<top (required)>'(See full trace by running task with --trace)