Coder Social home page Coder Social logo

Comments (8)

GeekOnCoffee avatar GeekOnCoffee commented on July 30, 2024

Please provide more information... We need a complete stack trace and a copy of your Gemfile to be able to begin to investigate a potential issue.

from spree_related_products.

JDutil avatar JDutil commented on July 30, 2024

Spree::Core::FileUtilz was removed from Spree several months ago: spree/spree@90ea657#core/lib/spree/core

As @GeekOnCoffee mentioned we need more information such as a backtrace and contents of your Gemfile or we can't help troubleshoot this issue.

It doesn't appear to still be used by either extensions install generator that you've opened this issue on so you may be using outdated copies of the extensions.

from spree_related_products.

roushkaman avatar roushkaman commented on July 30, 2024

How to use old copies of the extensions, or as a new prerepisat this gem?
https://github.com/Roush/spree_robokassa

from spree_related_products.

roushkaman avatar roushkaman commented on July 30, 2024

hey!! people!!!

from spree_related_products.

JDutil avatar JDutil commented on July 30, 2024

@roush if you would like to respond with the details we asked you for to help you:

  1. A backtrace of the error
  2. Your Gemfile and/or Gemfile.lock contents

You could kindly provide them. Otherwise I'm just going to unwatch this thread instead of being spammed.

from spree_related_products.

roushkaman avatar roushkaman commented on July 30, 2024

$ rake spree_robokassa:install --trace
** Invoke spree_robokassa:install (first_time)
** Execute spree_robokassa:install
** Invoke spree_robokassa:install:migrations (first_time)
** Execute spree_robokassa:install:migrations
INFO: Mirroring assets from /home/roushenzo/.bundler/ruby/1.9.1/spree_robokassa-5c919b0cfb78/lib/tasks/../../db to /home/roushenzo/projects/store/db
rake aborted!
uninitialized constant Spree::Core::FileUtilz
/home/roushenzo/.bundler/ruby/1.9.1/spree_robokassa-5c919b0cfb78/lib/tasks/install.rake:14:in block (3 levels) in <top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:incall'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in block in execute' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:ineach'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in execute' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:166:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:159:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:152:in invoke' /home/roushenzo/.bundler/ruby/1.9.1/spree_robokassa-5c919b0cfb78/lib/tasks/install.rake:4:inblock (2 levels) in <top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in call' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:inblock in execute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in each' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:inexecute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:166:in block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:159:in invoke_with_call_chain' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:152:ininvoke'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:143:in invoke_task' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:inblock (2 levels) in top_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in each' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:inblock in top_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:110:in run_with_threads' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:95:intop_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:73:in block in run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:instandard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:70:in run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.3/bin/rake:33:in<top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in

'
Tasks: TOP => spree_robokassa:install:migrations

my project gem file:--------------------------------------------------------------------------------------

source 'https://rubygems.org'

gem 'rails', '3.2.11'

gem 'sqlite3'

group :assets do
gem 'sass-rails', '> 3.2.3'
gem 'coffee-rails', '
> 3.2.1'

gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

gem 'spree', '1.3.1'
gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable'
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
gem 'spree_robokassa', :git => 'git://github.com/Roush/spree_robokassa.git'

gemfile.lock

GIT
remote: git://github.com/Roush/spree_robokassa.git
revision: 5c919b0cfb785fa11bd905e3423e62b3980d9379
specs:
spree_robokassa (0.50.3)
spree_core (>= 1.3.1)

GIT
remote: git://github.com/spree/spree_auth_devise.git
revision: ab03a7a22740b52f96bf0311a1e9f18a99ee02f2
branch: 1-3-stable
specs:
spree_auth_devise (1.0.0)
cancan (> 1.6.7)
devise (
> 2.2.3)
devise-encryptable (= 0.1.1)
spree_core

GIT
remote: git://github.com/spree/spree_gateway.git
revision: 2c9e850010e49e27d17e9aa484719c976c4b1800
branch: 1-3-stable
specs:
spree_gateway (1.2.0.rc2)
savon
spree_core (~> 1.0)

GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.11)
actionpack (= 3.2.11)
mail (> 2.4.4)
actionpack (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
builder (
> 3.0.0)
erubis (> 2.7.0)
journey (
> 1.0.4)
rack (> 1.4.0)
rack-cache (
> 1.2)
rack-test (> 0.6.1)
sprockets (
> 2.2.1)
active_utils (1.0.5)
activesupport (>= 2.3.11)
i18n
activemerchant (1.29.3)
active_utils (>= 1.0.2)
activesupport (>= 2.3.14)
builder (>= 2.0.0)
i18n
json (>= 1.5.1)
money
nokogiri
activemodel (3.2.11)
activesupport (= 3.2.11)
builder (> 3.0.0)
activerecord (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
arel (
> 3.0.2)
tzinfo (> 0.3.29)
activeresource (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
activesupport (3.2.11)
i18n (
> 0.6)
multi_json (> 1.0)
acts_as_list (0.1.4)
akami (1.2.0)
gyoku (>= 0.4.0)
nokogiri (>= 1.4.0)
arel (3.0.2)
awesome_nested_set (2.1.5)
activerecord (>= 3.0.0)
aws-sdk (1.3.9)
httparty (
> 0.7)
json (> 1.4)
nokogiri (>= 1.4.4)
uuidtools (
> 2.1)
bcrypt-ruby (3.0.1)
builder (3.0.4)
cancan (1.6.8)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.1)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.4.0)
deface (0.9.1)
nokogiri (
> 1.5.0)
rails (> 3.1)
devise (2.2.3)
bcrypt-ruby (
> 3.0)
orm_adapter (> 0.1)
railties (
> 3.1)
warden (> 1.2.1)
devise-encryptable (0.1.1)
devise (>= 2.1.0.rc)
erubis (2.7.0)
execjs (1.4.0)
multi_json (
> 1.0)
ffaker (1.12.1)
gyoku (1.0.0)
builder (>= 2.1.2)
highline (1.6.11)
hike (1.2.1)
httparty (0.8.3)
multi_json (> 1.0)
multi_xml
httpi (2.0.2)
rack
i18n (0.6.1)
journey (1.0.4)
jquery-rails (2.2.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.7.6)
kaminari (0.13.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (
> 1.16)
treetop (> 1.4.8)
mime-types (1.20.1)
money (5.0.0)
i18n (
> 0.4)
json
multi_json (1.5.0)
multi_xml (0.5.2)
nokogiri (1.5.6)
nori (2.0.3)
orm_adapter (0.4.0)
paperclip (2.8.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
polyamorous (0.5.0)
activerecord (> 3.0)
polyglot (0.3.3)
rabl (0.7.2)
activesupport (>= 2.3.14)
multi_json (
> 1.0)
rack (1.4.4)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.11)
actionmailer (= 3.2.11)
actionpack (= 3.2.11)
activerecord (= 3.2.11)
activeresource (= 3.2.11)
activesupport (= 3.2.11)
bundler (> 1.0)
railties (= 3.2.11)
railties (3.2.11)
actionpack (= 3.2.11)
activesupport (= 3.2.11)
rack-ssl (
> 1.3.2)
rake (>= 0.8.7)
rdoc (> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.3)
ransack (0.7.2)
actionpack (
> 3.0)
activerecord (> 3.0)
polyamorous (
> 0.5.0)
rdoc (3.12)
json (> 1.4)
sass (3.2.5)
sass-rails (3.2.6)
railties (
> 3.2.0)
sass (>= 3.1.10)
tilt (> 1.3)
savon (2.1.0)
akami (
> 1.2.0)
builder (>= 2.1.2)
gyoku (> 1.0.0)
httpi (
> 2.0.2)
nokogiri (>= 1.4.0)
nori (> 2.0.3)
wasabi (
> 3.0.0)
select2-rails (3.2.1)
thor (> 0.14)
spree (1.3.1)
spree_api (= 1.3.1)
spree_cmd (= 1.3.1)
spree_core (= 1.3.1)
spree_dash (= 1.3.1)
spree_promo (= 1.3.1)
spree_sample (= 1.3.1)
spree_api (1.3.1)
spree_core (= 1.3.1)
versioncake (= 0.4.0)
spree_cmd (1.3.1)
thor (>= 0.14.6)
spree_core (1.3.1)
activemerchant (
> 1.29.3)
acts_as_list (= 0.1.4)
awesome_nested_set (= 2.1.5)
aws-sdk (> 1.3.4)
cancan (= 1.6.8)
deface (>= 0.9.0)
ffaker (
> 1.12.0)
highline (= 1.6.11)
jquery-rails (> 2.0)
kaminari (= 0.13.0)
money (= 5.0.0)
paperclip (
> 2.8)
rabl (= 0.7.2)
rails (> 3.2.10)
ransack (
> 0.7.2)
select2-rails (> 3.2)
state_machine (= 1.1.2)
stringex (
> 1.3.2)
spree_dash (1.3.1)
httparty (> 0.8.1)
spree_core (= 1.3.1)
spree_promo (1.3.1)
spree_core (= 1.3.1)
spree_sample (1.3.1)
spree_core (= 1.3.1)
sprockets (2.2.2)
hike (
> 1.2)
multi_json (> 1.0)
rack (
> 1.0)
tilt (> 1.1, != 1.3.0)
sqlite3 (1.3.7)
state_machine (1.1.2)
stringex (1.3.3)
thor (0.17.0)
tilt (1.3.3)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.35)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (
> 1.0, >= 1.0.2)
uuidtools (2.1.3)
versioncake (0.4.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
warden (1.2.1)
rack (>= 1.0)
wasabi (3.0.0)
httpi (~> 2.0)
nokogiri (>= 1.4.0)

PLATFORMS
ruby

DEPENDENCIES
coffee-rails (> 3.2.1)
jquery-rails
rails (= 3.2.11)
sass-rails (
> 3.2.3)
spree (= 1.3.1)
spree_auth_devise!
spree_gateway!
spree_robokassa!
sqlite3
uglifier (>= 1.0.3)

from spree_related_products.

JDutil avatar JDutil commented on July 30, 2024

The extension your trying to install has a very old version of the old installation rake tasks. You should update your extension to use an installation generator similar to other extensions that support the version of Spree that your using 1.3.x, which you can see an examples of here:

https://github.com/spree/spree_related_products/blob/master/lib/generators/spree_related_products/install/install_generator.rb

or

https://github.com/spree/spree_social/blob/master/lib/generators/spree_social/install/install_generator.rb

Essentially you need to upgrade your extension to work with the version of spree your attempting to use, because Spree::Core::FileUtilz has been removed from Spree and is no longer supported. So this is not a bug but a dependency issue that your extension has with not having been fully updated for the latest Spree changes.

I'm also closing this out since it's unrelated to this project.

from spree_related_products.

roushkaman avatar roushkaman commented on July 30, 2024

Thank you! You have helped me in many ways!

from spree_related_products.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.