Created
August 15, 2011 19:10
-
-
Save daffydowden/1147484 to your computer and use it in GitHub Desktop.
Error I'm getting using spree with Rails 3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
# Bundle edge Rails instead: | |
gem 'rails', '3.1.0.rc5', :git => "git://github.com/rails/rails", :branch => "3-1-stable" | |
gem 'mysql2' | |
gem 'compass', :git => 'https://github.com/chriseppstein/compass.git', :branch => 'rails31' | |
gem 'devise' | |
gem 'spree' | |
# Gems used only for assets and not required | |
# in production environments by default. | |
group :assets do | |
gem "sass-rails", :git => 'https://github.com/rails/sass-rails.git', :branch => '3-1-stable' | |
gem 'coffee-rails', "~> 3.1.0.rc" | |
gem 'uglifier' | |
end | |
gem 'jquery-rails' | |
# Use unicorn as the web server | |
# gem 'unicorn' | |
# Deploy with Capistrano | |
# gem 'capistrano' | |
# To use debugger | |
# gem 'ruby-debug19', :require => 'ruby-debug' | |
group :test do | |
# Pretty printed test output | |
gem 'turn', :require => false | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ spree_on_3_1 gem list | |
*** LOCAL GEMS *** | |
actionmailer (3.1.0.rc5) | |
actionpack (3.1.0.rc5) | |
activemerchant (1.16.0) | |
activemodel (3.1.0.rc5) | |
activerecord (3.1.0.rc5) | |
activeresource (3.1.0.rc5) | |
activesupport (3.1.0.rc5) | |
acts_as_list (0.1.4) | |
ansi (1.3.0) | |
arel (2.2.1, 2.1.4) | |
bcrypt-ruby (2.1.4) | |
braintree (2.10.2) | |
builder (3.0.0) | |
bundler (1.0.17) | |
cancan (1.6.5) | |
chunky_png (1.2.1) | |
cocaine (0.1.0) | |
coffee-rails (3.1.0.rc.5) | |
coffee-script (2.2.0) | |
coffee-script-source (1.1.2) | |
devise (1.2.rc2, 1.2.rc) | |
erubis (2.7.0) | |
execjs (1.2.4) | |
faker (0.9.5) | |
fssm (0.2.7) | |
highline (1.6.2) | |
hike (1.2.0) | |
i18n (0.6.0) | |
jquery-rails (1.0.13) | |
json (1.5.3) | |
lunchy (0.5.0) | |
mail (2.3.0) | |
mime-types (1.16) | |
multi_json (1.0.3) | |
mysql2 (0.3.6) | |
orm_adapter (0.0.5) | |
paperclip (2.3.16) | |
polyglot (0.3.2) | |
powder (0.1.6) | |
rack (1.3.2) | |
rack-cache (1.0.2) | |
rack-mount (0.8.2) | |
rack-ssl (1.3.2) | |
rack-test (0.6.1) | |
rails (3.1.0.rc5) | |
railties (3.1.0.rc5) | |
rake (0.9.2) | |
rd_awesome_nested_set (1.4.4) | |
rd_resource_controller (1.0.1) | |
rd_searchlogic (3.0.1) | |
rd_unobtrusive_date_picker (0.1.0) | |
rdoc (3.9.2) | |
sass (3.1.7) | |
sass-rails (3.1.0.rc.5) | |
spree (0.40.0) | |
spree_api (0.40.0) | |
spree_auth (0.40.0) | |
spree_core (0.40.0) | |
spree_dash (0.40.0) | |
spree_promo (0.40.0) | |
spree_sample (0.40.0) | |
sprockets (2.0.0.beta.13) | |
state_machine (1.0.2) | |
stringex (1.3.0) | |
thor (0.14.6) | |
tilt (1.3.2) | |
treetop (1.4.10) | |
turn (0.8.2) | |
tzinfo (0.3.29) | |
uglifier (1.0.0) | |
warden (1.0.5) | |
will_paginate (3.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails g spree:site | |
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Base> at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_core-0.40.0/lib/spree_core/find_by_param.rb:105) | |
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Base> at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_core-0.40.0/lib/spree_core/find_by_param.rb:105) | |
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:AuthorizeNetCimGateway> at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_core-0.40.0/lib/spree_core/authorize_net_cim_hack.rb:30) | |
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:AuthorizeNetCimGateway> at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_core-0.40.0/lib/spree_core/authorize_net_cim_hack.rb:30) | |
DEPRECATION WARNING: ref is deprecated and will be removed from Rails 3.2. (called from mailer= at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/devise-1.2.rc/lib/devise.rb:230) | |
DEPRECATION WARNING: new is deprecated and will be removed from Rails 3.2. (called from mailer= at /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/devise-1.2.rc/lib/devise.rb:230) | |
/Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_auth-0.40.0/lib/spree_auth.rb:17:in `activate': uninitialized constant Devise::IndifferentHash (NameError) | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/activesupport/lib/active_support/callbacks.rb:413:in `_run_prepare_callbacks' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/actionpack/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/initializable.rb:25:in `instance_exec' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/initializable.rb:25:in `run' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/initializable.rb:50:in `block in run_initializers' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/initializable.rb:49:in `each' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/initializable.rb:49:in `run_initializers' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/application.rb:92:in `initialize!' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
from /Users/Richard/Documents/Projects/Revellum/spree_on_3_1/config/environment.rb:5:in `<top (required)>' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/application.rb:78:in `require_environment!' | |
from /Users/Richard/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-c388a95173d7/railties/lib/rails/commands.rb:22:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameError: uninitialized constant Devise::IndifferentHash | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/gems/spree_auth-0.40.0/lib/spree_auth.rb:17:in `activate' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/activesupport/lib/active_support/callbacks.rb:413:in `_run_prepare_callbacks' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/actionpack/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/initializable.rb:25:in `instance_exec' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/initializable.rb:25:in `run' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/initializable.rb:50:in `block in run_initializers' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/initializable.rb:49:in `each' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/initializable.rb:49:in `run_initializers' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/application.rb:92:in `initialize!' | |
~/Developer/.rvm/gems/ruby-1.9.2-p290@spree_on_3_1/bundler/gems/rails-28e250e645e7/railties/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
~/Documents/Projects/Revellum/spree_on_3_1/config/environment.rb:5:in `<top (required)>' | |
<internal:lib/rubygems/custom_require>:29:in `require' | |
<internal:lib/rubygems/custom_require>:29:in `require' | |
~/Documents/Projects/Revellum/spree_on_3_1/config.ru:3:in `block in <main>' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/builder.rb:4:in `instance_eval' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/builder.rb:4:in `initialize' | |
~/Documents/Projects/Revellum/spree_on_3_1/config.ru:1:in `new' | |
~/Documents/Projects/Revellum/spree_on_3_1/config.ru:1:in `<main>' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:50:in `eval' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:50:in `load_config' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:43:in `initialize' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:13:in `new' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:13:in `run' | |
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/bin/nack_worker:4:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had the same problem. I solved this including the parameter :git => 'git:/github.com/spree/spree.git' after gem 'spree' . Look my Gemfile https://gist.github.com/1166674