RailsApps / rails-devise-pundit

Rails 5.0 starter app with Devise for authentication and Pundit for authorization.
http://railsapps.github.io/rails-devise-pundit/
483 stars 156 forks source link

Error when trying to install template #7

Closed hartyuk closed 10 years ago

hartyuk commented 10 years ago

Hi,

I'm getting the error below when trying to setup a new application

I think its related when I select option 4 on the Startup App which is the Admin Dashboard etc

Any ideas?? Error at the bottom

Thanks

Matt

Installation Options New App Thin Thin SQLite ERB None Bootstrap 3.0 None Divise Devise with default modules Pundit Simpleform Home Page, User Accounts, Admin Dashboard n n n n n

DL is deprecated, please use Fiddle rake aborted! NameError: uninitialized constant Rails3DeviseRspecCucumber C:/Sites/monasdaa/config/routes.rb:1:in <top (required)>' C:inexecute_if_updated' C:/Sites/monasdaa/config/environment.rb:5:in <top (required)>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) run bundle exec rake db:seed from "." DL is deprecated, please use Fiddle rake aborted! NameError: uninitialized constant Rails3DeviseRspecCucumber C:/Sites/monasdaa/config/routes.rb:1:in<top (required)>' C:in execute_if_updated' C:/Sites/monasdaa/config/environment.rb:5:in<top (required)>' Tasks: TOP => db:abort_if_pending_migrations => 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 bootstrap3 -f DL is deprecated, please use Fiddle C:/Sites/monasdaa/config/routes.rb:1:in <top (required)>': uninitialized consta nt Rails3DeviseRspecCucumber (NameError) from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:inblock in load_paths' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:in each' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:inload_paths' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:16:in reload!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:26:inblock in updater' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.1.1/lib/active_ support/file_updatechecker.rb:75:in `call' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.1.1/lib/active support/file_update_checker.rb:75:inexecute' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:27:inupdater' from C:inexecute_if_updated' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/finisher.rb:71:inblock in ' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:30:ininstance_exec' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:30:inrun' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:55:inblock in run_initializers' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:150:inblock in tsort_each' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:183:inblock (2 levels) in each _strongly_connected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:219:ineach_stronglyconnected component_from' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:182:in block in each_strongly_c onnected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:ineach' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in each_strongly_connected_ component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:148:intsort_each' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:54:in run_initializers' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:288:ininitialize!' from C:/Sites/monasdaa/config/environment.rb:5:in <top (required)>' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:264:inrequire_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:147:in require_application_and_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:133:ingenerate_or_destroy' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:51:in generate' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:40:inrun_command!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds.rb:17:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in <main>' generate layout:navigation -f DL is deprecated, please use Fiddle C:/Sites/monasdaa/config/routes.rb:1:in<top (required)>': uninitialized consta nt Rails3DeviseRspecCucumber (NameError) from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:in block in load_paths' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:ineach' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:40:in load_paths' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:16:inreload!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routesreloader.rb:26:in `block in updater' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.1.1/lib/active support/file_updatechecker.rb:75:in`call' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.1.1/lib/active support/file_update_checker.rb:75:in execute' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:27:inupdater' from C:in execute_if_updated' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/finisher.rb:71:inblock in module:Finisher' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:30:in instance_exec' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:30:inrun' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:55:in block in run_initializers' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:150:inblock in tsort_each' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:183:in block (2 levels) in each _strongly_connected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:219:ineach_stronglyconnected component_from' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:182:in block in each_strongly_c onnected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:ineach' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in each_strongly_connected_ component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:148:intsort_each' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:54:in run_initializers' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:288:ininitialize!' from C:/Sites/monasdaa/config/environment.rb:5:in <top (required)>' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:264:inrequire_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:147:in require_application_and_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:133:ingenerate_or_destroy' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:51:in generate' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:40:inrun_command!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds.rb:17:in <top (required)>' from bin/rails:4:inrequire' 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

DanielKehoe commented 10 years ago

I advise not to use the Rails Composer "Build Your Own" option. Instead choose "RailsApps Examples" and build rails-devise-pundit. It's known to work.

hartyuk commented 10 years ago

Ok thanks for the quick reply

DanielKehoe commented 10 years ago

The issue is resolved in the most recent release of Rails Composer. Please open a new issue if you see any problems.