41studio / raser

A Ruby on Rails template with our standard defaults.
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

undefined method `after_bundle' #1

Open zainalmustofa opened 8 years ago

zainalmustofa commented 8 years ago

Have issue

 option  Database used in development?
      1)  PostgreSQL
      2)  MySQL
  choose  Enter your selection(1/2): 1
  option  Database username? root
  option  Database Password for user root? 123456
 gemfile    pg
 gemfile    pg_search
 gemfile    devise
 gemfile    devise-async
 gemfile    mini_magick
 gemfile    carrierwave
 gemfile    carrierwave_backgrounder
 gemfile    kaminari
 gemfile    bootstrap-sass
 gemfile    bootstrap-kaminari-views
 gemfile    bootstrap-sass-extras
 gemfile    slim-rails
 gemfile    nprogress-rails
 gemfile    exception_notification
 gemfile    dotenv-rails
 gemfile    sidekiq
 gemfile    redis-namespace
 gemfile    redis-rails
 gemfile    jquery-turbolinks
 gemfile    friendly_id (~> 5.1.0)
 gemfile    simple_form
 gemfile    puma
 gemfile    group :development
  append    Gemfile
 gemfile    thin
 gemfile    byebug
 gemfile    foreman
 gemfile    pry-byebug
 gemfile    letter_opener_web (~> 1.2.0)
 gemfile    rails_best_practices
 gemfile    pry-rails
 gemfile    quiet_assets
 gemfile    annotate
 gemfile    rack-mini-profiler
 gemfile    better_errors
 gemfile    binding_of_caller
 gemfile    bullet
 gemfile    meta_request
 gemfile    awesome_print
 gemfile    bundler-audit
 gemfile    spring
  append    Gemfile
 gemfile    group :test, :development
  append    Gemfile
 gemfile    capistrano-rails
 gemfile    capistrano-rvm
 gemfile    capistrano3-puma
 gemfile    rspec-rails
 gemfile    formulaic
 gemfile    shoulda-matchers
 gemfile    database_cleaner
 gemfile    letter_opener_web (~> 1.2.0)
 gemfile    timecop-console
 gemfile    capybara
 gemfile    capybara-webkit
 gemfile    capybara-email
  append    Gemfile
  create    Procfile
  create    app/assets/stylesheets/bootstrap_modified.scss
  create    app/assets/stylesheets/npprogress-custom.scss
  create    .env
  insert    app/assets/javascripts/application.js
  insert    app/assets/javascripts/application.js
  insert    app/assets/stylesheets/application.css
  append    .gitignore
  remove    config/database.yml
  create    config/database.yml
  remove    config/initializers/sidekiq.rb
  create    config/initializers/sidekiq.rb
  remove    config/initializers/devise_async.rb
  create    config/initializers/devise_async.rb
  remove    lib/tasks/auto_annotate.rake
  create    lib/tasks/auto_annotate.rake
  remove    app/views/layouts/application.html.erb
    gsub    config/database.yml
    gsub    config/database.yml
    gsub    config/database.yml
    gsub    config/database.yml
    gsub    config/database.yml

https://raw.github.com/41studio/raser/master/raser.rb:183:in apply': undefined methodafter_bundle' for #Rails::Generators::AppGenerator:0x000000034a6110

mada41 commented 8 years ago

thanks for report the issue @zainalmustofa , can you tell me your bundler and rails version? seems another people have same problem with after_bundle(http://api.rubyonrails.org/classes/Rails/Generators/Actions.html#method-i-after_bundle). https://gist.github.com/qrohlf/622bd3a11b1eab88607d

zainalmustofa commented 8 years ago

For rails version is 4.2.5 ruby on 2.3.0 and bundler version bundler (1.11.2)