Skip to content

Commit

Permalink
Update activemerchant dependency to match our apps, and remove error …
Browse files Browse the repository at this point in the history
…when installed with protected_attributes so that it will successfully bundle.
  • Loading branch information
kurtfunai committed Jun 11, 2015
1 parent 0b5f3d4 commit e6d6cbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/spree_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.files = Dir['LICENSE', 'README.md', 'app/**/*', 'config/**/*', 'lib/**/*', 'db/**/*', 'vendor/**/*']
s.require_path = 'lib'

s.add_dependency 'activemerchant', '~> 1.43.1'
s.add_dependency 'activemerchant', '~> 1.49.0'
s.add_dependency 'acts_as_list', '= 0.3.0'
s.add_dependency 'awesome_nested_set', '~> 3.0.0.rc.3'
s.add_dependency 'aws-sdk', '1.27.0'
Expand Down
18 changes: 9 additions & 9 deletions lib/spree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
require 'spree_frontend'
require 'spree_sample'

begin
require 'protected_attributes'
puts "*" * 75
puts "[FATAL] Spree does not work with the protected_attributes gem installed!"
puts "You MUST remove this gem from your Gemfile. It is incompatible with Spree."
puts "*" * 75
exit
rescue LoadError
end
# begin
# require 'protected_attributes'
# puts "*" * 75
# puts "[FATAL] Spree does not work with the protected_attributes gem installed!"
# puts "You MUST remove this gem from your Gemfile. It is incompatible with Spree."
# puts "*" * 75
# exit
# rescue LoadError
# end

0 comments on commit e6d6cbc

Please sign in to comment.