Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no such file to load -- core_ext/string #8

Open
proxygear opened this issue Nov 18, 2011 · 3 comments
Open

no such file to load -- core_ext/string #8

proxygear opened this issue Nov 18, 2011 · 3 comments

Comments

@proxygear
Copy link

I'm sure somebody already meet this issue.
I found a StackOverflow question, sadly, closed :
http://stackoverflow.com/questions/7493066/loaderror-when-loading-core-ext-string

Here is the stack trace :
rake aborted!
no such file to load -- core_ext/string
/Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in require' /Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:inrequire'
/Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in load_dependency' /Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:innew_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in load_dependency' /Library/Ruby/Gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:inrequire'
/Library/Ruby/Gems/1.8/gems/nokogiri-plist-0.5.0/lib/nokogiri-plist.rb:17
/Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in require' /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:inrequire'
/Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in each' /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:inrequire'
/Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in each' /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:inrequire'
/Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122:in require' /Users/digitalfibr/Documents/Dev/ArchivMe/config/application.rb:12 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' /Users/digitalfibr/Documents/Dev/ArchivMe/Rakefile:3 /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:inload'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501:inraw_load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:inrun'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

I'm using :

  • nokogiri (1.5.0)
  • nokogiri-plist (0.5.0)

The curious thing is it's working on my mac but I does not on my collaborator one, same bundle of course ....

Thank you

@caseyhoward
Copy link
Owner

I can't reproduce this. Can you give me a simple project or let me know the steps to reproduce? What exact version of ruby? It appears you are using it with rails 3.1.1. Can I reproduce this by just putting this in my Gemfile in an empty project. Please let me know. If not, I'll still give it a try eventually.

@ybart
Copy link

ybart commented Jan 30, 2012

It's an UNIX permission problem:

ls -al vendor/bundle/ruby/1.9.1/gems/nokogiri-plist-0.5.0/lib/core_ext/

gives

-rw--w---- 1 root root 91 Jan 30 13:03 string.rb

chmod it to 644 should fix it !

gshutler added a commit to cronofy/nokogiri-plist that referenced this issue Aug 20, 2015
We hit this issue in production: caseyhoward#8

Seeing as the monkey patch is not used internally and we don't use it
either, the best course of action seemed to be removing it.
@MCDELTAT
Copy link

MCDELTAT commented Apr 12, 2017

Also just got this error now, so thanks for making a thread on it. chmod 644 was sufficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants