Permalink
Browse files

Documentation update

  • Loading branch information...
Ken
Ken committed Jan 21, 2013
1 parent a4f96e4 commit 6bd663eaaaebd63b4127065f70380679d76d1ecb
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.md
View
@@ -48,10 +48,14 @@ Update your `Rakefile`:
```ruby
require "bundler/setup"
- require "heroku_san"
- config_file = File.join(File.expand_path(File.dirname(__FILE__)), 'config', 'heroku.yml')
- HerokuSan.project = HerokuSan::Project.new(config_file, :deploy => HerokuSan::Deploy::Sinatra)
- load "heroku_san/tasks.rb"
+ begin
+ require "heroku_san"
+ config_file = File.join(File.expand_path(File.dirname(__FILE__)), 'config', 'heroku.yml')
+ HerokuSan.project = HerokuSan::Project.new(config_file, :deploy => HerokuSan::Deploy::Sinatra)
+ load "heroku_san/tasks.rb"
+ rescue LoadError
+ # The gem shouldn't be installed in a production environment
+ end
```
## Configure

0 comments on commit 6bd663e

Please sign in to comment.