resolve/refinerycms — Issue #1146: Failed to generate application
Author: Rick-KLN
Created: 2011-11-21 10:01:56+00:00
State: open

Hi there I keep getting the following error when trying to generate a refinery application.
It worked fine with the same installation yesterday. (I have rails 3.1 installed but I specify 3.0.10 for refinery and got a working application yesterday.) (Running ruby 1.9.3, and on windows 7.)

Here is what happens:

C:\Users\Rick\Documents\WebProjects>refinerycms airtrackers --rails-version 3.0.
10
Running: cmd /c " "C:\Ruby193\bin\ruby" -S rails _3.0.10_ new "C:\Users\Rick\Do
cuments\WebProjects\airtrackers" --database sqlite3 --skip-test-unit --skip-prot
otype --skip-bundle "
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/mailers
create app/models
create app/views/layouts/application.html.erb
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/.gitkeep
create public/javascripts/application.js
create script
create script/rails
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep

---------
Refinery successfully installed in 'C:/Users/Rick/Documents/WebProjects/airtrack
ers'!

Installing gem requirements using bundler..
Running: cmd /c " cd "C:\Users\Rick\Documents\WebProjects\airtrackers" && "C:\Ru
by193\bin\ruby" -S bundle install "
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (3.0.11)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.11)
Using erubis (2.6.6)
Using rack (1.2.4)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.31)
Using actionpack (3.0.11)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.11)
Using arel (2.0.10)
Using activerecord (3.0.11)
Using activeresource (3.0.11)
Using acts_as_indexed (0.7.7)
Using awesome_nested_set (2.0.2)
Using babosa (0.3.5)
Using bcrypt-ruby (3.0.1)
Using bundler (1.0.21)
Using orm_adapter (0.0.5)
Using warden (1.0.6)
Using devise (1.4.9)
Using dragonfly (0.9.8)
Using friendly_id_globalize3 (3.2.1.5)
Using globalize3 (0.1.0)
Using json (1.6.1)
Using rack-cache (1.1)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.0.11)
Using rails (3.0.11)
Using refinerycms-base (1.0.9)
Using refinerycms-generators (1.0.4)
Using refinerycms-settings (1.0.9)
Using truncate_html (0.5.1)
Using will_paginate (3.0.2)
Using refinerycms-core (1.0.9)
Using refinerycms-authentication (1.0.9)
Using refinerycms-dashboard (1.0.9)
Using refinerycms-images (1.0.9)
Using seo_meta (1.1.1)
Using refinerycms-pages (1.0.9)
Using refinerycms-resources (1.0.9)
Using refinerycms (1.0.9)
Using routing-filter (0.2.4)
Using refinerycms-i18n (1.0.0)
Using sqlite3 (1.3.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem
is installed.

Preparing your application using the refinerycms generator..
Running: cmd /c " cd "C:\Users\Rick\Documents\WebProjects\airtrackers" && "C:\Ru
by193\bin\ruby" -S bundle exec rails generate refinerycms "
C:/Ruby193/lib/ruby/gems/1.9.1/gems/devise-1.4.9/lib/devise/rails/routes.rb:1:in
`': uninitialized constant ActionDispatch::Routing (NameError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/devise-1.4.9/lib/devise/rails.r
b:1:in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/devise-1.4.9/lib/devise.rb:443:
in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-authentication-1.0.
9/lib/refinerycms-authentication.rb:1:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-authentication-1.0.
9/lib/refinerycms-authentication.rb:1:in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms/all.rb:2:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms/all.rb:2:in `block in '
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms/all.rb:1:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms/all.rb:1:in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms.rb:2:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/refinerycms-1.0.9/lib/refineryc
ms.rb:2:in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:68:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:68:in `block (2 levels) in require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:66:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:66:in `block in require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:55:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runt
ime.rb:55:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:1
22:in `require'
from C:/Users/Rick/Documents/WebProjects/airtrackers/config/application.
rb:7:in `'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.0.11/lib/rails/comma
nds.rb:15:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.0.11/lib/rails/comma
nds.rb:15:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'

Failed to generate application.
Message: Could not run the refinerycms generator successfully.
Exiting...

Any help is appreciated thanks.