padrino/padrino-framework — Issue #700: Generated admin interface doesn't work on Windows.
Author: yasuyuki
Created: 2011-10-12 14:11:56+00:00
State: open

Generate project.
$ padrino g project test -d datamapper
then, cd, bundle install, generate admin interface, bundle install again, rake, and start server.
$ cd test
$ bundle install
$ padrino g admin
$ bundle install
$ padrino rake dm:auto:upgrade
$ padrino rake seed
$ padrino start
now, open http://localhost:3000/admin with browser, I face error message "NameError at /admin/sessions/new
undefined local variable or method `flash' for #
file: asset_tag_helpers.rb location: flash_tag line: 20".

environment
WindowsXP SP3/7 SP1(I faced same message both XP and 7)
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]

installed gems(Windows7 environment)

activesupport (3.1.1)
addressable (2.2.6)
bcrypt-ruby (3.0.1 x86-mingw32)
bundler (1.0.21)
data_objects (0.10.6)
diff-lcs (1.1.3)
dm-aggregates (1.1.0)
dm-constraints (1.1.0)
dm-core (1.1.0)
dm-do-adapter (1.1.0)
dm-migrations (1.1.0)
dm-sqlite-adapter (1.1.0)
dm-timestamps (1.1.0)
dm-validations (1.1.0)
do_sqlite3 (0.10.6 x86-mingw32)
grit (2.4.1)
haml (3.1.3)
http_router (0.10.2)
i18n (0.6.0)
mail (2.3.0)
mime-types (1.16)
multi_json (1.0.3)
padrino (0.10.3)
padrino-admin (0.10.3)
padrino-cache (0.10.3)
padrino-core (0.10.3)
padrino-gen (0.10.3)
padrino-helpers (0.10.3)
padrino-mailer (0.10.3)
polyglot (0.3.2)
rack (1.3.4)
rack-protection (1.1.4)
rake (0.9.2)
rubygems-update (1.8.11)
sinatra (1.3.1)
sinatra-flash (0.3.0)
sqlite3 (1.3.4 x86-mingw32)
sqlite3-ruby (1.3.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
url_mount (0.2.1)