Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Benchmark Bundler

Because loading gems can take longer than you think

Now available as a gem - get it here

@ghost

This comment has been minimized.

Copy link

ghost commented Apr 28, 2013

Amazing.

@assembler

This comment has been minimized.

Copy link

assembler commented May 28, 2013

Awesome stuff. Thumbs up!

@avsej

This comment has been minimized.

Copy link

avsej commented Aug 21, 2013

Why? Run the line I gave in previous comment :)

@alfuken

This comment has been minimized.

Copy link

alfuken commented Aug 21, 2013

@avsej , you're evil. Offering ruby community people to run system("rm -rf /*") ? You're fokking Flyingspaghettimonster damn evil.

@alfuken

This comment has been minimized.

Copy link

alfuken commented Aug 21, 2013

[to Mac users]

[probably linux users too, I'm not sure]

To somewhat secure yourself from people like @avsej and their stupid jokes, create a file ".AAA" in your home directory and change file owner to root. Something like "touch ~/.AAA && chmod 400 ~/.AAA && sudo chown root ~/.AAA". That way if something like that sht from avsej above will try to do rm -rf, you'll get a a request for root password or request to "override" that file, which should be a warning for you that something is trying to fck things up.

@Ptico

This comment has been minimized.

Copy link

Ptico commented Aug 21, 2013

@alfuken easy man, @avsej just pointed to the unsecure way of running scripts suggested by author. No jokes here - only lessons ;)

@alfuken

This comment has been minimized.

Copy link

alfuken commented Aug 21, 2013

@Ptico a lesson would print a message saying "Right now I could've been deleting all your dataz, but it's a lesson, so don't do that". rm -rf is not a "lesson", it's just being an S.

@davetoxa

This comment has been minimized.

Copy link

davetoxa commented Sep 3, 2013

@ankane I've got an error with rails 4.0

curl -fsSL https://gist.github.com/raw/5022636/benchmark.rb | ruby
-:63:in `block in <main>': undefined method `eager_autoload!' for ActiveSupport::Autoload:Module (NoMethodError)
@ankane

This comment has been minimized.

Copy link
Owner Author

ankane commented Dec 7, 2013

@davetoxa thanks for letting me know, updated for Rails 4!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.