Skip to content

Instantly share code, notes, and snippets.

@pi-chan
Created May 24, 2014 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pi-chan/16e053d83cabcb498336 to your computer and use it in GitHub Desktop.
Save pi-chan/16e053d83cabcb498336 to your computer and use it in GitHub Desktop.
rails-composer output
% 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/javascripts/application.js
create app/assets/stylesheets/application.css
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/views/layouts/application.html.erb
create app/assets/images/.keep
create app/mailers/.keep
create app/models/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/bundle
create bin/rails
create bin/rake
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/secrets.yml
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/cookies_serializer.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.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 lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/robots.txt
create test/fixtures
create test/fixtures/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
apply https://raw.github.com/RailsApps/rails-composer/master/composer.rb
composer
composer _____ _ _
composer | __ \ (_) | /\
composer | |__) |__ _ _| |___ / \ _ __ _ __ ___
composer | _ // _` | | / __| / /\ \ | '_ | '_ \/ __|
composer | | \ \ (_| | | \__ \/ ____ \| |_) | |_) \__ \
composer |_| \_\__,_|_|_|___/_/ \_\ .__/| .__/|___/
composer | | | |
composer | | | |
composer
composer Rails Composer, open source, supported by subscribers.
composer Please join RailsApps and support development of Rails Composer.
composer Need help? Ask on Stack Overflow with the tag 'railsapps.'
composer Your new application will contain diagnostics in its README file.
composer You are using Rails version 4.1.0.
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 /Users/hiromasa/Documents/work/myapp/.git/
run git add -A from "."
run git commit -qm "rails_apps_composer: initial commit" from "."
fatal: user.name is not set locally
recipe Running railsapps recipe...
question Build a starter application?
1) Build a RailsApps example application
2) Contributed applications (none available)
3) Custom application (experimental)
railsapps Enter your selection: 3
recipe Running learn_rails recipe...
recipe Running rails_bootstrap recipe...
recipe Running rails_foundation recipe...
recipe Running rails_omniauth recipe...
recipe Running rails_devise recipe...
recipe Running rails_devise_pundit recipe...
recipe Running rails_signup_download recipe...
recipe Running setup recipe...
setup Your operating system is darwin13.1.0.
setup You are using Ruby version 2.1.0.
setup You are using Rails version 4.1.0.
question Web server for development?
1) WEBrick (default)
2) Thin
3) Unicorn
4) Puma
5) Phusion Passenger (Apache/Nginx)
6) Phusion Passenger (Standalone)
setup Enter your selection: 3
question Web server for production?
1) Same as development
2) Thin
3) Unicorn
4) Puma
5) Phusion Passenger (Apache/Nginx)
6) Phusion Passenger (Standalone)
setup Enter your selection: 1
question Database used in development?
1) SQLite
2) PostgreSQL
3) MySQL
setup Enter your selection: 1
question Template engine?
1) ERB
2) Haml
3) Slim
setup Enter your selection: 2
question Test framework?
1) None
2) RSpec with Capybara
setup Enter your selection: 2
setup Adding DatabaseCleaner, FactoryGirl, Faker, Launchy, Selenium
question Continuous testing?
1) None
2) Guard
setup Enter your selection: 2
question Front-end framework?
1) None
2) Bootstrap 3.0
3) Bootstrap 2.3
4) Zurb Foundation 5.0
5) Zurb Foundation 4.0
6) Simple CSS
setup Enter your selection: 2
question Add support for sending email?
1) None
2) Gmail
3) SMTP
4) SendGrid
5) Mandrill
setup Enter your selection: 2
question Authentication?
1) None
2) Devise
3) OmniAuth
setup Enter your selection: 1
question Authorization?
1) None
2) Pundit
setup Enter your selection: 1
question Use a form builder gem?
1) None
2) SimpleForm
setup Enter your selection: 1
question Install a starter app?
1) None
2) Home Page
setup Enter your selection: 1
create README
append README
recipe Running readme recipe...
recipe Running gems recipe...
insert Gemfile
gsub Gemfile
gsub Gemfile
gsub Gemfile
gsub Gemfile
run git add -A from "."
run git commit -qm "rails_apps_composer: Gemfile" from "."
recipe Running testing recipe...
recipe Running tests4 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) y
extras Create a GitHub repository? (y/n) n
question Add gem and file for environment variables?
1) None
2) Add .env with Foreman
3) Add application.yml with Figaro
extras Enter your selection: 2
extras Reduce assets logger noise during development? (y/n) y
extras Improve error reporting with 'better_errors' during development? (y/n) y
extras Use 'pry' as console replacement during development and test? (y/n) y
extras Use or create a project-specific rvm gemset? (y/n) n
extras recipe setting quiet_assets for reduced asset pipeline logging
extras recipe creating .env file for development environment variables with foreman
extras recipe adding better_errors gem
extras recipe adding pry-rails gem
extras recipe banning spiders by modifying 'public/robots.txt'
recipe Running deployment recipe...
question Add a deployment mechanism?
1) None
2) Capistrano3
deployment Enter your selection: 1
composer Installing gems. This will take a while.
run bundle install --without production from "."
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.3.1
Using i18n 0.6.9
Using json 1.8.1
Using minitest 5.3.3
Using thread_safe 0.3.3
Using tzinfo 1.1.0
Using activesupport 4.1.0
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.1.0
Using mime-types 1.25.1
Using polyglot 0.3.4
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.1.0
Using activemodel 4.1.0
Installing arel 5.0.1.20140414130214
Using activerecord 4.1.0
Installing addressable 2.3.6
Using coderay 1.1.0
Using better_errors 1.1.0
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.2.19
Installing bootstrap-sass 3.1.1.1
Using bundler 1.6.1
Using mini_portile 0.5.3
Building nokogiri using packaged libraries.
Building libxml2-2.8.0 for nokogiri with the following patches applied:
- 0001-Fix-parser-local-buffers-size-problems.patch
- 0002-Fix-entities-local-buffers-size-problems.patch
- 0003-Fix-an-error-in-previous-commit.patch
- 0004-Fix-potential-out-of-bound-access.patch
- 0005-Detect-excessive-entities-expansion-upon-replacement.patch
- 0006-Do-not-fetch-external-parsed-entities.patch
- 0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
- 0008-Improve-handling-of-xmlStopParser.patch
- 0009-Fix-a-couple-of-return-without-value.patch
- 0010-Keep-non-significant-blanks-node-in-HTML-parser.patch
- 0011-Do-not-fetch-external-parameter-entities.patch
************************************************************************
IMPORTANT! Nokogiri builds and uses a packaged version of libxml2.
If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:
gem install nokogiri -- --use-system-libraries
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
However, note that nokogiri does not necessarily support all versions
of libxml2.
For example, libxml2-2.9.0 and higher are currently known to be broken
and thus unsupported by nokogiri, due to compatibility problems and
XPath optimization bugs.
************************************************************************
Installing nokogiri 1.6.2
Installing xpath 2.0.0
Installing capybara 2.2.1
Using timers 1.1.0
Using celluloid 0.15.2
Using nio4r 1.0.0
Using celluloid-io 0.15.0
Using ffi 1.9.3
Installing childprocess 0.5.3
Using coffee-script-source 1.7.0
Using execjs 2.0.2
Using coffee-script 2.2.0
Using thor 0.19.1
Using railties 4.1.0
Using coffee-rails 4.0.1
Installing database_cleaner 1.2.0
Installing diff-lcs 1.2.5
Installing dotenv 0.7.0
Installing factory_girl 4.4.0
Installing factory_girl_rails 4.4.1
Installing faker 1.3.0
Installing foreman 0.66.0
Using formatador 0.2.4
Using rb-fsevent 0.9.4
Installing rb-inotify 0.9.4
Installing listen 2.7.4
Using lumberjack 1.0.5
Using method_source 0.8.2
Using slop 3.5.0
Using pry 0.9.12.6
Installing guard 2.6.1
Using guard-bundler 2.0.0
Using guard-rails 0.5.0
Installing rspec-support 3.0.0.beta2
Installing rspec-core 3.0.0.beta2
Installing rspec-expectations 3.0.0.beta2
Installing rspec-mocks 3.0.0.beta2
Installing rspec 3.0.0.beta2
Installing guard-rspec 4.2.2
Using tilt 1.4.1
Using haml 4.1.0.beta.1
Using haml-rails 0.5.3
Using hike 1.2.3
Using hpricot 0.8.6
Using sexp_processor 4.4.3
Using ruby_parser 3.1.3
Using html2haml 1.0.1
Installing interception 0.5
Installing multi_json 1.10.0
Installing jbuilder 2.0.7
Using jquery-rails 3.1.0
Installing kgio 2.9.2
Installing launchy 2.4.2
Installing pry-rails 0.3.2
Installing pry-rescue 1.4.1
Using quiet_assets 1.0.2
Using sprockets 2.11.0
Installing sprockets-rails 2.1.3
Using rails 4.1.0
Installing rails_apps_pages 0.4.3
Installing rails_apps_testing 0.2.1
Installing rails_layout 1.0.16
Installing raindrops 0.13.0
Using rb-fchange 0.0.6
Using rdoc 4.1.1
Installing rspec-collection_matchers 0.0.4
Installing rspec-rails 3.0.0.beta2
Installing rubyzip 1.1.3
Using sass-rails 4.0.3
Using sdoc 0.4.0
Installing websocket 1.0.7
Installing selenium-webdriver 2.41.0
Using spring 1.1.2
Using sqlite3 1.3.9
Using turbolinks 2.2.2
Using uglifier 2.5.0
Installing unicorn 4.8.3
Installing unicorn-rails 2.1.1
Your bundle is complete!
Gems in the group production were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
composer Updating gem paths.
WARN: Unresolved specs during Gem::Specification.reset:
minitest (~> 5.1)
rake (>= 0.8.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
composer Running 'after bundler' callbacks.
composer importing html2haml conversion tool
gems
run bundle exec rake db:create:all from "."
run git add -A from "."
run git commit -qm "rails_apps_composer: create database" from "."
gems
create .env
create Procfile
run git add -A from "."
run git commit -qm "rails_apps_composer: generators" from "."
testing
testing recipe running after 'bundle install'
testing recipe initializing Guard
run bundle exec guard init from "."
12:08:10 - INFO - Writing new Guardfile to /Users/hiromasa/Documents/work/myapp/Guardfile
12:08:10 - INFO - bundler guard added to Guardfile, feel free to edit it
12:08:10 - INFO - rails guard added to Guardfile, feel free to edit it
12:08:10 - INFO - rspec guard added to Guardfile, feel free to edit it
run git add -A from "."
run git commit -qm "rails_apps_composer: testing framework" from "."
tests4
tests4 recipe running after 'bundle install'
tests4 recipe installing RSpec
generate testing:configure rspec -f
run rm -rf test/ from "."
generate rspec:install
create .rspec
create spec
create spec/spec_helper.rb
insert .rspec
insert config/application.rb
gsub spec/spec_helper.rb
create spec/support/capybara.rb
gsub spec/spec_helper.rb
create spec/support/database_cleaner.rb
create spec/support/factory_girl.rb
tests4 recipe initializing Guard
run bundle exec guard init from "."
12:08:18 - INFO - bundler guard added to Guardfile, feel free to edit it
12:08:18 - INFO - rails guard added to Guardfile, feel free to edit it
12:08:18 - INFO - rspec guard added to Guardfile, feel free to edit it
run git add -A from "."
run git commit -qm "rails_apps_composer: testing framework" from "."
email
email recipe running after 'bundle install'
insert config/environments/development.rb
insert config/environments/production.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
models recipe running after 'bundle install'
run git add -A from "."
run git commit -qm "rails_apps_composer: models" from "."
# On branch master
nothing to commit, working directory clean
controllers
controllers recipe running after 'bundle install'
run git add -A from "."
run git commit -qm "rails_apps_composer: controllers" from "."
# On branch master
nothing to commit, working directory clean
views
views recipe running after 'bundle install'
run git add -A from "."
run git commit -qm "rails_apps_composer: views" from "."
# On branch master
nothing to commit, working directory clean
routes
routes recipe running after 'bundle install'
run git add -A from "."
run git commit -qm "rails_apps_composer: routes" from "."
# On branch master
nothing to commit, working directory clean
frontend
frontend recipe running after 'bundle install'
generate layout:install bootstrap3 -f
remove app/assets/stylesheets/application.css
create app/assets/stylesheets/application.css.scss
create app/assets/stylesheets/framework_and_overrides.css.scss
force app/assets/javascripts/application.js
remove app/assets/stylesheets/simple.css
remove app/assets/stylesheets/foundation_and_overrides.css.scss
remove app/views/layouts/application.html.erb
create app/views/layouts/application.html.haml
create app/views/layouts/_messages.html.haml
create app/views/layouts/_navigation.html.haml
create app/views/layouts/_navigation_links.html.erb
run git add -A from "."
run git commit -qm "rails_apps_composer: front-end framework" from "."
extras
gsub public/robots.txt
gsub public/robots.txt
composer Running 'after everything' callbacks.
readme
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.md
create README.md
gsub README
gsub README.md
gsub README.md
gsub README.md
gsub README.md
gsub README.md
gsub README
gsub README
gsub README.md
gsub README.md
gsub README.md
gsub README.md
run git add -A from "."
run git commit -qm "rails_apps_composer: add README files" from "."
testing
testing recipe running after everything
tests4
tests4 recipe running after everything
init
init recipe running after everything
insert config/secrets.yml
insert config/secrets.yml
insert config/secrets.yml
insert config/secrets.yml
append .env
create .env.example
append db/seeds.rb
init applying migrations and seeding the database
run foreman run bundle exec rake db:migrate from "."
run foreman run bundle exec rake db:seed from "."
run git add -A from "."
run git commit -qm "rails_apps_composer: set up database" from "."
generate layout:navigation -f
identical app/views/layouts/_navigation_links.html.erb
run git add -A from "."
run git commit -qm "rails_apps_composer: navigation links" from "."
# On branch master
nothing to commit, working directory clean
extras
extras recipe removing unnecessary files and whitespace
remove public/index.html
remove app/assets/images/rails.png
gsub Gemfile
gsub Gemfile
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 Your new application will contain diagnostics in its README file.
composer When reporting an issue on GitHub, include the README diagnostics.
composer Finished running the rails_apps_composer app template.
composer Your new Rails app is ready. Time to run 'bundle install'.
run bundle install
Resolving dependencies...
Using rake 10.3.1
Using i18n 0.6.9
Using json 1.8.1
Using minitest 5.3.3
Using thread_safe 0.3.3
Using tzinfo 1.1.0
Using activesupport 4.1.0
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.1.0
Using mime-types 1.25.1
Using polyglot 0.3.4
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.1.0
Using activemodel 4.1.0
Using arel 5.0.1.20140414130214
Using activerecord 4.1.0
Using addressable 2.3.6
Using coderay 1.1.0
Using better_errors 1.1.0
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.2.19
Using bootstrap-sass 3.1.1.1
Using bundler 1.6.1
Using mini_portile 0.5.3
Using nokogiri 1.6.2
Using xpath 2.0.0
Using capybara 2.2.1
Using timers 1.1.0
Using celluloid 0.15.2
Using nio4r 1.0.0
Using celluloid-io 0.15.0
Using ffi 1.9.3
Using childprocess 0.5.3
Using coffee-script-source 1.7.0
Using execjs 2.0.2
Using coffee-script 2.2.0
Using thor 0.19.1
Using railties 4.1.0
Using coffee-rails 4.0.1
Using database_cleaner 1.2.0
Using diff-lcs 1.2.5
Using dotenv 0.7.0
Using factory_girl 4.4.0
Using factory_girl_rails 4.4.1
Using faker 1.3.0
Using foreman 0.66.0
Using formatador 0.2.4
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.4
Using listen 2.7.4
Using lumberjack 1.0.5
Using method_source 0.8.2
Using slop 3.5.0
Using pry 0.9.12.6
Using guard 2.6.1
Using guard-bundler 2.0.0
Using guard-rails 0.5.0
Using rspec-support 3.0.0.beta2
Using rspec-core 3.0.0.beta2
Using rspec-expectations 3.0.0.beta2
Using rspec-mocks 3.0.0.beta2
Using rspec 3.0.0.beta2
Using guard-rspec 4.2.2
Using tilt 1.4.1
Using haml 4.1.0.beta.1
Using haml-rails 0.5.3
Using hike 1.2.3
Using hpricot 0.8.6
Using sexp_processor 4.4.3
Using ruby_parser 3.1.3
Using html2haml 1.0.1
Using interception 0.5
Using multi_json 1.10.0
Using jbuilder 2.0.7
Using jquery-rails 3.1.0
Using kgio 2.9.2
Using launchy 2.4.2
Using pry-rails 0.3.2
Using pry-rescue 1.4.1
Using quiet_assets 1.0.2
Using sprockets 2.11.0
Using sprockets-rails 2.1.3
Using rails 4.1.0
Using rails_layout 1.0.16
Using raindrops 0.13.0
Using rb-fchange 0.0.6
Using rdoc 4.1.1
Using rspec-collection_matchers 0.0.4
Using rspec-rails 3.0.0.beta2
Using rubyzip 1.1.3
Using sass-rails 4.0.3
Using sdoc 0.4.0
Using websocket 1.0.7
Using selenium-webdriver 2.41.0
Using spring 1.1.2
Using sqlite3 1.3.9
Using turbolinks 2.2.2
Using uglifier 2.5.0
Using unicorn 4.8.3
Using unicorn-rails 2.1.1
Your bundle is complete!
Gems in the group production were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
run bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment