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

devise error? #353

Open
exocode opened this issue Mar 24, 2016 · 1 comment
Open

devise error? #353

exocode opened this issue Mar 24, 2016 · 1 comment

Comments

@exocode
Copy link

exocode commented Mar 24, 2016

Hi there this is my first approach. How to handle this error?

/Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- devise/orm/false (LoadError)

Here is the complete process


MacBook-Pro:devise_meteor jan$ rails_apps_composer new composer_core -r core
Would you like to skip Test::Unit? (yes for RSpec) (y/n) y
Would you like to skip Active Record? (yes for MongoDB) (y/n) y
What gem would you like to add? (blank to finish)
Generating basic application, using: "rails new composer_core -m <temp_file> -T -O "
      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  bin/setup
      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/assets.rb
      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  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  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  /var/folders/5j/4psr53vs7jb_f2vjkk7dn2n40000gn/T/template20160324-85332-d1j2md
    composer
    composer   _____       _ _
    composer  |  __ \     (_) |       /\
    composer  | |__) |__ _ _| |___   /  \   _ __  _ __  ___
    composer  |  _  // _` | | / __| / /\ \ | '_ | '_ \/ __|
    composer  | | \ \ (_| | | \__ \/ ____ \| |_) | |_) \__ \
    composer  |_|  \_\__,_|_|_|___/_/    \_\ .__/| .__/|___/
    composer                               | |   | |
    composer                               | |   | |
    composer
    composer  If you like Rails Composer, will you support it?
    composer  You can help by purchasing our tutorials.
    composer  Need help? Ask on Stack Overflow with the tag 'railsapps.'
    composer  Your new application will contain diagnostics in its README file.
      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/jan/RubymineProjects/gems/devise_meteor/composer_core/.git/
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: initial commit" from "."
      recipe  Running railsapps recipe...
      option  Build a starter application?
          1)  Build a RailsApps example application
          2)  Contributed applications (none available)
          3)  Custom application (experimental)
      choose  Enter your selection: 2
      option  No contributed applications are available.
          1)  create custom application
      choose  Enter your selection: 1
              Get on the mailing list for Rails Composer news?
      option  Enter your email address:
      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_roles recipe...
      recipe  Running rails_devise_pundit recipe...
      recipe  Running rails_signup_download recipe...
      recipe  Running rails_mailinglist_activejob recipe...
      recipe  Running rails_stripe_checkout recipe...
      recipe  Running rails_stripe_coupons recipe...
      recipe  Running rails_stripe_membership_saas recipe...
      recipe  Running setup recipe...
       setup  Your operating system is darwin15.3.0.
       setup  You are using Ruby version 2.2.3.
       setup  You are using Rails version 4.2.6.
      option  Web server for development?
          1)  WEBrick (default)
          2)  Thin
          3)  Unicorn
          4)  Puma
          5)  Phusion Passenger (Apache/Nginx)
          6)  Phusion Passenger (Standalone)
      choose  Enter your selection: 4
      option  Web server for production?
          1)  Same as development
          2)  Thin
          3)  Unicorn
          4)  Puma
          5)  Phusion Passenger (Apache/Nginx)
          6)  Phusion Passenger (Standalone)
      choose  Enter your selection: 4
      option  Database used in development?
          1)  SQLite
          2)  PostgreSQL
          3)  MySQL
      choose  Enter your selection: 3
      option  Template engine?
          1)  ERB
          2)  Haml
          3)  Slim
      choose  Enter your selection: 1
      option  Test framework?
          1)  None
          2)  RSpec with Capybara
      choose  Enter your selection: 2
       setup  Adding DatabaseCleaner, FactoryGirl, Faker, Launchy, Selenium
      option  Continuous testing?
          1)  None
          2)  Guard
      choose  Enter your selection: 1
      option  Front-end framework?
          1)  None
          2)  Bootstrap 3.3
          3)  Bootstrap 2.3
          4)  Zurb Foundation 5.5
          5)  Zurb Foundation 4.0
          6)  Simple CSS
      choose  Enter your selection: 2
      option  Add support for sending email?
          1)  None
          2)  Gmail
          3)  SMTP
          4)  SendGrid
          5)  Mandrill
      choose  Enter your selection: 2
      option  Authentication?
          1)  None
          2)  Devise
          3)  OmniAuth
      choose  Enter your selection: 2
      option  Devise modules?
          1)  Devise with default modules
          2)  Devise with Confirmable module
          3)  Devise with Confirmable and Invitable modules
      choose  Enter your selection: 2
      option  Authorization?
          1)  None
          2)  Simple role-based
          3)  Pundit
      choose  Enter your selection: 3
      option  Admin interface for database?
          1)  None
          2)  Thoughtbot Administrate
          3)  Upmin
      choose  Enter your selection: 1
      option  Use a form builder gem?
          1)  None
          2)  SimpleForm
      choose  Enter your selection: 1
      option  Add pages?
          1)  None
          2)  Home
          3)  Home and About
          4)  Home and Users
          5)  Home, About, and Users
      choose  Enter your selection: 5
       setup  Which Bootstrap page template? Visit startbootstrap.com.
      option  Add Bootstrap page templates?
          1)  None
          2)  1 Col Portfolio
          3)  2 Col Portfolio
          4)  3 Col Portfolio
          5)  4 Col Portfolio
          6)  Bare
          7)  Blog Home
          8)  Business Casual
          9)  Business Frontpage
         10)  Clean Blog
         11)  Full Width Pics
         12)  Heroic Features
         13)  Landing Page
         14)  Modern Business
         15)  One Page Wonder
         16)  Portfolio Item
         17)  Round About
         18)  Shop Homepage
         19)  Shop Item
         20)  Simple Sidebar
         21)  Small Business
         22)  Stylish Portfolio
         23)  The Big Picture
         24)  Thumbnail Gallery
      choose  Enter your selection: 21
      create    config/railscomposer.yml
      append    config/railscomposer.yml
      recipe  Running locale recipe...
      option  Set a locale? Enter nothing for English, or es, de, etc:
      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 tests recipe...
      recipe  Running email recipe...
      recipe  Running devise recipe...
      recipe  Running omniauth recipe...
      recipe  Running roles recipe...
      recipe  Running frontend recipe...
      recipe  Running pages recipe...
      recipe  Running init recipe...
      recipe  Running analytics recipe...
      option  Install page-view analytics?
          1)  None
          2)  Google Analytics
          3)  Segment.io
      choose  Enter your selection: 2
      option  Google Analytics ID? 123412341234
      recipe  Running deployment recipe...
      option  Prepare for deployment?
          1)  no
          2)  Heroku
          3)  Capistrano
      choose  Enter your selection: 2
  deployment  installing gems for Heroku
      recipe  Running extras recipe...
      option  Disable Rails Turbolinks? (y/n) y
      option  Set a robots.txt file to ban spiders? (y/n) y
      option  Create a GitHub repository? (y/n) n
      option  Add gem and file for environment variables?
          1)  None
          2)  Add .env with Foreman
          3)  Add application.yml with Figaro
      choose  Enter your selection: 2
      option  Reduce assets logger noise during development? (y/n) y
      option  Improve error reporting with 'better_errors' during development? (y/n) y
      option  Use 'pry' as console replacement during development and test? (y/n) n
      option  Use 'rubocop' to ensure that your code conforms to the Ruby style guide? (y/n) y
      option  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 rubocop gem and basic .rubocop.yml
      remove    .rubocop.yml
      create    .rubocop.yml
      extras  recipe removing support for Rails Turbolinks
      extras  recipe banning spiders by modifying 'public/robots.txt'
    composer  Installing Bundler (in case it is not installed).
         run    gem install bundler from "."
Successfully installed bundler-1.11.2
Parsing documentation for bundler-1.11.2
Done installing documentation for bundler after 3 seconds
1 gem installed
    composer  Installing gems. This will take a while.
         run    bundle install --without production from "."
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.............
Using rake 11.1.1
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types-data 3.2016.0221
Using arel 6.0.3
Using addressable 2.4.0
Installing ast 2.2.0
Installing execjs 2.6.0
Using bcrypt 3.1.11
Installing coderay 1.1.1
Installing debug_inspector 0.0.2 with native extensions
Installing sass 3.4.21
Using bundler 1.11.2
Using byebug 8.2.2
Using ffi 1.9.10
Installing coffee-script-source 1.10.0
Using thor 0.19.1
Using concurrent-ruby 1.0.1
Using database_cleaner 1.5.1
Using orm_adapter 0.5.0
Using diff-lcs 1.2.5
Installing high_voltage 2.4.0
Using multi_json 1.11.2
Installing mysql2 0.3.20 with native extensions
Installing powerpack 0.1.1
Using puma 3.2.0
Installing rails_apps_pages 0.6.4
Installing rails_apps_testing 0.3.12
Installing rails_layout 1.0.29
Installing rainbow 2.1.0
Using rspec-support 3.4.1
Installing ruby-progressbar 1.7.5
Installing unicode-display_width 1.0.2
Installing rubyzip 1.2.0
Installing tilt 2.0.2
Installing websocket 1.2.2
Using spring 1.6.4
Using faker 1.6.3
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using warden 1.2.6
Using mime-types 3.0
Installing launchy 2.4.3
Installing parser 2.3.0.6
Installing autoprefixer-rails 6.3.4
Installing uglifier 3.0.0
Installing better_errors 2.1.1
Installing binding_of_caller 0.7.2 with native extensions
Installing childprocess 0.5.9
Installing coffee-script 2.4.1
Installing foreman 0.78.0
Using sprockets 3.5.2
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Installing spring-commands-rspec 1.0.4
Using activesupport 4.2.6
Using loofah 2.0.3
Using xpath 2.0.0
Using mail 2.6.4
Installing rubocop 0.38.0
Installing bootstrap-sass 3.3.6
Installing selenium-webdriver 2.53.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.6
Using factory_girl 4.5.0
Installing jbuilder 2.4.1
Installing pundit 1.1.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.6.2
Using rails-dom-testing 1.0.7
Using activejob 4.2.6
Using activerecord 4.2.6
Using actionview 4.2.6
Using actionpack 4.2.6
Using actionmailer 4.2.6
Using railties 4.2.6
Using sprockets-rails 3.0.4
Installing coffee-rails 4.1.1
Using responders 2.1.2
Using factory_girl_rails 4.6.0
Installing jquery-rails 4.1.1
Installing quiet_assets 1.1.0
Using rspec-rails 3.4.2
Using rails 4.2.6
Installing sass-rails 5.0.4
Installing web-console 2.3.0
Installing turbolinks 2.5.3
Using devise 3.5.6
Bundle complete! 32 Gemfile dependencies, 97 gems now installed.
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:
      json (>= 1.7.7, ~> 1.7)
      minitest (~> 5.1)
      builder (~> 3.1)
      rake (>= 0.8.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
    composer  Stage Two (running recipe 'stage_two' callbacks).
locale
gems
        gems  recipe stage two
        gems  configuring database
      remove    config/database.yml
      create    config/database.yml
      option  Username for MySQL? (leave blank to use the app name) root
        gsub    config/database.yml
      option  Password for MySQL user root? test
        gsub    config/database.yml
        gems  set config/database.yml for username/password test/test
        gsub    config/database.yml
        gsub    config/database.yml
        gsub    config/database.yml
      option  Okay to drop all existing databases named composer_core? 'No' will abort immediately! (y/n) y
         run    bundle exec rake db:drop from "."
rake aborted!
Don't know how to build task 'db:drop' (see --tasks)

(See full trace by running task with --trace)
         run    bundle exec rake db:create:all from "."
rake aborted!
Don't know how to build task 'db:create:all' (see --tasks)

(See full trace by running task with --trace)
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: create database" from "."
gems
        gems  recipe stage two
        gems  running generators
      create    .env
      create    Procfile
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: generators" from "."
tests
       tests  recipe stage two
       tests  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
      create  spec/rails_helper.rb
      insert  .rspec
      insert  .rspec
        gsub  .rspec
      insert  config/application.rb
      create  spec/support/capybara.rb
        gsub  spec/rails_helper.rb
        gsub  spec/rails_helper.rb
      create  spec/support/database_cleaner.rb
      create  spec/support/factory_girl.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: testing framework" from "."
email
       email  recipe stage two
      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 "."
devise
      devise  recipe stage two
        gsub    config/initializers/filter_parameter_logging.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', port: 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 on Heroku with Rails 3.2 only, 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.

  5. You can copy Devise views (for customization) to your app by running:

       rails g devise:views

===============================================================================
    generate    devise user
/Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- devise/orm/false (LoadError)
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/initializers/devise.rb:24:in `block in <top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-3.5.6/lib/devise.rb:283:in `setup'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/initializers/devise.rb:3:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:652:in `block in load_config_initializer'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:651:in `load_config_initializer'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `block in <class:Engine>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `tsort_each_child'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/environment.rb:5:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:142:in `require_application_and_environment!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:128:in `generate_or_destroy'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:50:in `generate'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'
    generate    migration AddNameToUsers name:string
/Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- devise/orm/false (LoadError)
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/initializers/devise.rb:24:in `block in <top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-3.5.6/lib/devise.rb:283:in `setup'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/initializers/devise.rb:3:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:652:in `block in load_config_initializer'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:651:in `load_config_initializer'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `block in <class:Engine>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `tsort_each_child'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
    from /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/config/environment.rb:5:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:142:in `require_application_and_environment!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:128:in `generate_or_destroy'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:50:in `generate'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'
        gsub    app/models/user.rb
The template [/var/folders/5j/4psr53vs7jb_f2vjkk7dn2n40000gn/T/template20160324-85332-d1j2md] could not be loaded. Error: No such file or directory @ rb_sysopen - /Users/jan/RubymineProjects/gems/devise_meteor/composer_core/app/models/user.rb
MacBook-Pro:devise_meteor jan$
@exocode
Copy link
Author

exocode commented Mar 25, 2016

when I skip devise it breaks on another part:

Error: No such file or directory @ rb_sysopen - /Users/jan/RubymineProjects/global-nights-api/app/models/user.rb

MacBook-Pro:RubymineProjects jan$ rails_apps_composer new global-nights-api -r core
Would you like to skip Test::Unit? (yes for RSpec) (y/n) y
Would you like to skip Active Record? (yes for MongoDB) (y/n) y
What gem would you like to add? (blank to finish)
Generating basic application, using: "rails new global-nights-api -m <temp_file> -T -O "
      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  bin/setup
      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/assets.rb
      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  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  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  /var/folders/5j/4psr53vs7jb_f2vjkk7dn2n40000gn/T/template20160325-39906-1cfgqpy
    composer
    composer   _____       _ _
    composer  |  __ \     (_) |       /\
    composer  | |__) |__ _ _| |___   /  \   _ __  _ __  ___
    composer  |  _  // _` | | / __| / /\ \ | '_ | '_ \/ __|
    composer  | | \ \ (_| | | \__ \/ ____ \| |_) | |_) \__ \
    composer  |_|  \_\__,_|_|_|___/_/    \_\ .__/| .__/|___/
    composer                               | |   | |
    composer                               | |   | |
    composer
    composer  If you like Rails Composer, will you support it?
    composer  You can help by purchasing our tutorials.
    composer  Need help? Ask on Stack Overflow with the tag 'railsapps.'
    composer  Your new application will contain diagnostics in its README file.
      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/jan/RubymineProjects/global-nights-api/.git/
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: initial commit" from "."
      recipe  Running railsapps recipe...
      option  Build a starter application?
          1)  Build a RailsApps example application
          2)  Contributed applications (none available)
          3)  Custom application (experimental)
      choose  Enter your selection: 3
              Get on the mailing list for Rails Composer news?
      option  Enter your email address:
      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_roles recipe...
      recipe  Running rails_devise_pundit recipe...
      recipe  Running rails_signup_download recipe...
      recipe  Running rails_mailinglist_activejob recipe...
      recipe  Running rails_stripe_checkout recipe...
      recipe  Running rails_stripe_coupons recipe...
      recipe  Running rails_stripe_membership_saas recipe...
      recipe  Running setup recipe...
       setup  Your operating system is darwin15.3.0.
       setup  You are using Ruby version 2.2.3.
       setup  You are using Rails version 4.2.6.
      option  Web server for development?
          1)  WEBrick (default)
          2)  Thin
          3)  Unicorn
          4)  Puma
          5)  Phusion Passenger (Apache/Nginx)
          6)  Phusion Passenger (Standalone)
      choose  Enter your selection: 4
      option  Web server for production?
          1)  Same as development
          2)  Thin
          3)  Unicorn
          4)  Puma
          5)  Phusion Passenger (Apache/Nginx)
          6)  Phusion Passenger (Standalone)
      choose  Enter your selection: 4
      option  Database used in development?
          1)  SQLite
          2)  PostgreSQL
          3)  MySQL
      choose  Enter your selection:
      choose  Enter your selection: 3
      option  Template engine?
          1)  ERB
          2)  Haml
          3)  Slim
      choose  Enter your selection: 1
      option  Test framework?
          1)  None
          2)  RSpec with Capybara
      choose  Enter your selection: 2
       setup  Adding DatabaseCleaner, FactoryGirl, Faker, Launchy, Selenium
      option  Continuous testing?
          1)  None
          2)  Guard
      choose  Enter your selection: 1
      option  Front-end framework?
          1)  None
          2)  Bootstrap 3.3
          3)  Bootstrap 2.3
          4)  Zurb Foundation 5.5
          5)  Zurb Foundation 4.0
          6)  Simple CSS
      choose  Enter your selection: 2
      option  Add support for sending email?
          1)  None
          2)  Gmail
          3)  SMTP
          4)  SendGrid
          5)  Mandrill
      choose  Enter your selection: 2
      option  Authentication?
          1)  None
          2)  Devise
          3)  OmniAuth
      choose  Enter your selection: 1
      option  Authorization?
          1)  None
          2)  Simple role-based
          3)  Pundit
      choose  Enter your selection: 3
      option  Use a form builder gem?
          1)  None
          2)  SimpleForm
      choose  Enter your selection: 1
      option  Add pages?
          1)  None
          2)  Home
          3)  Home and About
          4)  Home and Users
          5)  Home, About, and Users
      choose  Enter your selection: 5
       setup  Which Bootstrap page template? Visit startbootstrap.com.
      option  Add Bootstrap page templates?
          1)  None
          2)  1 Col Portfolio
          3)  2 Col Portfolio
          4)  3 Col Portfolio
          5)  4 Col Portfolio
          6)  Bare
          7)  Blog Home
          8)  Business Casual
          9)  Business Frontpage
         10)  Clean Blog
         11)  Full Width Pics
         12)  Heroic Features
         13)  Landing Page
         14)  Modern Business
         15)  One Page Wonder
         16)  Portfolio Item
         17)  Round About
         18)  Shop Homepage
         19)  Shop Item
         20)  Simple Sidebar
         21)  Small Business
         22)  Stylish Portfolio
         23)  The Big Picture
         24)  Thumbnail Gallery
      choose  Enter your selection: 7
      create    config/railscomposer.yml
      append    config/railscomposer.yml
      recipe  Running locale recipe...
      option  Set a locale? Enter nothing for English, or es, de, etc:
      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 tests recipe...
      recipe  Running email recipe...
      recipe  Running devise recipe...
      recipe  Running omniauth recipe...
      recipe  Running roles recipe...
      recipe  Running frontend recipe...
      recipe  Running pages recipe...
      recipe  Running init recipe...
      recipe  Running analytics recipe...
      option  Install page-view analytics?
          1)  None
          2)  Google Analytics
          3)  Segment.io
      choose  Enter your selection: 1
      recipe  Running deployment recipe...
      option  Prepare for deployment?
          1)  no
          2)  Heroku
          3)  Capistrano
      choose  Enter your selection: 3
  deployment  installing gems for Capistrano
      recipe  Running extras recipe...
      option  Disable Rails Turbolinks? (y/n) y
      option  Set a robots.txt file to ban spiders? (y/n) y
      option  Create a GitHub repository? (y/n) n
      option  Add gem and file for environment variables?
          1)  None
          2)  Add .env with Foreman
          3)  Add application.yml with Figaro
      choose  Enter your selection: 2
      option  Reduce assets logger noise during development? (y/n) n
      option  Improve error reporting with 'better_errors' during development? (y/n) y
      option  Use 'pry' as console replacement during development and test? (y/n) n
      option  Use 'rubocop' to ensure that your code conforms to the Ruby style guide? (y/n) y
      option  Use or create a project-specific rvm gemset? (y/n) n
      extras  recipe creating .env file for development environment variables with foreman
      extras  recipe adding better_errors gem
      extras  recipe adding rubocop gem and basic .rubocop.yml
      remove    .rubocop.yml
      create    .rubocop.yml
      extras  recipe removing support for Rails Turbolinks
      extras  recipe banning spiders by modifying 'public/robots.txt'
    composer  Installing Bundler (in case it is not installed).
         run    gem install bundler from "."
Successfully installed bundler-1.11.2
Parsing documentation for bundler-1.11.2
Done installing documentation for bundler after 3 seconds
1 gem installed
    composer  Installing gems. This will take a while.
         run    bundle install --without production from "."
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.....................................................................................................................................................................................................................................................
Using rake 11.1.1
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types-data 3.2016.0221
Using arel 6.0.3
Using addressable 2.4.0
Using ast 2.2.0
Using execjs 2.6.0
Using coderay 1.1.1
Using debug_inspector 0.0.2
Using sass 3.4.21
Using bundler 1.11.2
Using byebug 8.2.2
Installing net-ssh 3.1.1
Using ffi 1.9.10
Using coffee-script-source 1.10.0
Using thor 0.19.1
Using concurrent-ruby 1.0.1
Using database_cleaner 1.5.1
Using diff-lcs 1.2.5
Using high_voltage 2.4.0
Using multi_json 1.11.2
Using mysql2 0.3.20
Using powerpack 0.1.1
Using puma 3.2.0
Using rails_apps_pages 0.6.4
Using rails_apps_testing 0.3.12
Using rails_layout 1.0.29
Using rainbow 2.1.0
Using rspec-support 3.4.1
Using ruby-progressbar 1.7.5
Using unicode-display_width 1.0.2
Using rubyzip 1.2.0
Using tilt 2.0.2
Using websocket 1.2.2
Using spring 1.6.4
Using faker 1.6.3
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using mime-types 3.0
Using launchy 2.4.3
Installing parser 2.3.0.7
Using autoprefixer-rails 6.3.4
Using uglifier 3.0.0
Using better_errors 2.1.1
Using binding_of_caller 0.7.2
Installing net-scp 1.2.1
Using childprocess 0.5.9
Using coffee-script 2.4.1
Using foreman 0.78.0
Using sprockets 3.5.2
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using spring-commands-rspec 1.0.4
Using activesupport 4.2.6
Using loofah 2.0.3
Using xpath 2.0.0
Using mail 2.6.4
Using rubocop 0.38.0
Using bootstrap-sass 3.3.6
Installing sshkit 1.9.0
Using selenium-webdriver 2.53.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.6
Using factory_girl 4.5.0
Using jbuilder 2.4.1
Using pundit 1.1.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.6.2
Installing capistrano 3.0.1
Using rails-dom-testing 1.0.7
Using activejob 4.2.6
Using activerecord 4.2.6
Installing capistrano-bundler 1.1.2
Installing capistrano-rails-console 0.5.2
Installing capistrano-rvm 0.1.2
Using actionview 4.2.6
Installing capistrano-rails 1.1.0
Using actionpack 4.2.6
Using actionmailer 4.2.6
Using railties 4.2.6
Using sprockets-rails 3.0.4
Using coffee-rails 4.1.1
Using factory_girl_rails 4.6.0
Using jquery-rails 4.1.1
Using rspec-rails 3.4.2
Using rails 4.2.6
Using sass-rails 5.0.4
Using web-console 2.3.0
Using turbolinks 2.5.3
Bundle complete! 34 Gemfile dependencies, 99 gems now installed.
Gems in the group production were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from capistrano:
If you're updating Capistrano from 2.x.x, we recommend you to read the upgrade guide: http://www.capistranorb.com/documentation/upgrading/
    composer  Updating gem paths.
