Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created June 2, 2011 16:04
Show Gist options
  • Save ivanoats/1004706 to your computer and use it in GitHub Desktop.
Save ivanoats/1004706 to your computer and use it in GitHub Desktop.
WP to Refinery import
ivan:~/Development/ruby/refinerycms/ivanenviroman [git:master] → bundle exec rake wordpress:import[~/Downloads/wordpress.2010-07-01.2011-05-01.xml] --trace
** Invoke wordpress:import (first_time)
** Execute wordpress:import
** Invoke environment (first_time)
** Execute environment
rake aborted!
Given file '/Users/ivan/Development/ruby/refinerycms/ivanenviroman/~/Downloads/wordpress.2010-07-01.2011-05-01.xml' no file or not readable.
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bundler/gems/refinerycms-blog-3fcf7e43873d/lib/tasks/wordpress.rake:21:in `block (2 levels) in <top (required)>'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:205:in `call'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:205:in `block in execute'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:200:in `each'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:200:in `execute'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/ivan/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:144:in `invoke'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:112:in `invoke_task'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `each'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `block in top_level'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:84:in `top_level'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:62:in `block in run'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:59:in `run'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/bin/rake:31:in `<top (required)>'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bin/rake:19:in `load'
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bin/rake:19:in `<main>'
Tasks: TOP => wordpress:import
@ivanoats
Copy link
Author

ivanoats commented Jun 2, 2011

Thanks. I must be getting the bundle from the wrong place? Your repo or resolve's? Also your repo does not have issues enabled?

@mremolt
Copy link

mremolt commented Jun 2, 2011

We are talking about: https://github.com/mremolt/refinerycms-wordpress-import

By request from resolve I extracted the functionality into a separate gem. Issues are enabled there.

@ivanoats
Copy link
Author

ivanoats commented Jun 2, 2011

Oh! Awesome. Thank you for pointing that out, I'll give it a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment