README.md in stackprof-0.2.6 vs README.md in stackprof-0.2.7
- old
+ new
@@ -5,9 +5,22 @@
inspired heavily by [gperftools](https://code.google.com/p/gperftools/),
and written as a replacement for [perftools.rb](https://github.com/tmm1/perftools.rb)
### getting started
+#### Install
+
+In your Gemfile add:
+
+```ruby
+gem 'stackprof'
+```
+
+Then run `$ bundle install`. Alternatively you can run `$ gem install stackprof`.
+
+
+#### Run
+
in ruby:
``` ruby
StackProf.run(mode: :cpu, out: 'tmp/stackprof-cpu-myapp.dump') do
...