I'm using ruby 2.1.5p273, rails 4.2.4 and Hobo 2.2.3 and after going though
the wizard and creating a new app I get the following error.
Rendered front/index.dryml (1982.1ms)
Completed 500 Internal Server Error in 2001ms (ActiveRecord: 0.0ms)
ActionView::Template::Error (wrong number of arguments (1 for 0)):
1: <page title="Home">
2:
3: <body: class="front-page"/>
4:
app/views/front/index.dryml:1:in `block in render_page'
app/views/front/index.dryml:1:in `render_page'
app/views/front/index.dryml:1:in
`_app_views_front_index_dryml___4240119510986145104_36883920'
Rendered
/home/bobsleys/.gem/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb
(11.1ms)
Rendered
/home/bobsleys/.gem/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
(4.3ms)
Rendered
/home/bobsleys/.gem/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
(1.0ms)
Rendered
/home/bobsleys/.gem/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb
within rescues/layout (25.8ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/_markup.html.erb
(0.3ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/_inner_console_markup.html.erb
within layouts/inlined_string (0.4ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/_prompt_box_markup.html.erb
within layouts/inlined_string (0.2ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/style.css.erb
within layouts/inlined_string (0.2ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/console.js.erb
within layouts/javascript (11.5ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/main.js.erb
within layouts/javascript (0.3ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/error_page.js.erb
within layouts/javascript (0.3ms)
Rendered
/home/bobsleys/.gem/gems/web-console-2.2.1/lib/web_console/templates/index.html.erb
(25.5ms)
I answered the wizard questions as follows.
Do you want to start the Setup Wizard now?
(Choose 'n' if you need to manually customize any file before running the
Wizard.
You can run it later with `hobo g setup_wizard` from the application root
dir.) [y|n] y
=> "y"
User Resource
Choose a name for the user resource: [<enter>=user|<custom_name>]
=> "user"
Do you want to send an activation email to activate the user? [y|n] y
=> "y"
Invite Only Option
Do you want to add the features for an invite only website? [y|n] y
=> "y"
Do you want to prevent all access to the site to non-members?
(Choose 'y' only if ALL your site will be private, choose 'n' if at least
one controller will be public) [y|n] n
=> "n"
If you wish to prevent all access to some controller to non-members, add
'before_filter :login_required'
to the relevant controllers:
include Hobo::Controller::AuthenticationSupport
before_filter :login_required
(note that the include statement is not required for hobo_controllers)
NOTE: You might want to sign up as the administrator before adding this!
Templates Option
Will your application use only hobo/dryml web page templates?
(Choose 'n' only if you also plan to use plain rails/erb web page
templates) [y|n] n
=> "n"
Front Controller
Choose a name for the front controller: [<enter>=front|<custom_name>]
=> "front"
Front Theme
The currently available themes are clean, clean_admin, clean_sidemenu and
bootstrap.
Choose a theme for the front site: [<enter>=bootstrap|<custom_name>]
clean_sidemenu
=> "clean_sidemenu"
Front jQuery-UI Theme
The currently available jQuery-UI themes are listed here:
https://github.com/fatdude/jquery-ui-themes-rails/blob/master/README.markdown
Choose a jQuery-UI theme for the front site:
[<enter>=redmond|<custom_name>]
=> "redmond"
Admin Subsite
Choose a name for the admin subsite: [<enter>=admin|<custom_name>]
=> "admin"
The currently available themes are clean, clean_admin, clean_sidemenu and
bootstrap.
Choose a theme for the admin site: [<enter>=clean_admin|<custom_name>]
clean_admin
=> "clean_admin"
The currently available jQuery-UI themes are listed here:
https://github.com/fatdude/jquery-ui-themes-rails/blob/master/README.markdown
Choose a jQuery-UI theme for the admin site: [<enter>=flick|<custom_name>]
=> "flick"
DB Migration
Initial Migration: [s]kip, [g]enerate migration file only, generate and
[m]igrate: [s|g|m] m
=> "m"
I18n
The Hobo supported locales are nb pt-PT fr de it ru es en (please,
contribute to more translations)
Type the locales (space separated) you want to add to your application or
<enter> for 'en':
=> "en"
Git Repository
Do you want to initialize a git repository now? [y|n] n
=> "n"
I then ran "rails s" to start the server when I browser to localhost:3000
the above error appears. I'm kind of at a loss since this is a base app
with no changes made.
Thanks for any help
Bob
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.