Skip to content

Commit

Permalink
fix running padrino without Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ujifgc committed Sep 5, 2016
1 parent 2ca151e commit 920dea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/cli/binstub.rb
Expand Up @@ -5,7 +5,7 @@ module Padrino
def self.replace_with_binstub(executable)
begin
return if Bundler.definition.missing_specs.empty?
rescue NameError, NoMethodError
rescue NameError, NoMethodError, Bundler::GemfileNotFound
end

project_root = Dir.pwd
Expand Down

0 comments on commit 920dea6

Please sign in to comment.