我目前正在运行通过 RVM 安装的 ruby-1.9.1。我一直在研究使用 Merb,但是当我尝试运行它时,我收到了这个错误:
sam@shiny-dev:~/Projects/mojo$ rake db:migrate
(in /home/sam/Projects/mojo)
Merb root at: /home/sam/Projects/mojo
/home/sam/.rvm/gems/ruby-1.9.1-p378@merb/gems/dm-validations-1.0.0/lib/dm-validations.rb:33: warning: already initialized constant OrderedHash
Loading init file from ./config/init.rb
Loading ./config/environments/development.rb
rake aborted!
no such file to load -- spec/rake/spectask
/home/sam/Projects/mojo/Rakefile:24:in `require'
(See full trace by running task with --trace)
我已经安装了 rspec,但即使在 IRB 中,我也不能要求“spec/rake/spectask”,除非我还安装了 rspec-rails(我现在已经完成了)。
我什至可以从哪里开始的任何想法?
干杯,山姆