composer WOOT! The recipes you've selected are known to work together.
composer You are using Rails version 4.0.2.
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 /Users/bob/sites/sanetodo3/.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 for Rails 4.0?
1) Build a RailsApps starter application
2) Build a contributed application
3) I want to build my own application
railsapps Enter your selection: 1
question Starter apps for Rails 4.0. More to come.
1) learn-rails
2) rails-bootstrap
3) rails-foundation
4) rails-devise
railsapps Enter your selection: 4
recipe Running setup recipe...
setup Your operating system is darwin12.5.0.
setup You are using Ruby version 2.1.0.
setup You are using Rails version 4.0.2.
question Web server for development?
1) WEBrick (default)
2) Thin
3) Unicorn
4) Puma
setup Enter your selection: 2
question Web server for production?
1) Same as development
2) Thin
3) Unicorn
4) Puma
setup Enter your selection: 2
question Database used in development?
1) SQLite
2) PostgreSQL
3) MySQL
4) MongoDB
setup Enter your selection: 1
question Template engine?
1) ERB
2) Haml
3) Slim
setup Enter your selection: 1
question Continuous testing?
1) None
2) Guard
setup Enter your selection: 1
question Front-end framework?
1) None
2) Zurb Foundation 5.0
3) Zurb Foundation 4.0
4) Twitter Bootstrap 3.0
5) Twitter Bootstrap 2.3
6) Simple CSS
setup Enter your selection: 4
setup The Devise 'forgot password' feature requires email.
question Add support for sending email?
1) None
2) Gmail
3) SMTP
4) SendGrid
5) Mandrill
setup Enter your selection: 5
question Devise modules?
1) Devise with default modules
2) Devise with Confirmable module
3) Devise with Confirmable and Invitable modules
setup Enter your selection: 3
question Use a form builder gem?
1) None
2) SimpleForm
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 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 apps4 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) y
extras Use or create a project-specific rvm gemset? (y/n) y
extras recipe creating project-specific rvm gemset and .rvmrc
extras creating RVM gemset 'sanetodo3'
https://raw.github.com/RailsApps/rails-composer/master/composer.rb:2649:inapply': uninitialized constant Rails::Generators::AppGenerator::RVM (NameError) from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:ininstance_eval'
from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:in apply' from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/railties-4.0.2/lib/rails/generators/app_base.rb:101:inapply_rails_template'
from (eval):1:in `apply_rails_template'
I haven't been able to reproduce this failure with the newest version of Rails Composer. Sorry it took me so long to investigate. Please open a new issue if you still see problems.
extras recipe creating project-specific rvm gemset and .rvmrc extras creating RVM gemset 'sanetodo3' https://raw.github.com/RailsApps/rails-composer/master/composer.rb:2649:in
apply': uninitialized constant Rails::Generators::AppGenerator::RVM (NameError) from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:in
instance_eval' from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:in `apply'-> Also crashes if you don't create a gemset first...
the above happened after following: $ mkdir myapp $ cd myapp $ rvm use ruby-2.1.0@myapp --ruby-version --create $ gem install rails $ rails new . -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
....
full log:
Initialized empty Git repository in /Users/bob/sites/sanetodo3/.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 for Rails 4.0? 1) Build a RailsApps starter application 2) Build a contributed application 3) I want to build my own application railsapps Enter your selection: 1 question Starter apps for Rails 4.0. More to come. 1) learn-rails 2) rails-bootstrap 3) rails-foundation 4) rails-devise railsapps Enter your selection: 4 recipe Running setup recipe... setup Your operating system is darwin12.5.0. setup You are using Ruby version 2.1.0. setup You are using Rails version 4.0.2. question Web server for development? 1) WEBrick (default) 2) Thin 3) Unicorn 4) Puma setup Enter your selection: 2 question Web server for production? 1) Same as development 2) Thin 3) Unicorn 4) Puma setup Enter your selection: 2 question Database used in development? 1) SQLite 2) PostgreSQL 3) MySQL 4) MongoDB setup Enter your selection: 1 question Template engine? 1) ERB 2) Haml 3) Slim setup Enter your selection: 1 question Continuous testing? 1) None 2) Guard setup Enter your selection: 1 question Front-end framework? 1) None 2) Zurb Foundation 5.0 3) Zurb Foundation 4.0 4) Twitter Bootstrap 3.0 5) Twitter Bootstrap 2.3 6) Simple CSS setup Enter your selection: 4 setup The Devise 'forgot password' feature requires email. question Add support for sending email? 1) None 2) Gmail 3) SMTP 4) SendGrid 5) Mandrill setup Enter your selection: 5 question Devise modules? 1) Devise with default modules 2) Devise with Confirmable module 3) Devise with Confirmable and Invitable modules setup Enter your selection: 3 question Use a form builder gem? 1) None 2) SimpleForm 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 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 apps4 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) y extras Use or create a project-specific rvm gemset? (y/n) y extras recipe creating project-specific rvm gemset and .rvmrc extras creating RVM gemset 'sanetodo3' https://raw.github.com/RailsApps/rails-composer/master/composer.rb:2649:in
apply': uninitialized constant Rails::Generators::AppGenerator::RVM (NameError) from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:in
instance_eval' from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/thor-0.18.1/lib/thor/actions.rb:221:inapply' from /Users/bob/.rvm/gems/ruby-2.1.0@global/gems/railties-4.0.2/lib/rails/generators/app_base.rb:101:in
apply_rails_template' from (eval):1:in `apply_rails_template'