Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layouts/application.html.haml wrong indentation #52

Closed
cthulhu666 opened this issue Dec 5, 2012 · 1 comment
Closed

layouts/application.html.haml wrong indentation #52

cthulhu666 opened this issue Dec 5, 2012 · 1 comment

Comments

@cthulhu666
Copy link

cthulhu@elitebook ~/projects $ rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
      create  
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/images/rails.png
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      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  app/mailers/.gitkeep
      create  app/models/.gitkeep
      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/initializers/wrap_parameters.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  lib/assets
      create  lib/assets/.gitkeep
      create  log
      create  log/.gitkeep
      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  script
      create  script/rails
      create  test/fixtures
      create  test/fixtures/.gitkeep
      create  test/functional
      create  test/functional/.gitkeep
      create  test/integration
      create  test/integration/.gitkeep
      create  test/unit
      create  test/unit/.gitkeep
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.gitkeep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.gitkeep
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
       apply  https://raw.github.com/RailsApps/rails-composer/master/composer.rb
         run    bundle update from "."
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.0.2) 
Using i18n (0.6.1) 
Using multi_json (1.4.0) 
Using activesupport (3.2.9) 
Using builder (3.0.4) 
Using activemodel (3.2.9) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.2) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.2.2) 
Using actionpack (3.2.9) 
Using mime-types (1.19) 
Using polyglot (0.3.3) 
Using treetop (1.4.12) 
Using mail (2.4.4) 
Using actionmailer (3.2.9) 
Using arel (3.0.2) 
Using tzinfo (0.3.35) 
Using activerecord (3.2.9) 
Using activeresource (3.2.9) 
Using bundler (1.2.2) 
Using coffee-script-source (1.4.0) 
Using execjs (1.4.0) 
Using coffee-script (2.2.0) 
Using rack-ssl (1.3.2) 
Using json (1.7.5) 
Using rdoc (3.12) 
Using thor (0.16.0) 
Using railties (3.2.9) 
Using coffee-rails (3.2.2) 
Using jquery-rails (2.1.4) 
Using rails (3.2.9) 
Using sass (3.2.3) 
Using sass-rails (3.2.5) 
Using sqlite3 (1.3.6) 
Using uglifier (1.3.0) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
 initializer    generators.rb
    composer  WOOT! The recipes you've selected are known to work together.
    composer  Using rails_apps_composer recipes to generate an application.
      insert    config/application.rb
      recipe  Running core recipe...
        core  selected all core recipes
      recipe  Running git recipe...
         git  initialize git
      remove    .gitignore
      create    .gitignore
         run    git init from "."
Initialized empty Git repository in /home/cthulhu/projects/myapp/.git/
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: initial commit" from "."
      recipe  Running railsapps recipe...
    question  Install an example application?
          1)  I want to build my own application
          2)  rails-stripe-membership-saas
          3)  rails-prelaunch-signup
          4)  rails3-bootstrap-devise-cancan
          5)  rails3-devise-rspec-cucumber
          6)  rails3-mongoid-devise
          7)  rails3-mongoid-omniauth
          8)  rails3-subdomains
   railsapps  Enter your selection: 4
      recipe  Running setup recipe...
       setup  Your operating system is linux-gnu.
       setup  You are using Ruby version 1.9.3.
       setup  You are using Rails version 3.2.9.
    question  Web server for development?
          1)  WEBrick (default)
          2)  Thin
          3)  Unicorn
          4)  Puma
       setup  Enter your selection: 1
    question  Web server for production?
          1)  Same as development
          2)  Thin
          3)  Unicorn
          4)  Puma
       setup  Enter your selection: 1
    question  Template engine?
          1)  ERB
          2)  Haml
          3)  Slim (experimental)
       setup  Enter your selection: 2
      create    README
      append    README
      recipe  Running readme recipe...
      recipe  Running gems recipe...
     gemfile    haml (>= 3.1.7)
     gemfile    haml-rails (>= 0.3.5)
     gemfile    hpricot (>= 0.8.6)
     gemfile    ruby_parser (>= 3.0.1)
     gemfile    rspec-rails (>= 2.11.4)
     gemfile    database_cleaner (>= 0.9.1)
     gemfile    email_spec (>= 1.4.0)
     gemfile    cucumber-rails (>= 1.3.0)
     gemfile    launchy (>= 2.1.2)
     gemfile    capybara (>= 1.1.3)
     gemfile    factory_girl_rails (>= 4.1.0)
     gemfile    bootstrap-sass (>= 2.1.1.0)
     gemfile    devise (>= 2.1.2)
     gemfile    cancan (>= 1.6.8)
     gemfile    rolify (>= 3.2.0)
     gemfile    simple_form (>= 2.0.4)
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: Gemfile" from "."
      recipe  Running testing recipe...
      recipe  Running email recipe...
      recipe  Running models recipe...
      recipe  Running controllers recipe...
      recipe  Running views recipe...
      recipe  Running routes recipe...
      recipe  Running frontend recipe...
      recipe  Running init recipe...
      recipe  Running prelaunch recipe...
      recipe  Running prelaunch recipe...
      recipe  Running extras recipe...
      extras  Set a robots.txt file to ban spiders? (y/n) n
      extras  Create a project-specific rvm gemset and .rvmrc? (y/n) y
      extras  Create a GitHub repository? (y/n) n
      extras  recipe setting quiet_assets for reduced asset pipeline logging
     gemfile    quiet_assets (>= 1.0.1)
      extras  Add 'therubyracer' JavaScript runtime (for Linux users without node.js)? (y/n) n
      extras  recipe creating project-specific rvm gemset and .rvmrc
      extras  creating RVM gemset 'myapp'
         run    rvm rvmrc trust from "."
