Closed hartyuk closed 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.
Ok thanks for the quick reply
The issue is resolved in the most recent release of Rails Composer. Please open a new issue if you see any problems.
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'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia
lizable.rb:30:in'
run git add -A from "."
run git commit -qm "rails_apps_composer: navigation links" from "."
<top (required)>' C:in
execute_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:inexecute_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: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/routes_reloader.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:inexecute' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:27:in
updater' 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:in
block ininstance_exec' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:30:in
run' 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:in
block 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:in
each_stronglyconnected component_from' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:182:inblock in each_strongly_c onnected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in
each' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:ineach_strongly_connected_ component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:148:in
tsort_each' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:54:inrun_initializers' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:288:in
initialize!' 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:in
require_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:147:inrequire_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:in
generate_or_destroy' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:51:ingenerate' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:40:in
run_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:in
require' 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: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/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:inexecute' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation/routes_reloader.rb:27:in
updater' 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:in
block in module:Finisher' 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:in
run' 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:in
block 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:in
each_stronglyconnected component_from' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:182:inblock in each_strongly_c onnected_component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in
each' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:ineach_strongly_connected_ component' from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:148:in
tsort_each' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/initia lizable.rb:54:inrun_initializers' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/applic ation.rb:288:in
initialize!' 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:in
require_environment!' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:147:inrequire_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:in
generate_or_destroy' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:51:ingenerate' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.1/lib/rails/comman ds/commands_tasks.rb:40:in
run_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:in
require' from bin/rails:4:in `On branch master
nothing to commit, working directory clean extras extras recipe removing unnecessary files and whitespace