Skip to content

Commit

Permalink
there's not always a Gemfile in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Mathieu committed Jul 7, 2010
1 parent abed28f commit adf5acc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/payme.rb
@@ -1,6 +1,11 @@
require "rubygems"
require "bundler"
Bundler.setup
begin
require "rubygems"
require "bundler"
Bundler.setup
rescue Bundler::GemfileNotFound
# There is no gemfile for this project (rails 2.3 ?)
end


require 'payme/config'
require 'payme/errors'
Expand Down

0 comments on commit adf5acc

Please sign in to comment.