我正在尝试安装project fedena。我按照this link在轨道上安装了ruby。当我运行rake db:create
命令时,它会抛出以下错误:
rameshpaul@rameshpaul-hp:~/ruby_projects/fedena$ rake db:create
/home/rameshpaul/.rbenv/versions/2.2.1/bin/rake:23:in `load': cannot load such file -- /home/rameshpaul/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rake-10.4.2/bin/rake (LoadError)
from /home/rameshpaul/.rbenv/versions/2.2.1/bin/rake:23:in `<main>'
rameshpaul@rameshpaul-hp:~/ruby_projects/fedena$
答案 0 :(得分:0)
运行Bundle install然后创建db,因为缺少Rake generater。
答案 1 :(得分:0)
你必须将ruby版本降级到1.8.7才能使用fedena