Comments (18)
Try bundle exec thor....
as seems like it can't find spree itself run with bundle to pick up gems
btw I'm still working on support for Rails 4 and Spree 2 so may not work for latest versions
hope to complete changes to support Spree 2 this weekend
cheers
tom
Sent from Yahoo Mail on Android
from datashift_spree.
Hi tom,
Thanks for your reply
I've tried with bundle exec
and now it raise a different error:
/usr/local/lib/ruby/gems/2.0.0/gems/datashift_spree-0.5.0/lib/thor/spree/products_images.thor:53:in `products': undefined method `set_default_value' for #<DataShift::SpreeHelper::ProductLoader:0x007f3243c5fd38> (NoMethodError)
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/runner.rb:36:in `method_missing'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/bin/thor:6:in `<top (required)>'
from /usr/local/bin/thor:23:in `load'
from /usr/local/bin/thor:23:in `<main>'
Also my Gemfile if it would help
source 'http://rubygems.org'
ruby "2.0.0"
gem "rails", "~> 4.0.5"
gem 'highline', '~> 1.6.18'
gem 'capistrano', '2.15.5'
gem 'rvm-capistrano'
gem "capistrano_colors", "~> 0.5.5", :require => false
gem "devise", "~> 3.2.4"
gem "devise-encryptable", "~> 0.1.2"
gem 'omniauth-facebook', '1.6.0'
gem 'omniauth-twitter', '1.0.1'
gem 'omniauth-openid', '1.0.1'
gem "inherited_resources", "~> 1.4.1"
gem 'has_scope'
gem 'responders'
gem 'simple_form'
gem 'cancan', '~> 1.6.10'
gem 'role_model'
gem "kaminari", "~> 0.15.1"
gem "acts_as_commentable", "~> 4.0.1"
gem 'ajaxful_rating', github: 'parallel588/ajaxful-rating', branch: 'rails3'
gem 'breadcrumbs_on_rails'
gem 'mysql2'
gem "randumb", "~> 0.4.0"
gem 'foreigner'
gem 'rinku', "~> 1.7.3"
gem "impressionist", "~> 1.5.1"
gem 'rakismet'
gem "state_machine", "~> 1.2.0"
gem 'awesome_nested_set', '~> 3.0.0.rc.3'
gem 'tilt', '1.4.1'
gem "slim-rails", "~> 2.0.4"
# Redis
gem "redis", "~> 3.0.6"
gem "sidekiq", "~> 2.17.1"
gem 'resque', '~> 1.23.0', :require => "resque/server"
gem 'resque-scheduler', :require => 'resque_scheduler'
gem "redis-scheduler"
gem "whenever", "~> 0.8.4", :require => false
gem "rediline", github: "dmathieu/rediline"
gem "activerecord-import"
gem 'jquery-rails', '3.1.0'
gem "hpricot"
gem "friendly_id", "~> 5.0.2"
gem "paperclip", "3.4.1"
gem "paperclip-compression", "~> 0.3.3"
gem "delayed_paperclip", "~> 2.6.1"
gem "sinatra", "~> 1.4.4"
gem "mutations", "~> 0.6.0"
# gem 'linalg', github: 'parallel588/linalg' # Cannot find a repo.
# gem "protected_attributes", "~> 1.0.5"
gem 'bugsnag'
gem 'paypal-express'
gem "activemerchant", "~> 1.42.2"
gem 'client_side_validations', github: "bcardarella/client_side_validations", :branch => "4-0-beta"
#gem 'cocaine', '> 0.4.2'
gem "botscout", ">= 0.0.3"
gem 'transaction_retry'
gem 'home_run', "~> 1.0.9", :require=>'date'
gem "cache_digests", "~> 0.3.1"
gem "multi_fetch_fragments", "~> 0.0.17"
gem 'utf8-cleaner', '~> 0.0.9'
gem "koala", "~> 1.8.0"
gem "redcarpet", "~> 3.0.0"
gem "github-markdown", "~> 0.5.3"
gem "sanitize"
gem "dalli", "~> 2.6.4"
gem "asset_sync", "~> 1.0.0"
gem "unf", "~> 0.1.3"
gem 'sass-rails', '~> 4.0.1'
gem 'uglifier', '~> 2.3.2'
gem 'coffee-rails', '~> 4.0.1'
gem 'therubyracer', platform: :ruby
gem "libv8", "~> 3.16.14.3"
group :development do
gem "quiet_assets", "~> 1.0.1"
gem 'thin', '~> 1.6.1'
gem 'foreman'
gem "rack-mini-profiler", "0.9.0"
gem "benchmark-ips"
gem "bullet", "~> 4.6.0"
end
group :test, :development do
gem "rspec-rails", "~> 2.14.1"
gem "factory_girl_rails", "~> 4.3.0"
gem "letter_opener", "~> 1.2.0"
gem "pry-rails", "~> 0.3.2"
gem "capybara", "~> 2.1.0"
gem "capybara-webkit", "~> 1.0.0"
end
group :test do
gem 'machinist', '2.0.0.beta2'
gem 'database_cleaner'
gem "shoulda", "~> 3.5.0"
gem "email_spec", "~> 1.5.0"
gem "launchy", "~> 2.3.0"
gem "vcr", "~> 2.7.0"
gem "timecop", "~> 0.6.3"
gem "webmock", "~> 1.15.2"
end
gem 'aws-sdk', '>= 1.11.1' # This one has been commented out as it's already used in spree
group :production do
gem "newrelic_rpm", "~> 3.7.1.188"
end
gem 'spree', github: 'spree/spree', branch: '2-1-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-1-stable'
gem 'spree_drop_ship', github: 'jdutil/spree_drop_ship', branch: '2-1-stable'
gem 'spree_marketplace', github: 'jdutil/spree_marketplace', branch: 'stripe_2_1'
# Search
gem "thinking-sphinx", "~> 3.1.0"
gem "ts-sidekiq-delta", "~> 0.2.0"
gem 'datashift'
gem 'datashift_spree'
Thanks
from datashift_spree.
Hi
yes that's picking up the gems now
unfortunately Rails 4 and latest spree/paperclip introduced lots of changes
and this is not part of my day job, so taking a while to update datashift
however \ii have 75% of the specs now running under 4 Spree 2 so nearly thee
ad hopefully by Monday you'll have a runnable version
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Thursday, 3 July 2014, 15:31
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
Hi tom,
Thanks for your reply
I've tried with bundle exec and now it raise a different error:
/usr/local/lib/ruby/gems/2.0.0/gems/datashift_spree-0.5.0/lib/thor/spree/products_images.thor:53:in products': undefined method
set_default_value' for #DataShift::SpreeHelper::ProductLoader:0x007f3243c5fd38 (NoMethodError) from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/runner.rb:36:in method_missing' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:29:in
run' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:126:in run' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command' from
/usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start' from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/bin/thor:6:in <top (required)>' from /usr/local/bin/thor:23:in
load' from /usr/local/bin/thor:23:in `
Also some parts of my Gemfile if it would help
source 'http://rubygems.org'
ruby "2.0.0"
gem "rails", "
gem 'highline', '
gem 'rvm-capistrano'
gem "capistrano_colors", "
gem "devise-encryptable", "
gem 'omniauth-facebook', '1.6.0'
gem 'omniauth-twitter', '1.0.1'
gem 'omniauth-openid', '1.0.1' gem "inherited_resources", "
gem 'has_scope'
gem 'responders'
gem 'simple_form'
gem 'cancan', '
gem 'role_model'
gem "kaminari", "
gem "acts_as_commentable", "
gem 'ajaxful_rating', github: 'parallel588/ajaxful-rating', branch: 'rails3'
gem 'breadcrumbs_on_rails'
gem 'mysql2'
gem "randumb", "
gem 'foreigner'
gem 'rinku', "
gem "impressionist", "
gem 'rakismet'
gem "state_machine", "
gem 'awesome_nested_set', '
gem 'tilt', '1.4.1'
gem "slim-rails", "
gem "redis", "
gem "sidekiq", "
gem 'resque-scheduler', :require => 'resque_scheduler'
gem "redis-scheduler" gem "whenever", "
gem "rediline", github: "dmathieu/rediline"
gem "activerecord-import" gem 'jquery-rails', '3.1.0'
gem "hpricot" gem "friendly_id", "
gem "paperclip", "3.4.1"
gem "paperclip-compression", "
gem "delayed_paperclip", "
gem "mutations", "
gem "protected_attributes", "~> 1.0.5" gem 'bugsnag'
gem 'paypal-express'
gem "activemerchant", "> 1.42.2" gem 'client_side_validations', github: "bcardarella/client_side_validations", :branch => "4-0-beta"> 1.0.9", :require=>'date'
#gem 'cocaine', '> 0.4.2'
gem "botscout", ">= 0.0.3"
gem 'transaction_retry'
gem 'home_run', "
gem "cache_digests", "> 0.3.1"> 0.0.17"
gem "multi_fetch_fragments", "
gem 'utf8-cleaner', '> 0.0.9'> 1.8.0"
gem "koala", "
gem "redcarpet", "> 3.0.0"> 0.5.3"
gem "github-markdown", "
gem "sanitize"
gem "dalli", "> 2.6.4" gem "asset_sync", "> 1.0.0"
gem "unf", "> 0.1.3" gem 'sass-rails', '> 4.0.1'
gem 'uglifier', '> 2.3.2'> 4.0.1'
gem 'coffee-rails', '
gem 'therubyracer', platform: :ruby
gem "libv8", "> 3.16.14.3" group :development do gem "quiet_assets", "> 1.0.1" gem 'thin', '> 1.6.1' gem 'foreman' gem "rack-mini-profiler", "0.9.0" gem "benchmark-ips" gem "bullet", "> 4.6.0"
end group :test, :development do gem "rspec-rails", "> 2.14.1" gem "factory_girl_rails", "> 4.3.0" gem "letter_opener", "> 1.2.0" gem "pry-rails", "> 0.3.2" gem "capybara", "> 2.1.0" gem "capybara-webkit", "> 1.0.0"
end group :test do gem 'machinist', '2.0.0.beta2' gem 'database_cleaner' gem "shoulda", "> 3.5.0" gem "email_spec", "> 1.5.0" gem "launchy", "> 2.3.0" gem "vcr", "> 2.7.0" gem "timecop", "> 0.6.3" gem "webmock", "> 1.15.2"
end gem 'aws-sdk', '>= 1.11.1' # This one has been commented out as it's already used in spree group :production do gem "newrelic_rpm", "> 3.7.1.188"> 3.1.0"
end gem 'spree', github: 'spree/spree', branch: '2-1-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-1-stable'
gem 'spree_drop_ship', github: 'jdutil/spree_drop_ship', branch: '2-1-stable'
gem 'spree_marketplace', github: 'jdutil/spree_marketplace', branch: 'stripe_2_1' # Search
gem "thinking-sphinx", "
gem "ts-sidekiq-delta", "~> 0.2.0" gem 'datashift'
gem 'datashift_spree'
Thanks
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
Thanks alot tom,
I'll be waiting
from datashift_spree.
Hi Tom,
I'm trying to fetch the latest updates but it stuck while fetching the repo.
this is what I have in my Gemfile:
gem 'datashift', :git => 'http://github.com/autotelik/datashift'
gem 'datashift_spree', :git => 'http://github.com/autotelik/datashift_spree'
I also tried
gem 'datashift', :github => 'autotelik/datashift'
gem 'datashift_spree', :github => 'autotelik/datashift_spree'
And
gem 'datashift', :git => 'git://github.com/autotelik/datashift.git'
gem 'datashift_spree', :git => 'git://github.com/autotelik/datashift_spree.git'
and I got the same result.
Do you have any thoughts?
Thanks
from datashift_spree.
Hi
I just tried
gem 'datashift', :git => 'http://github.com/autotelik/datashift'
gem 'datashift_spree', :git => 'http://github.com/autotelik/datashift_spree'
bundle update worked no problems
what are the symptoms of it being 'stuck' ?
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 15:45
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
Hi Tom,
I'm trying to fetch the latest updates but it stuck while fetching the repo.
this is what I have in my Gemfile:
gem 'datashift', :git => 'http://github.com/autotelik/datashift'
gem 'datashift_spree', :git => 'http://github.com/autotelik/datashift_spree'
I also tried
gem 'datashift', :github => 'autotelik/datashift'
gem 'datashift_spree', :github => 'autotelik/datashift_spree'
And
gem 'datashift', :git => 'git://github.com/autotelik/datashift.git'
gem 'datashift_spree', :git => 'git://github.com/autotelik/datashift_spree.git'
and I got the same result.
Do you have any thoughts?
Thanks
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
Hi Tom,
Thanks for your reply,
This is what I get after running bundle update
Updating git://github.com/parallel588/ajaxful-rating.git
Updating git://github.com/dmathieu/rediline.git
Updating git://github.com/bcardarella/client_side_validations.git
Updating git://github.com/spree/spree.git
Updating git://github.com/spree/spree_auth_devise.git
Updating git://github.com/jdutil/spree_drop_ship.git
Updating git://github.com/jdutil/spree_marketplace.git
Updating git://github.com/halo/spree_digital.git
Fetching http://github.com/autotelik/datashift
and It dose not advance any more.
from datashift_spree.
I did make some changes to gitignore and removed a large sandbox area that was wasted resources
so maybe the dependancies will take a while first time - have you let it for a long time rather than killing it ?
other than that I'm a bit stumped, never come across bundler hanging - googling now
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:21
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
Hi Tom,
Thanks for your reply,
This is what I get after running bundle update
Updating git://github.com/parallel588/ajaxful-rating.git
Updating git://github.com/dmathieu/rediline.git
Updating git://github.com/bcardarella/client_side_validations.git
Updating git://github.com/spree/spree.git
Updating git://github.com/spree/spree_auth_devise.git
Updating git://github.com/jdutil/spree_drop_ship.git
Updating git://github.com/jdutil/spree_marketplace.git
Updating git://github.com/halo/spree_digital.git
Fetching http://github.com/autotelik/datashift
and It dose not advance any more.
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
I've let it for more that 30 minutes now and it just as it is no progress.
from datashift_spree.
i just tried with a brand new install and it went in seconds
what ruby /bundler version are you on ?
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:33
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
I've let it for more that 30 minutes now and it just as it is no progress.
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
tried with git too .. again no issues
gem 'datashift', :git => 'git://github.com/autotelik/datashift'
gem 'datashift_spree', :git => 'git://github.com/autotelik/datashift_spree'
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:33
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
I've let it for more that 30 minutes now and it just as it is no progress.
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
just found this flag which may give more info ....bundle install --verbose
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:33
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
I've let it for more that 30 minutes now and it just as it is no progress.
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
Ruby version: ruby 2.0.0p481 (2014-05-08 revision 45883)
Bundler version: 1.6.3
from datashift_spree.
tried with --verbose
option, got nothing also
from datashift_spree.
strange .. I get a whole load of extra stuff like this
Fetching from: https://bundler.rubygems.org/api/v1/dependencies?gems=mkrf
HTTP Success
Query List: []
Fetching additional metadata from https://rubygems.org/
Query List: ["faraday-middleware", "mhennemeyer-output_catcher", "peterwald-git", "schacon-git", "tenderlove-frex", "chalofa_ruby-progressbar", "jnunemaker-crack", "spicycode-rcov"]
Query Gemcutter Dependency Endpoint API: faraday-middleware,mhennemeyer-output_catcher,peterwald-git,schacon-git,tenderlove-frex,chalofa_ruby-progressbar,jnunemaker-crack,spicycode-rcov
Fetching from: https://bundler.rubygems.org/api/v1/dependencies?gems=faraday-middleware,mhennemeyer-output_catcher,peterwald-git,schacon-git,tenderlove-frex,chalofa_ruby-progressbar,jnunemaker-crack,spicycode-rcov
HTTP Success
Query List: []
Resolving dependencies...
but I'm using 1.9.3 and JRuby .. will try installing Ruby 2
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:48
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
tried with --verbose option, got nothing also
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
I've just checked in a simplified gemspec .. that appears to be one area that can cause issuessimilar to this
if that does not help you could download the zip/clone direct from github (http://github.com/autotelik/datashift)
and just build and install the gem locally .. there is a helper taks that will do this for you ...
ruby_user:~]> cd SoftwareDev/git/datashift
ruby_user:~/SoftwareDev/git/datashift] > thor datashift:build
cheers
tom
new album : http://dhaturarecords.bandcamp.com/album/antifragile
soundscapes and electronic music:http://soundcloud.com/aqwan
From: Ahmed Ali [email protected]
To: autotelik/datashift_spree [email protected]
Cc: tom statter [email protected]
Sent: Tuesday, 8 July 2014, 16:41
Subject: Re: [datashift_spree] Error while executing thor datashift_spree:load:products (#26)
Ruby version: ruby 2.0.0p481 (2014-05-08 revision 45883)
Bundler version: 1.6.3
—
Reply to this email directly or view it on GitHub.
from datashift_spree.
I'll give it a try, thanks a lot tom for your time.
from datashift_spree.
Hi Tom,
I left it for about two hours and it finally done, seems that there was something wrong with the connection maybe.
I used one of your fixtures/x.csv examples to run
bundle exec thor datashift_spree:load:products -i products.csv
and every thing went perfect I've successfully created the products in this file.
When I tried to run rails s
, The following error appeared:
/home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift/populator.rb:19:in `<class:Populator>': uninitialized constant DataShift::Logging (NameError)
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift/populator.rb:17:in `<module:DataShift>'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift/populator.rb:15:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/local/lib/ruby/gems/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:88:in `block (2 levels) in require_libraries'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:85:in `each'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:85:in `block in require_libraries'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:84:in `each'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:84:in `require_libraries'
from /home/ahmed/.bundler/ruby/2.0.0/datashift-a95fb0763310/lib/datashift.rb:117:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:in `require'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:in `each'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:in `block in require'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:in `each'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:in `require'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.3/lib/bundler.rb:132:in `require'
from /APP_PATH/config/application.rb:8:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:74:in `require'
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:74:in `block in <top (required)>'
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:71:in `tap'
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:71:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
So I changed line#19 in lib/datashift/populator.rb
from include DataShift::Logging
to include Logging
after trying rails s
again I got the same error but this time from lib/datashift/exceptions.rb
so I also change line#11 from include DataShift::Logging
to include Logging
and now every thing is working fine.
Thanks a lot.
from datashift_spree.
Related Issues (20)
- Spree verison 3.0.4 HOT 7
- Feature: spree_related_products support HOT 2
- No Thor commands available HOT 5
- #<NoMethodError: undefined method `stock_location_name=' for #<Spree::Product:0x00000007ecd9a0>> HOT 2
- change count_on_hand in templates to stock_items
- master price is reset if using variants
- Product assigned to every parent taxonomy
- thor datashift_spree:load:products fails to render values from xls formulas HOT 1
- Paperclip not working for spree 3? HOT 6
- Error to upload images using datashift_spree:load:images HOT 3
- how to upload order and users HOT 1
- Products price get a trailing zero in import
- Failed to import supplier_id (spree_drop_ship) HOT 6
- uninitialized constant DataShift::CsvLoading (NameError) HOT 3
- can't attach images on product update HOT 5
- ERROR: "thor csv" was called with arguments ["-i,", "-m,"] Usage: "thor datashift:import:csv -i, --input=INPUT -m, --model=MODEL" HOT 9
- uninitialized constant DataShift::Spree HOT 1
- Failed to import Products. Error: undefined method `type_cast_from_database' HOT 10
- Variants are not updated with variant SKU
- how do i generate compatible csv files HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datashift_spree.