Marked /home/cthulhu/projects/myapp/.rvmrc as trusted - failed
      extras  switching to gemset 'myapp'
         run    rvm gemset list from "."

gemsets for ruby-1.9.3-p327 (found in /home/cthulhu/.rvm/gems/ruby-1.9.3-p327)
   (default)
   global
=> myapp

      remove    .rvmrc
      create    .rvmrc
        gsub    .rvmrc
    composer  Installing gems. This will take a while.
         run    bundle install --without production from "."
Using rake (10.0.2) 
Using i18n (0.6.1) 
Using multi_json (1.4.0) 
Using activesupport (3.2.9) 
Using builder (3.0.4) 
Using activemodel (3.2.9) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.2) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.2.2) 
Using actionpack (3.2.9) 
Using mime-types (1.19) 
Using polyglot (0.3.3) 
Using treetop (1.4.12) 
Using mail (2.4.4) 
Using actionmailer (3.2.9) 
Using arel (3.0.2) 
Using tzinfo (0.3.35) 
Using activerecord (3.2.9) 
Using activeresource (3.2.9) 
Using addressable (2.3.2) 
Using bcrypt-ruby (3.0.1) 
Using sass (3.2.3) 
Using bootstrap-sass (2.2.1.1) 
Using bundler (1.2.2) 
Using cancan (1.6.8) 
Using nokogiri (1.5.5) 
Using ffi (1.2.0) 
Using childprocess (0.3.6) 
Using websocket (1.0.4) 
Using libwebsocket (0.1.7.1) 
Using rubyzip (0.9.9) 
Using selenium-webdriver (2.26.0) 
Using xpath (1.0.0) 
Using capybara (2.0.1) 
Using coffee-script-source (1.4.0) 
Using execjs (1.4.0) 
Using coffee-script (2.2.0) 
Using rack-ssl (1.3.2) 
Using json (1.7.5) 
Using rdoc (3.12) 
Using thor (0.16.0) 
Using railties (3.2.9) 
Using coffee-rails (3.2.2) 
Using diff-lcs (1.1.3) 
Using gherkin (2.11.5) 
Using cucumber (1.2.1) 
Using cucumber-rails (1.3.0) 
Using database_cleaner (0.9.1) 
Using orm_adapter (0.4.0) 
Using warden (1.2.1) 
Using devise (2.1.2) 
Using launchy (2.1.2) 
Using email_spec (1.4.0) 
Using factory_girl (4.1.0) 
Using factory_girl_rails (4.1.0) 
Using haml (3.1.7) 
Using haml-rails (0.3.5) 
Using hpricot (0.8.6) 
Using jquery-rails (2.1.4) 
Using quiet_assets (1.0.1) 
Using rails (3.2.9) 
Using rolify (3.2.0) 
Using rspec-core (2.12.1) 
Using rspec-expectations (2.12.0) 
Using rspec-mocks (2.12.0) 
Using rspec-rails (2.12.0) 
Using sexp_processor (4.1.2) 
Using ruby_parser (3.0.4) 
Using sass-rails (3.2.5) 
Using simple_form (2.0.4) 
Using sqlite3 (1.3.6) 
Using uglifier (1.3.0) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
    composer  Running 'after bundler' callbacks.
    composer  importing html2haml conversion tool
         run    bundle exec rake db:create:all from "."
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: create database" from "."
        gems  recipe installing simple_form for use with Twitter Bootstrap
    generate    simple_form:install --bootstrap
      create  config/initializers/simple_form.rb
      create  config/initializers/simple_form_bootstrap.rb
       exist  config/locales
      create  config/locales/simple_form.en.yml
      create  lib/templates/haml/scaffold/_form.html.haml
