Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fog-google / tasks / console.rake
Size: Mime:
# From http://erniemiller.org/2014/02/05/7-lines-every-gems-rakefile-should-have/
# with some modification.

desc "Project IRB console"
task :console do
  require "bundler"
  Bundler.require(:default, :development)

  # Reload helper to avoid resetting the environment when debugging
  def reload!
    files = $LOADED_FEATURES.select { |feat| feat =~ /\/fog-google\// }
    files.each { |file| load file }
  end

  ARGV.clear
  Pry.start
end