def create_bundle(name, bundle_name, paths)
      if Bundle[name]
        raise "Error: there is already a bundle called #{name} with different component files. Each " <<
              "bundle must have a unique name."
      end

      normalized_paths = paths.map { |path| path.sub(%r[^(#{@mount_point})?/?], "") }
      Bundle.create(name, bundle_name, normalized_paths)
    end
def create_bundle(name, bundle_name, paths)
      if Bundle[name]
        raise "Error: there is already a bundle called #{name} with different component files. Each " <<
              "bundle must have a unique name."
      end

      normalized_paths = paths.map { |path| path.sub(%r[^(#{@mount_point})?/?], "") }
      Bundle.create(name, bundle_name, normalized_paths)
    end
Create a bundle of assets. Each asset must convert to the same final type. `name` is an identifier for
 this bundle; `bundle_name` is the # identifier for your bundle type (e.g. `:concatenate_and_uglify_js`);
 and `paths` are all the asset paths. In development, no bundles will be created (but the list of
 discrete assets will be saved for use in a subsequent `bundle_url` call).