===============================================================================

  Be sure to have a copy of the Bootstrap stylesheet available on your
  application, you can get it on http://twitter.github.com/bootstrap.

  Inside your views, use the 'simple_form_for' with one of the Bootstrap form
  classes, '.form-horizontal', '.form-inline', '.form-search' or
  '.form-vertical', as the following:

    = simple_form_for(@user, :html => {:class => 'form-horizontal' }) do |form|

===============================================================================
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: generators" from "."
     testing  recipe running after 'bundle install'
     testing  recipe installing RSpec
    generate    rspec:install
      create  .rspec
      create  spec
      create  spec/spec_helper.rb
      remove    spec/spec_helper.rb
      create    spec/spec_helper.rb
    generate    email_spec:steps
      create  features/step_definitions/email_steps.rb
      insert    spec/spec_helper.rb
      insert    spec/spec_helper.rb
         run    rm -rf test/ from "."
      insert    config/application.rb
      create    spec/support/devise.rb
     testing  recipe installing Cucumber
    generate    cucumber:install --capybara --rspec
      create  config/cucumber.yml
      create  script/cucumber
       chmod  script/cucumber
       exist  features/step_definitions
      create  features/support
      create  features/support/env.rb
       exist  lib/tasks
      create  lib/tasks/cucumber.rake
        gsub  config/database.yml
        gsub  config/database.yml
       force  config/database.yml
        gsub    config/cucumber.yml
      create    features/support/email_spec.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: testing framework" from "."
       email  recipe running after 'bundle install'
        gsub    config/environments/development.rb
        gsub    config/environments/development.rb
      insert    config/environments/test.rb
        gsub    config/environments/production.rb
      insert    config/environments/development.rb
      insert    config/environments/production.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: set email accounts" from "."
      models  recipe running after 'bundle install'
        gsub    config/application.rb
    generate    devise:install
      create  config/initializers/devise.rb
      create  config/locales/devise.en.yml
===============================================================================

Some setup you must do manually if you haven't yet:

  1. Ensure you have defined default url options in your environments files. Here 
     is an example of default_url_options appropriate for a development environment 
     in config/environments/development.rb:

       config.action_mailer.default_url_options = { :host => 'localhost:3000' }

     In production, :host should be set to the actual host of your application.

  2. Ensure you have defined root_url to *something* in your config/routes.rb.
     For example:

       root :to => "home#index"

  3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       <p class="notice"><%= notice %></p>
       <p class="alert"><%= alert %></p>

  4. If you are deploying Rails 3.1 on Heroku, you may want to set:

       config.assets.initialize_on_precompile = false

     On config/application.rb forcing your application to not access the DB
     or load models when precompiling your assets.

===============================================================================
    generate    devise user
      invoke  active_record
      create    db/migrate/20121205123202_devise_create_users.rb
      create    app/models/user.rb
      invoke    rspec
      create      spec/models/user_spec.rb
      invoke      factory_girl
      create        spec/factories/users.rb
      insert    app/models/user.rb
       route  devise_for :users
    generate    migration AddNameToUsers name:string
      invoke  active_record
      create    db/migrate/20121205123207_add_name_to_users.rb
      remove    app/models/user.rb
      create    app/models/user.rb
        gsub    config/initializers/devise.rb
    generate    cancan:ability
      create  app/models/ability.rb
      remove    app/models/ability.rb
      create    app/models/ability.rb
      insert    app/models/user.rb
    generate    rolify:role Role User
      create  app/models/role.rb
      insert  app/models/user.rb
      create  config/initializers/rolify.rb
      create  db/migrate/20121205123217_rolify_create_roles.rb
