Gem deep_cloning вызывает эту ошибку:
NameError: uninitialized constant %{AnyModel}
Когда я делаю обновление пакета, он говорит мне следующее:
deep_cloning at /Users/me! =D/.rvm/gems/ruby-1.8.7-p352@secret_gemset/bundler/gems/deep_cloning-423f1e30eeef did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
["deep_cloning-0.2.0.gem"] are not files
Что я здесь не так делаю?
В моем Gemfile я указываю путь к гему так:
gem "deep_cloning", :git => "git://github.com/DerNalia/deep_cloning.git"
Обновление: трассировка стека от унифицированной постоянной ошибки:
> MyModel.find(455)
NameError: uninitialized constant MyModel
from /rvm_gemset_path/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:443:in `load_missing_constant'
from /rvm_gemset_path/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80:in `rake_original_const_missing'
from /rvm_gemset_path/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing'
from /rvm_gemset_path/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:92:in `const_missing'
from (irb):1