generate model rakedoc problem

32 views
Skip to first unread message

May May

unread,
Nov 25, 2012, 3:37:37 AM11/25/12
to ubiquo...@googlegroups.com
steven@steven-virtual-machine:~/newapp$ script/generate ubiquo_scaffold hero title:string published_at:datetime author_id:integer --belongs_to author --has_many pages
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
NOTE: Dependency.new w/ a regexp is deprecated.
Dependency.new called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:211
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:212.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/site_ruby/1.8/rubygems.rb:1175.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:234.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/site_ruby/1.8/rubygems.rb:1175.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:123.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:124.
      exists  app/models/
      exists  app/controllers/ubiquo/
      exists  app/helpers/ubiquo/
      create  app/views/ubiquo/heros
      exists  app/views/navigators
      exists  test/functional/ubiquo/
      exists  test/unit/
      create  app/views/ubiquo/heros/index.html.erb
      create  app/views/ubiquo/heros/new.html.erb
      create  app/views/ubiquo/heros/edit.html.erb
      create  app/views/ubiquo/heros/show.html.erb
      create  app/views/ubiquo/heros/_form.html.erb
      create  app/views/ubiquo/heros/_submenu.html.erb
      create  app/views/ubiquo/heros/_title.html.erb
      create  app/views/ubiquo/heros/_hero.html.erb
      create  app/views/navigators/_heros_navlinks.html.erb
  dependency  ubiquo_model
NOTE: Dependency.new w/ a regexp is deprecated.
Dependency.new called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:211
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:212.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/site_ruby/1.8/rubygems.rb:1175.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/lookup.rb:234.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/site_ruby/1.8/rubygems.rb:1175.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:123.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:124.
      exists    app/models/
      exists    test/unit/
      exists    test/fixtures/
      create    app/models/hero.rb
      create    test/unit/hero_test.rb
      create    test/fixtures/heros.yml
      exists    db/migrate
      create    db/migrate/20121125083555_create_heros.rb
      create  app/controllers/ubiquo/heros_controller.rb
      create  test/functional/ubiquo/heros_controller_test.rb
      create  app/helpers/ubiquo/heros_helper.rb
       route  ubiquo.resources :heros
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require': no such file to load -- rake/rdoctask (MissingSourceFile)
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
from /home/steven/newapp/vendor/plugins/ubiquo_core/lib/ubiquo/extensions/rails_generator.rb:17:in `require_rake'
from /home/steven/newapp/vendor/plugins/ubiquo_core/lib/ubiquo/extensions/rails_generator.rb:17:in `each'
from /home/steven/newapp/vendor/plugins/ubiquo_core/lib/ubiquo/extensions/rails_generator.rb:17:in `require_rake'
from /home/steven/newapp/vendor/plugins/ubiquo_core/lib/ubiquo/extensions/rails_generator.rb:66:in `ubiquo_migration'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/manifest.rb:47:in `send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/manifest.rb:47:in `send_actions'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/manifest.rb:46:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/manifest.rb:46:in `send_actions'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/manifest.rb:31:in `replay'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/commands.rb:42:in `invoke!'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/scripts/../scripts.rb:31:in `run'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/commands/generate.rb:6
from script/generate:3:in `require'
from script/generate:3
steven@steven-virtual-machine:~/newapp$ 


and when i goto the webpage, I still see the selection field of model is empty.

May May

unread,
Nov 25, 2012, 3:43:40 AM11/25/12
to ubiquo...@googlegroups.com
running migration successfully but still can't  see the filed on the webpage when i trying to create a page from Design.

Bernat Foj Capell

unread,
Nov 26, 2012, 9:58:34 AM11/26/12
to ubiquo...@googlegroups.com
Hi May,

I'm sorry but I don't understand which webpage and field do you mean it's empty.

Can you post a screenshot or give me more info?

Thank you
Bernat
Reply all
Reply to author
Forward
0 new messages