Gan*_*kar 12 gem mongrel ruby-on-rails
启动Mongrel服务器时出现此错误...
$ script/server --debugger
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
=> Debugger enabled
=> Call with -d to detach
=> Ctrl-C to shutdown server
Run Code Online (Sandbox Code Playgroud)
当我运行rake gems时:refresh_specs就像它表明我得到了另一个错误:
rake aborted!
undefined method `installed_source_index' for #<Gem::SourceIndex:0x100551a58>
Run Code Online (Sandbox Code Playgroud)
有关如何解决此问题的任何想法?
小智 22
我不确定为什么它在Authlogic中被破坏了,但我必须自己生成它.
在你的Rails项目中试试这个:
$ prompt> cd vendor/gems/authlogic-2.1.3
$ prompt> gem specification authlogic> .specification
归档时间: |
|
查看次数: |
5901 次 |
最近记录: |