RailsApps / rails_apps_composer

A gem with recipes to create Rails application templates for Rails starter apps.
http://railsapps.github.io/rails_apps_composer/
1.42k stars 304 forks source link

Adding paramter -O to composer to use MongoDB not working correctly #288

Closed tenzan closed 10 years ago

tenzan commented 10 years ago

Environment:

I've run: rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb -O

During dialog I chose:

README file listed below Terminal output

Terminal output: generate devise user invoke mongoid create app/models/user.rb invoke test_unit create test/models/user_test.rb create test/fixtures/users.yml insert app/models/user.rb insert app/models/user.rb route devise_for :users generate migration AddRoleToUsers role:integer error mongoid [not found] remove app/models/user.rb create app/models/user.rb run git add -A from "." run git commit -qm "rails_apps_composer: models" from "." controllers controllers recipe running after 'bundle install' remove app/controllers/application_controller.rb create app/controllers/application_controller.rb generate controller home --skip-assets --skip-helper /home/askar/work/rails/myapp/app/models/user.rb:1:in <top (required)>': uninitialized constant ActiveRecord (NameError) from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inconst_get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in block in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in inject' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:inconstantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:in get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:into' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:in modules' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:inroutes' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:in default_used_route' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:ininitialize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in new' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:inadd_mapping' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:in block in devise_for' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in devise_for' from /home/askar/work/rails/myapp/config/routes.rb:2:inblock in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in instance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ineval_block' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:in draw' from /home/askar/work/rails/myapp/config/routes.rb:1:in<top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:incall' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in execute' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:inblock in module:Finisher' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in instance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:inrun' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:inblock in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:ineach_strongly_connected_component_from' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:ineach' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in call' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:ineach_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:intsort_each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:in run_initializers' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:ininitialize!' from /home/askar/work/rails/myapp/config/environment.rb:5:in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:inrequire_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:147:in require_application_and_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:133:ingenerate_or_destroy' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:51:in generate' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:40:inrun_command!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands.rb:17:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in <main>' remove app/controllers/users_controller.rb create app/controllers/users_controller.rb remove app/controllers/users_controller.rb create app/controllers/users_controller.rb remove app/policies/user_policy.rb create app/policies/user_policy.rb remove app/controllers/registrations_controller.rb create app/controllers/registrations_controller.rb run git add -A from "." run git commit -qm "rails_apps_composer: controllers" from "." views views recipe running after 'bundle install' remove app/views/devise/shared/_links.html.erb create app/views/devise/shared/_links.html.erb remove app/views/devise/registrations/edit.html.erb create app/views/devise/registrations/edit.html.erb remove app/views/devise/registrations/new.html.erb create app/views/devise/registrations/new.html.erb remove app/views/devise/sessions/new.html.erb create app/views/devise/sessions/new.html.erb remove app/helpers/application_helper.rb create app/helpers/application_helper.rb remove app/views/home/index.html.erb create app/views/home/index.html.erb remove app/views/users/index.html.erb create app/views/users/index.html.erb remove app/views/users/_user.html.erb create app/views/users/_user.html.erb remove app/views/users/show.html.erb create app/views/users/show.html.erb remove app/views/users/_user.html.erb create app/views/users/_user.html.erb remove app/views/users/index.html.erb create app/views/users/index.html.erb remove app/views/users/show.html.erb create app/views/users/show.html.erb run git add -A from "." run git commit -qm "rails_apps_composer: views" from "." routes routes recipe running after 'bundle install' remove config/routes.rb create config/routes.rb gsub config/routes.rb gsub config/routes.rb gsub config/routes.rb run git add -A from "." run git commit -qm "rails_apps_composer: routes" from "." frontend frontend recipe running after 'bundle install' generate layout:install foundation5 -f /home/askar/work/rails/myapp/app/models/user.rb:1:in<top (required)>': uninitialized constant ActiveRecord (NameError) from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in const_get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inblock in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ininject' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:inget' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:in to' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:inmodules' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:in routes' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:indefault_used_route' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:in initialize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:innew' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in add_mapping' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:inblock in devise_for' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:indevise_for' from /home/askar/work/rails/myapp/config/routes.rb:3:in block in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ininstance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in eval_block' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:indraw' from /home/askar/work/rails/myapp/config/routes.rb:1:in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:inblock in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:inload_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:in reload!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:inblock in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in call' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:inexecute' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:in block in <module:Finisher>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:ininstance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in run' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:inblock in run_initializers' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:inblock (2 levels) in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:inblock in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:incall' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:intsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:in initialize!' from /home/askar/work/rails/myapp/config/environment.rb:5:in<top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:in require_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:147:inrequire_application_and_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:133:in generate_or_destroy' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:51:ingenerate' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:40:in run_command!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands.rb:17:in<top (required)>' from bin/rails:4:in require' from bin/rails:4:in

