rubyonrailsin

A Ruby and Rails talk

Wednesday, March 31, 2010


[spree-user] Re: Upgrade to beta

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

For people that stumbled on this after getting the same error message:

The problem is you still have your spree installation somewhere
(probably in the app itself - check out vendors/spree), and it's
conflicting with the new 0.10.x version. Check the file
extension_loader.rb - new Spree has a method
"stylesheet_source_paths", while the old Spree doesn't. Remove old
Spree from everywhere and make sure your app only looks at new Spree.

On Mar 11, 4:12 pm, Rodrigo Lombardo <rod...@gmail.com> wrote:
> Alright, I will do that. But I have another question. The only way to
> do an update is using the spree gem? Can I update pulling down commits
> from github? Whats the better solution?
>
> Thanks again,
>
> Rodrigo Nicola
> rodrigo.lomba...@nicomax.com.br
> NicoMAX WebSolutions
> Phone:+55 11 4063 9081
> Cell:+55 19 8218 8941
>
> On Thu, Mar 11, 2010 at 3:37 PM, Sean Schofield <s...@railsdog.com> wrote:
> > I suggest you try updating one version at a time.  Over time we'll
> > have better support for jumping versions but its not recommended.
> > Make sure to run the migrations each time of course.
>
> > Sean Schofield
>
> > -------------------------------------------
> > Rails Dog LLC
> > 2 Wisconsin Circle, Suite 700
> > Chevy Chase, MD 20815
> > voice:(301)560-2000
> > -------------------------------------------
>
> > On Thu, Mar 11, 2010 at 1:15 PM, Rodrigo Lombardo <rod...@gmail.com> wrote:
> >> Hi,
>
> >> I'm having troubles trying to upgrade my Spree application from
> >> version 0.8 to 0.10.0 beta. I'm using rubygems 1.3.6 with the newest
> >> Spree gem(Spree 0.10.0.beta) and running  ruby1.8.7(2009-06-12
> >> patchlevel 174) [i486-linux]
>
> >> I ran spree --update, rake gems:install and rake db:migrate. I removed
> >> some old gems like compass, deleting the initializer too. So far so
> >> good but I got an error when I tried to run script/server -e
> >> development
>
> >> this is the error:
>
> >> => Rails 2.3.5 application starting onhttp://0.0.0.0:3000
> >> ./script/../config/../lib/simpleton.rb:19:in `method_missing':
> >> undefined method `stylesheet_source_paths' for
> >> Spree::ExtensionLoader:Class (NoMethodError)
> >>        from /usr/lib/ruby/gems/1.8/gems/spree-0.10.0.beta/lib/spree/theme_support/more_patches.rb:117
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> >> `gem_original_require'
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> >> `polyglot_original_require'
> >>        from /usr/lib/ruby/gems/1.8/gems/polyglot-0.3.0/lib/polyglot.rb:65:in `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
> >> `new_constants_in'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/spree-0.10.0.beta/lib/spree/theme_support.rb:2
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
> >> `gem_original_require'
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
> >> `polyglot_original_require'
> >>        from /usr/lib/ruby/gems/1.8/gems/polyglot-0.3.0/lib/polyglot.rb:65:in `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
> >> `new_constants_in'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /home/rodrigo/herosmoda/config/initializers/spree.rb:53
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
> >> `load_without_new_constant_marking'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
> >> `load'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
> >> `new_constants_in'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
> >> `load'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in
> >> `load_application_initializers'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in
> >> `load_application_initializers'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176:in
> >> `process'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
> >>        from ./script/../config/../lib/spree/initializer.rb:86:in `run'
> >>        from /home/rodrigo/herosmoda/config/environment.rb:13
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> >> `gem_original_require'
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
> >> `new_constants_in'
> >>        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
> >> `require'
> >>        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:84
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> >> `gem_original_require'
> >>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> >>        from script/server:3
>
> >> Anyone with this problem?
>
> >> Thanks,
>
> >> Rodrigo Nicola
> >> rodrigo.lomba...@nicomax.com.br
> >> NicoMAX WebSolutions
> >> Phone:+55 11 4063 9081
> >> Cell:+55 19 8218 8941
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "Spree" group.
> >> To post to this group, send email to spree-user@googlegroups.com.
> >> To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/spree-user?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Spree" group.
> > To post to this group, send email to spree-user@googlegroups.com.
> > To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/spree-user?hl=en.

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive