darwin / move-wiki

GitHub wiki migration tasks
8 stars 3 forks source link

Can't run `rake pull_wiki` task: cannot load such file -- spider/lib/spider.rb #1

Open datapolitan opened 9 years ago

datapolitan commented 9 years ago

Getting the following error when try to run rake pull_wiki task:

rake aborted!
cannot load such file -- spider/lib/spider.rb
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/richarddunks/Dropbox/Datapolitan/github/move-wiki/rakefile:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/rake_module.rb:25:in `load'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/rake_module.rb:25:in `load_rakefile'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:604:in `raw_load_rakefile'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:89:in `block in load_rakefile'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:160:in `standard_exception_handling'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:88:in `load_rakefile'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:72:in `block in run'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:160:in `standard_exception_handling'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rake/application.rb:70:in `run'
/usr/bin/rake:37:in `<main>'

Changed the permissions on the files (chmod 777 spider/lib/spider.rb) and can open the file in a text editor but still doesn't seem accessible in the app.

StanBoyet commented 8 years ago

+1

ghost commented 8 years ago

Same problem here.

I managed to find this post: http://www.backtrack-linux.org/forums/showthread.php?t=41807 but am unsuccessful at getting the steps in the second to last post to work.

I changed my environment for Ruby from 2.0 to ree-1.8.7-2011.03 and then ree-1.8.7-2012.02 using rbyenv and ruby-build, but while I try to install the spider gem in those environments I get a segfault: 11.

allenwlee commented 7 years ago

+1 same problem

smrgeoinfo commented 3 years ago

+1 same problem. Running Ruby 3.0.0, Windows 10