' run git add -A from "." run git commit -qm "rails_apps_composer: front-end framework" from "."

On branch master

nothing to commit, working directory clean extras gsub public/robots.txt gsub public/robots.txt composer Running 'after everything' callbacks. readme readme recipe running after everything remove README remove README.rdoc remove doc/README_FOR_APP remove public/humans.txt create public/humans.txt remove README create README remove README.md create README.md gsub README gsub README.md gsub README.md gsub README.md gsub README.md gsub README gsub README gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md gsub README.md run git add -A from "." run git commit -qm "rails_apps_composer: add README files" from "." testing testing recipe running after everything init init recipe running after everything insert config/secrets.yml insert config/secrets.yml insert config/secrets.yml insert config/secrets.yml remove db/seeds.rb create db/seeds.rb remove app/services/create_admin_service.rb create app/services/create_admin_service.rb init dropping database, creating indexes and seeding the database run bundle exec rake db:drop from "." rake aborted! uninitialized constant ActiveRecord /home/askar/work/rails/myapp/app/models/user.rb:1:in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inconst_get' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in block in constantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in inject' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:inconstantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:in get' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:into' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:in modules' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:inroutes' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:in default_used_route' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:ininitialize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in new' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:inadd_mapping' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:in block in devise_for' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in devise_for' /home/askar/work/rails/myapp/config/routes.rb:3:inblock in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ineval_block' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:in draw' /home/askar/work/rails/myapp/config/routes.rb:1:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:incall' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in execute' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:inblock in module:Finisher' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:inrun' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:in initialize!' /home/askar/work/rails/myapp/config/environment.rb:5:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:in require_environment!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:346:inblock in run_tasks_blocks' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in eval' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in

' Tasks: TOP => db:drop => db:mongoid:drop => environment (See full trace by running task with --trace) run bundle exec rake db:mongoid:create_indexes from "." rake aborted! uninitialized constant ActiveRecord /home/askar/work/rails/myapp/app/models/user.rb:1:in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inconst_get' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in block in constantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in inject' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:inconstantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:in get' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:into' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:in modules' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:inroutes' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:in default_used_route' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:ininitialize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in new' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:inadd_mapping' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:in block in devise_for' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in devise_for' /home/askar/work/rails/myapp/config/routes.rb:3:inblock in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ineval_block' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:in draw' /home/askar/work/rails/myapp/config/routes.rb:1:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:incall' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in execute' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:inblock in module:Finisher' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:inrun' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:in initialize!' /home/askar/work/rails/myapp/config/environment.rb:5:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:in require_environment!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:346:inblock in run_tasks_blocks' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in eval' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in
' Tasks: TOP => db:mongoid:create_indexes => environment (See full trace by running task with --trace) run bundle exec rake db:seed from "." rake aborted! uninitialized constant ActiveRecord /home/askar/work/rails/myapp/app/models/user.rb:1:in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inconst_get' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in block in constantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in inject' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:inconstantize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:in get' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:into' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:in modules' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:inroutes' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:in default_used_route' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:ininitialize' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in new' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:inadd_mapping' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:in block in devise_for' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in devise_for' /home/askar/work/rails/myapp/config/routes.rb:3:inblock in <top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ineval_block' /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:in draw' /home/askar/work/rails/myapp/config/routes.rb:1:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:incall' /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in execute' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:inblock in module:Finisher' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in instance_exec' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:inrun' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:in initialize!' /home/askar/work/rails/myapp/config/environment.rb:5:in<top (required)>' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:in require_environment!' /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:346:inblock in run_tasks_blocks' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in eval' /home/askar/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in
' Tasks: TOP => db:seed => environment (See full trace by running task with --trace) run git add -A from "." run git commit -qm "rails_apps_composer: set up database" from "." generate layout:devise foundation5 -f /home/askar/work/rails/myapp/app/models/user.rb:1:in <top (required)>': uninitialized constant ActiveRecord (NameError) from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inconst_get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in block in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in inject' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:inconstantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:in get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:into' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:in modules' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:inroutes' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:in default_used_route' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:ininitialize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in new' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:inadd_mapping' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:in block in devise_for' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in devise_for' from /home/askar/work/rails/myapp/config/routes.rb:3:inblock in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in instance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ineval_block' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:in draw' from /home/askar/work/rails/myapp/config/routes.rb:1:in<top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:incall' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in execute' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:inblock in module:Finisher' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in instance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:inrun' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:inblock in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:ineach_strongly_connected_component_from' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:ineach' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in call' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:ineach_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:intsort_each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:in run_initializers' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:ininitialize!' from /home/askar/work/rails/myapp/config/environment.rb:5:in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:inrequire_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:147:in require_application_and_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:133:ingenerate_or_destroy' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:51:in generate' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:40:inrun_command!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands.rb:17:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in <main>' generate layout:navigation -f /home/askar/work/rails/myapp/app/models/user.rb:1:in<top (required)>': uninitialized constant ActiveRecord (NameError) from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:in const_get' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:238:inblock in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:ininject' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/inflector/methods.rb:236:in constantize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:297:inget' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:77:in to' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:72:inmodules' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:89:in routes' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:156:indefault_used_route' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/mapping.rb:66:in initialize' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:innew' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise.rb:331:in add_mapping' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:221:inblock in devise_for' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/devise-3.2.3/lib/devise/rails/routes.rb:220:indevise_for' from /home/askar/work/rails/myapp/config/routes.rb:3:in block in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:ininstance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:335:in eval_block' from /home/askar/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0.rc1/lib/action_dispatch/routing/route_set.rb:313:indraw' from /home/askar/work/rails/myapp/config/routes.rb:1:in <top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:inblock in load_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:in each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:40:inload_paths' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:16:in reload!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:26:inblock in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:in call' from /home/askar/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0.rc1/lib/active_support/file_update_checker.rb:75:inexecute' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:27:in updater' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application/finisher.rb:71:in block in <module:Finisher>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:ininstance_exec' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:30:in run' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:55:inblock in run_initializers' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:inblock (2 levels) in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:inblock in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:incall' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:intsort_each' from /home/askar/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:286:in initialize!' from /home/askar/work/rails/myapp/config/environment.rb:5:in<top (required)>' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/application.rb:262:in require_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:147:inrequire_application_and_environment!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:133:in generate_or_destroy' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:51:ingenerate' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands/commands_tasks.rb:40:in run_command!' from /home/askar/.rvm/gems/ruby-2.1.1/gems/railties-4.1.0.rc1/lib/rails/commands.rb:17:in<top (required)>' from bin/rails:4:in require' from bin/rails:4:in
' run git add -A from "." run git commit -qm "rails_apps_composer: navigation links" from "."

On branch master

nothing to commit, working directory clean extras extras recipe removing unnecessary files and whitespace remove public/index.html remove app/assets/images/rails.png gsub Gemfile gsub Gemfile gsub config/routes.rb gsub config/routes.rb run git add -A from "." run git commit -qm "rails_apps_composer: extras" from "." extras extras recipe creating GitHub repository run hub create myapp from "." Updating origin Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin run hub push -u origin master from "." Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. composer Your new application will contain diagnostics in its README file. composer When reporting an issue on GitHub, include the README diagnostics. composer Finished running the rails_apps_composer app template. composer Your new Rails app is ready. Time to run 'bundle install'. run bundle install Using rake (10.1.1) Using i18n (0.6.9) Using json (1.8.1) Using minitest (5.3.0) Using atomic (1.1.15) Using thread_safe (0.2.0) Using tzinfo (1.1.0) Using activesupport (4.1.0.rc1) Using builder (3.2.2) Using erubis (2.7.0) Using actionview (4.1.0.rc1) Using rack (1.5.2) Using rack-test (0.6.2) Using actionpack (4.1.0.rc1) Using mime-types (1.25.1) Using polyglot (0.3.4) Using treetop (1.4.15) Using mail (2.5.4) Using actionmailer (4.1.0.rc1) Using activemodel (4.1.0.rc1) Using arel (5.0.0) Using activerecord (4.1.0.rc1) Using bcrypt (3.1.7) Using bcrypt-ruby (3.1.5) Using coderay (1.1.0) Using better_errors (1.1.0) Using bson (2.2.1) Using mini_portile (0.5.2) Using nokogiri (1.6.1) Using xpath (2.0.0) Using capybara (2.2.1) Using coffee-script-source (1.7.0) Using execjs (2.0.2) Using coffee-script (2.2.0) Using thor (0.18.1) Using railties (4.1.0.rc1) Using coffee-rails (4.0.1) Using connection_pool (1.2.0) Using orm_adapter (0.5.0) Using warden (1.2.3) Using devise (3.2.3) Using sass (3.2.15) Using foundation-rails (5.2.1.0) Using hike (1.2.3) Using hub (1.12.0) Using multi_json (1.9.0) Using jbuilder (2.0.4) Using jquery-rails (3.1.0) Using bundler (1.5.3) Using tilt (1.4.1) Using sprockets (2.11.0) Using sprockets-rails (2.0.1) Using rails (4.1.0.rc1) Using minitest-spec-rails (5.0.2) Using minitest-wscolor (0.0.3) Using optionable (0.2.0) Using moped (2.0.0.beta6) Using origin (2.1.0) Using mongoid (4.0.0.beta1) from git://github.com/mongoid/mongoid.git (at master) Using pundit (0.2.2) Using quiet_assets (1.0.2) Using rails_layout (1.0.11) Using rdoc (4.1.1) Using sass-rails (4.0.2) Using sdoc (0.4.0) Using simple_form (3.0.1) Using spring (1.1.2) Using turbolinks (2.2.1) Using uglifier (2.4.0) Your bundle is complete! Gems in the group production were not installed. Use bundle show [gemname] to see where a bundled gem is installed. run bundle exec spring binstub --all

  • bin/rake: spring inserted
  • bin/rails: spring inserted

README

Myapp

This application was generated with the rails_apps_composer gem: https://github.com/RailsApps/rails_apps_composer provided by the RailsApps Project: http://railsapps.github.io/


Recipes:

  • apps4
  • controllers
  • core
  • email
  • extras
  • frontend
  • gems
  • git
  • init
  • models
  • prelaunch
  • railsapps
  • readme
  • routes
  • saas
  • setup
  • testing
  • views

Preferences:

  • git: true
  • apps4: none
  • dev_webserver: webrick
  • prod_webserver: same
  • database: mongodb
  • orm: mongoid
  • templates: erb
  • unit_test: minitest
  • integration: minitest-capybara
  • continuous_testing: none
  • fixtures: none
  • frontend: foundation5
  • email: none
  • authentication: devise
  • devise_modules: default
  • authorization: pundit
  • form_builder: simple_form
  • starter_app: admin_app
  • rvmrc: false
  • quiet_assets: true
  • better_errors: true
  • ban_spiders: true
  • jsruntime: false
  • github: true
DanielKehoe commented 10 years ago

MongoDB and Mongoid are no longer supported by Rails Composer, as reported in this blog post: MongoDB Dropped From Rails Composer.

However, if you're interested in restoring Mongoid as an option in Rails Composer, you can join the MongoDB Rescue Operation. See the blog post for details.

Thank you for your support.