module Bundler class Dsl def asset(name, *args) _url = 'https://rails-assets.org/' source _url unless @rubygems_source.remotes.map(&:to_s).include?(_url) gem "rails-assets-#{name}", *args end alias :a :asset alias :bower :asset alias :css :asset alias :js :asset end end