【发布时间】:2011-08-16 09:26:01
【问题描述】:
当我运行 rake db:seed 或 rake db:migrate: 时,我在这里看到了一个奇怪的问题:
user@ubuntu:~/Desktop/staging/config$ bundle show activeresource
/usr/lib/ruby/gems/1.8/gems/activeresource-3.0.3
user@ubuntu:~/Desktop/staging/config$ rake db:seed
(in /home/rohan/Desktop/staging)
Could not find activesupport-3.0.3 in any of the sources
Try running `bundle install`.
user@ubuntu:~/Desktop/staging/config$ ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
我不知道该怎么办。任何帮助,将不胜感激。作为记录,我使用的是 RVM。
【问题讨论】:
-
你试过运行
bundle install吗? -
我试过了,是的,它似乎成功通过(我得到输出“使用 activeresource 3.0.3”)。但似乎并没有真正改变。
标签: ruby-on-rails-3 rake