I looked at this problem in the list of questions, but nothing helped. This is my first stackoverflow question, so please accept my apologies if I do something wrong. In addition, I still have a lot of English for improvement.
I install Spree following github instructions
$ gem install spree $ rails new my_store $ spree install my_store
when i get this message
...
Admin Password [spree123] gemfile spree gemfile spree_usa_epay gemfile spree_skrill run bundle install from "./my_store" git://github.com/spree/spree_usa_epay.git (at 0cb57b4) is not checked out. Please run `bundle install` precompiling assets git://github.com/spree/spree_usa_epay.git (at 0cb57b4) is not checked out. Please run `bundle install`
... Well, as indicated in the manual, in case of problems with circular addiction:
$ gem install spree_cmd $spree install my_store -A gemfile spree gemfile spree_usa_epay gemfile spree_skrill run bundle install from "./my_store" git://github.com/spree/spree_usa_epay.git (at 0cb57b4) is not checked out. Please run `bundle install` precompiling assets git://github.com/spree/spree_usa_epay.git (at 0cb57b4) is not checked out. Please run `bundle install`
I replaced the directory with the application and ran the command:
$cd my_store $bundle install
and I get the following error:
Bundler could not find compatible versions for gem "rails": In Gemfile: spree_usa_epay (>= 0) ruby depends on rails (<= 3.1.3, >= 3.1.1) ruby rails (3.2.1)
after that I changed the gem file to work with rails 3.1.3 and coffeescript gems and repeated the whole process again, and I realized that.
Users/Snake/.rvm/gems/ruby-1.9.3-p0/gems/activerecord- 3.1.3/lib/active_record/base.rb:1088:in `method_missing': undefined method `mass_assignment_sanitizer=' for ActiveRecord::Base:Class (NoMethodError) from /Users/Snake/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railtie.rb:59:in `block (3 levels) in <class:Railtie>'
He thinks this might be something with the rails version, but I don't know to get started.
Has anyone had this problem before?
I am running Mac OS X 10.5.8
rails 3.2.1
ruby 1.9.3p0 (2011-10-30 version 33570) [i386-darwin9.8.0]
ImageMagick @ 6.7.4-6_0 + q16