===============================================================================

An initializer file has been created here: config/initializers/rolify.rb, you 
can change rolify settings to match your needs. 
Defaults values are commented out.

A Role class has been been created in app/models (with the name you gave as 
argument otherwise the default is role.rb), you can add your own business logic 
inside.

Inside your User class (or the name you gave as argument otherwise the default 
is user.rb), rolify method has been inserted to provide rolify methods.

Now, if you just have to run the migration using rake command:

   rake db:migrate

and you will be able to add the resourcify method inside all models you want 
scoped by a role.

===============================================================================         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: models" from "."
  controllers  recipe running after 'bundle install'
      insert    app/controllers/application_controller.rb
    generate    controller
      create  app/controllers/home_controller.rb
       route  get "home/index"
      invoke  haml
      create    app/views/home
      create    app/views/home/index.html.haml
      invoke  rspec
      create    spec/controllers/home_controller_spec.rb
      invoke  helper
      create    app/helpers/home_helper.rb
      invoke    rspec
      invoke  assets
      invoke    coffee
      create      app/assets/javascripts/home.js.coffee
      invoke    scss
      create      app/assets/stylesheets/home.css.scss
        gsub    app/controllers/home_controller.rb
      remove    app/controllers/users_controller.rb
      create    app/controllers/users_controller.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: controllers" from "."
       views  recipe running after 'bundle install'
      remove    app/views/devise/shared/_links.html.erb
      remove    app/views/devise/shared/_links.html.haml
      create    app/views/devise/shared/_links.html.haml
      remove    app/views/devise/registrations/edit.html.erb
      remove    app/views/devise/registrations/edit.html.haml
      create    app/views/devise/registrations/edit.html.haml
      remove    app/views/devise/registrations/new.html.erb
      remove    app/views/devise/registrations/new.html.haml
      create    app/views/devise/registrations/new.html.haml
      remove    app/views/devise/sessions/new.html.erb
      remove    app/views/devise/sessions/new.html.haml
      create    app/views/devise/sessions/new.html.haml
      remove    app/views/home/index.html.erb
      remove    app/views/home/index.html.haml
      create    app/views/home/index.html.haml
      remove    app/views/users/index.html.erb
      remove    app/views/users/index.html.haml
      create    app/views/users/index.html.haml
      remove    app/views/users/_user.html.erb
      remove    app/views/users/_user.html.haml
      create    app/views/users/_user.html.haml
      remove    app/views/users/show.html.erb
      remove    app/views/users/show.html.haml
      create    app/views/users/show.html.haml
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: views" from "."
      routes  recipe running after 'bundle install'
      remove    config/routes.rb
      create    config/routes.rb
        gsub    config/routes.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: routes" from "."
    frontend  recipe running after 'bundle install'
      remove    app/views/layouts/application.html.erb
      remove    app/views/layouts/application.html.haml
      create    app/views/layouts/application.html.haml
      remove    app/views/layouts/application.html.erb
      remove    app/views/layouts/application.html.haml
      create    app/views/layouts/application.html.haml
      remove    app/views/layouts/_messages.html.erb
      remove    app/views/layouts/_messages.html.haml
      create    app/views/layouts/_messages.html.haml
      remove    app/views/layouts/_messages.html.erb
      remove    app/views/layouts/_messages.html.haml
      create    app/views/layouts/_messages.html.haml
      remove    app/views/layouts/_navigation.html.erb
      remove    app/views/layouts/_navigation.html.haml
      create    app/views/layouts/_navigation.html.haml
      remove    app/views/layouts/_navigation.html.erb
      remove    app/views/layouts/_navigation.html.haml
      create    app/views/layouts/_navigation.html.haml
        gsub    app/views/layouts/application.html.haml
        gsub    app/views/layouts/_navigation.html.haml
      remove    app/assets/stylesheets/application.css.scss
      create    app/assets/stylesheets/application.css.scss
      remove    app/assets/stylesheets/application.css.scss
      create    app/assets/stylesheets/application.css.scss
      insert    app/assets/javascripts/application.js
      create    app/assets/stylesheets/bootstrap_and_overrides.css.scss
      remove    app/assets/stylesheets/application.css
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: front-end framework" from "."
    composer  Running 'after everything' callbacks.
      readme  recipe running after everything
      remove    README
      remove    README.rdoc
      remove    doc/README_FOR_APP
      remove    public/humans.txt
      create    public/humans.txt
      remove    README
      create    README
      remove    README.textile
      create    README.textile
        gsub    README
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README
        gsub    README
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
        gsub    README.textile
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: add README files" from "."
     testing  recipe running after everything
     testing  copying RSpec files from the rails3-bootstrap-devise-cancan examples
      remove    spec/factories/users.rb
      create    spec/factories/users.rb
      remove    spec/controllers/home_controller_spec.rb
      create    spec/controllers/home_controller_spec.rb
      remove    spec/controllers/users_controller_spec.rb
      create    spec/controllers/users_controller_spec.rb
      remove    spec/models/user_spec.rb
      create    spec/models/user_spec.rb
      remove    spec/views/home/index.html.erb_spec.rb
      remove    spec/views/home/index.html.haml_spec.rb
      remove    spec/views/users/show.html.erb_spec.rb
      remove    spec/views/users/show.html.haml_spec.rb
      remove    spec/helpers/home_helper_spec.rb
      remove    spec/helpers/users_helper_spec.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: rspec files" from "."
     testing  copying Cucumber scenarios from the rails3-bootstrap-devise-cancan examples
      remove    spec/controllers/home_controller_spec.rb
      create    spec/controllers/home_controller_spec.rb
      remove    features/users/sign_in.feature
      create    features/users/sign_in.feature
      remove    features/users/sign_out.feature
      create    features/users/sign_out.feature
      remove    features/users/sign_up.feature
      create    features/users/sign_up.feature
      remove    features/users/user_edit.feature
      create    features/users/user_edit.feature
      remove    features/users/user_show.feature
      create    features/users/user_show.feature
      remove    features/step_definitions/user_steps.rb
      create    features/step_definitions/user_steps.rb
      remove    features/support/paths.rb
      create    features/support/paths.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: cucumber files" from "."
        init  recipe running after everything
      append    db/seeds.rb
      append    db/seeds.rb
      append    db/seeds.rb
        init  applying migrations and seeding the database
         run    bundle exec rake db:migrate from "."
