method

bundle_if_dev_or_edge

rails latest stable - Class: Rails::Generators::AppGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

bundle_if_dev_or_edge()
public

No documentation available.

# File railties/lib/rails/generators/rails/app/app_generator.rb, line 305
      def bundle_if_dev_or_edge
        bundle_command = File.basename(Thor::Util.ruby_command).sub(/ruby/, 'bundle')
        run "#{bundle_command} install" if dev_or_edge?
      end