.rvm/gems/ruby-2.0.0-p353/gems/configatron-2.9.1/lib/configatron/store.rb:328:in '<class:Store&g



我在执行padrino启动时出错。

我卸载并安装了很多次gems、rvm和ruby,甚至bundler,然后安装,但每次都会出现错误未初始化的常量Psych::Syck(NameError)

bharath@bharath-HP-ProBook-6450b:~/workspace/consumer_api$ padrino start 

/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/configatron-2.9.1/lib/configatron/store.rb:328:in`':未初始化常量Psych::Syck(NameError)

来自/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/configatron-2.9.1/lib/configatron/store.rb:2:在<class:Configatron>'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/configatron-2.9.1/lib/configatron/store.rb:1:in'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/configatron-2.9.1/lib/configatron.rb:5:在<top (required)>' <br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in中需要'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in block (2 levels) in require'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in each'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in block in require'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in each'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in require' <br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler.rb:132:in require'
来自/home/bharath/workspace/composer_api/config/boot.rb:17:在<top (required)>'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/padrino-core-0.10.7/lib/padrino-core/cli/base.rb:23:in中需要'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/padrino-core-0.107/lib/padrino-cor/cli/base.rb:23:在start'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.15.4/lib/thor/task.rb:27:in中运行'
from/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/shor-0.115.4/lib/thor/invocation.rb:120:在invoke_task'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.15.4/lib/thor.rb:275:in调度中'
来自/home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/shor-0.115.4/lib/thor/base.rb:425:在start'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/gems/padrino-core-0.10.7/bin/padrino:9:in'
中来自/home/bharath/.rvm/gems/ruby-2.0.0-p353/bin/padrino:23:in load'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/bin/padrino:23:in'
来自/home/bharath/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:在eval'<br/> from /home/bharath/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in'中

我使用适当的RVM ruby版本解决了这个问题。对于我的应用程序,需要1.9.3p194卢布。目前,我的padrino启动运行良好。

相关内容

  • 没有找到相关文章

最新更新