==  DeviseCreateUsers: migrating ==============================================
-- create_table(:users)
   -> 0.0055s
-- add_index(:users, :email, {:unique=>true})
   -> 0.0005s
-- add_index(:users, :reset_password_token, {:unique=>true})
   -> 0.0005s
==  DeviseCreateUsers: migrated (0.0066s) =====================================

==  AddNameToUsers: migrating =================================================
-- add_column(:users, :name, :string)
   -> 0.0013s
==  AddNameToUsers: migrated (0.0015s) ========================================

==  RolifyCreateRoles: migrating ==============================================
-- create_table(:roles)
   -> 0.0010s
-- create_table(:users_roles, {:id=>false})
   -> 0.0004s
-- add_index(:roles, :name)
   -> 0.0003s
-- add_index(:roles, [:name, :resource_type, :resource_id])
   -> 0.0004s
-- add_index(:users_roles, [:user_id, :role_id])
   -> 0.0003s
==  RolifyCreateRoles: migrated (0.0029s) =====================================

         run    bundle exec rake db:test:prepare from "."
         run    bundle exec rake db:seed from "."
CREATING ROLES
SETTING UP DEFAULT USER LOGIN
New user created: First User
New user created: Second User
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: set up database" from "."
      extras  recipe removing unnecessary files and whitespace
      remove    public/index.html
      remove    app/assets/images/rails.png
        gsub    Gemfile
        gsub    Gemfile
        gsub    config/routes.rb
        gsub    config/routes.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: extras" from "."
    composer  WOOT! The recipes you've selected are known to work together.
    composer  If they don't, open an issue for rails_apps_composer on GitHub.
    composer  WOOT! The preferences you've selected are known to work together.
    composer  If they don't, open an issue for rails_apps_composer on GitHub.
    composer  Finished running the rails_apps_composer app template.
    composer  Your new Rails app is ready. Time to run 'bundle install'.
         run  bundle install
