Skip to content
Permalink
Browse files

Run the app unconditionally

Somehow, the $0 == app_file trick fails if we run an installed gem
  • Loading branch information...
mvidner committed Aug 17, 2017
1 parent 08879e3 commit ba7f22c63bc60078ff9fb9a914ed938e5ed2169d
Showing with 3 additions and 1 deletion.
  1. +1 −1 README.md
  2. +2 −0 bin/code-explorer
@@ -34,7 +34,7 @@ MIT

```sh
bundle install --path vendor/bundle
bundle exec bin/code-explorer # otherwise Sinatra will not start
bundle exec code-explorer
```

## Example
@@ -75,3 +75,5 @@ get "/call-graph/*" do |path|

serve_dot(dot, format)
end

Sinatra::Application.run!

0 comments on commit ba7f22c

Please sign in to comment.
You can’t perform that action at this time.