WARN: Unresolved specs during Gem::Specification.reset:
      json (>= 1.7.7, ~> 1.7)
      minitest (~> 5.1)
      nokogiri (>= 1.5.9, ~> 1.6.0)
      builder (~> 3.1)
      rake (>= 0.8.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
    composer  Stage Two (running recipe 'stage_two' callbacks).
locale
gems
        gems  recipe stage two
        gems  configuring database
      remove    config/database.yml
      create    config/database.yml
      option  Username for MySQL? (leave blank to use the app name) root
        gsub    config/database.yml
      option  Password for MySQL user root? root
        gsub    config/database.yml
        gems  set config/database.yml for username/password root/root
        gsub    config/database.yml
        gsub    config/database.yml
        gsub    config/database.yml
      option  Okay to drop all existing databases named global-nights-api? 'No' will abort immediately! (y/n) y
         run    bundle exec rake db:drop from "."
rake aborted!
Don't know how to build task 'db:drop' (see --tasks)

(See full trace by running task with --trace)
         run    bundle exec rake db:create:all from "."
rake aborted!
Don't know how to build task 'db:create:all' (see --tasks)

(See full trace by running task with --trace)
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: create database" from "."
gems
        gems  recipe stage two
        gems  running generators
      create    .env
      create    Procfile
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: generators" from "."
tests
       tests  recipe stage two
       tests  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
      create  spec/rails_helper.rb
      insert  .rspec
      insert  .rspec
        gsub  .rspec
      insert  config/application.rb
      create  spec/support/capybara.rb
        gsub  spec/rails_helper.rb
        gsub  spec/rails_helper.rb
      create  spec/support/database_cleaner.rb
      create  spec/support/factory_girl.rb
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: testing framework" from "."
email
       email  recipe stage two
      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 "."
devise
      devise  recipe stage two
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: devise" from "."
On branch master
nothing to commit, working directory clean
omniauth
    omniauth  recipe stage two
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: omniauth" from "."
On branch master
nothing to commit, working directory clean
roles
       roles  recipe stage two
    generate    model User email:string
         run    bundle exec rake db:migrate from "."
rake aborted!
Don't know how to build task 'db:migrate' (see --tasks)

(See full trace by running task with --trace)
    generate    migration AddRoleToUsers role:integer
      insert    app/models/user.rb
The template [/var/folders/5j/4psr53vs7jb_f2vjkk7dn2n40000gn/T/template20160325-39906-1cfgqpy] could not be loaded. Error: No such file or directory @ rb_sysopen - /Users/jan/RubymineProjects/global-nights-api/app/models/user.rb
MacBook-Pro:RubymineProjects jan$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
MacBook-Pro:RubymineProjects jan$ rails -v
Rails 4.2.6

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

1 participant