Using rake (10.0.2) 
Using i18n (0.6.1) 
Using multi_json (1.4.0) 
Using activesupport (3.2.9) 
Using builder (3.0.4) 
Using activemodel (3.2.9) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.2) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.2.2) 
Using actionpack (3.2.9) 
Using mime-types (1.19) 
Using polyglot (0.3.3) 
Using treetop (1.4.12) 
Using mail (2.4.4) 
Using actionmailer (3.2.9) 
Using arel (3.0.2) 
Using tzinfo (0.3.35) 
Using activerecord (3.2.9) 
Using activeresource (3.2.9) 
Using addressable (2.3.2) 
Using bcrypt-ruby (3.0.1) 
Using sass (3.2.3) 
Using bootstrap-sass (2.2.1.1) 
Using cancan (1.6.8) 
Using nokogiri (1.5.5) 
Using ffi (1.2.0) 
Using childprocess (0.3.6) 
Using websocket (1.0.4) 
Using libwebsocket (0.1.7.1) 
Using rubyzip (0.9.9) 
Using selenium-webdriver (2.26.0) 
Using xpath (1.0.0) 
Using capybara (2.0.1) 
Using coffee-script-source (1.4.0) 
Using execjs (1.4.0) 
Using coffee-script (2.2.0) 
Using rack-ssl (1.3.2) 
Using json (1.7.5) 
Using rdoc (3.12) 
Using thor (0.16.0) 
Using railties (3.2.9) 
Using coffee-rails (3.2.2) 
Using diff-lcs (1.1.3) 
Using gherkin (2.11.5) 
Using cucumber (1.2.1) 
Using cucumber-rails (1.3.0) 
Using database_cleaner (0.9.1) 
Using orm_adapter (0.4.0) 
Using warden (1.2.1) 
Using devise (2.1.2) 
Using launchy (2.1.2) 
Using email_spec (1.4.0) 
Using factory_girl (4.1.0) 
Using factory_girl_rails (4.1.0) 
Using haml (3.1.7) 
Using haml-rails (0.3.5) 
Using hpricot (0.8.6) 
Using jquery-rails (2.1.4) 
Using quiet_assets (1.0.1) 
Using bundler (1.2.2) 
Using rails (3.2.9) 
Using rolify (3.2.0) 
Using rspec-core (2.12.1) 
Using rspec-expectations (2.12.0) 
Using rspec-mocks (2.12.0) 
Using rspec-rails (2.12.0) 
Using sexp_processor (4.1.2) 
Using ruby_parser (3.0.4) 
Using sass-rails (3.2.5) 
Using simple_form (2.0.4) 
Using sqlite3 (1.3.6) 
Using uglifier (1.3.0) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

cthulhu@elitebook ~/projects $ head myapp/app/views/layouts/application.html.haml 
!!!
%html
  %head
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
      %title= content_for?(:title) ? yield(:title) : "Myapp"
      %meta{:content => content_for?(:description) ? yield(:description) : "Myapp", :name => "description"}
        = stylesheet_link_tag "application", :media => "all"
        = javascript_include_tag "application"
        = csrf_meta_tags
        = yield(:head)

As you can see, there is wrong indendation below %meta tags. Output HTML is correct, but during functional tests:

../home/cthulhu/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/document.rb:43:in `initialize' : ignoring attempt to close head with meta
  opened at byte 23, line 3
  closed at byte 327, line 11
  attributes at open: {}
  text around open: "OCTYPE html>\n<html>\n<head>\n<meta content"
  text around close: "script\"></script>\n\n\n</meta>\n</meta>\n</he" (StandardWarning)

Looks like an issue with html2haml, but i don't have time right now to take a closer look.

@DanielKehoe
Copy link
Member

This is an html2haml issue. I've reported it but it has not been addressed:
haml/html2haml#14

zealot128 pushed a commit to zealot128-os/rails-composer that referenced this issue Apr 12, 2014
Added redis.rb recipe (from mbleigh's rails_wizard) and added my own resque.rb recipe. Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants