-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cannot load RubyCocoa library #36
Comments
Sorry, but I cannot provide any help with that. I have no experience with a manual installation of RubyCocoa. Since OS X has started to bundle RubyCocoa there is no need to install it by hand anymore. |
But shouldn't it be able to find the installed bundle ? On 10 Jan 2013, at 11:52, Christian Plessl [email protected] wrote:
|
Yes, it should. This is why this looks more like a RubyCocoa problem than a wkpdf problem to me. Are you able to run one of the sample scripts shipped with RubyCocoa? What happens for example if you save the following script (from the RubyCocoa examples) to a file
|
Sorry to bother you with this but I'm quite new to Ruby /Users/stofke/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in On 10 Jan 2013, at 12:05, Christian Plessl [email protected] wrote:
|
As I suspected, it looks like RubyCocoa is not properly installed in your rvm setup. Maybe this is of help: http://rbxbx.tumblr.com/post/556343148/install-rubycocoa-on-rvm |
Thank you for looking into this. I'll try that suggestion Kind regards, Kristof Polleunis
|
Sorry to bother you once more, I followed the suggestions in that link until I hit another error, fixed that also until I hit another one did fix that too but now I'm stuck, I wonder if you have any ideas what this is all about dyld: lazy symbol binding failed: Symbol not found: _RBRubyCocoaInit dyld: Symbol not found: _RBRubyCocoaInit Trace/BPT trap: 5 Kristof Polleunis
|
Unfortunately I have no idea what the problem could be. But for what reason do you want to use rvm? RubyCocoa and wkpdf work just fine with the default Ruby installation shipped with OS X 10.7 and 10.8, probably also 10.6. On 15.01.2013, at 15:59, Kristof Polleunis [email protected] wrote:
|
Actually I don't know how to switch to the default Ruby installation, without removing rvm? On 15 Jan 2013, at 22:35, Christian Plessl [email protected] wrote:
|
rvm use system (see https://rvm.io/rubies/default/) On 15.01.2013, at 22:41, Kristof Polleunis [email protected] wrote:
Christian Plessl, Am Hilligenbusch 18, 33098 Paderborn, Germany |
I'm almost there it installed well but still one error left to squash RubyGems installed the following executables: [ On 15 Jan 2013, at 22:35, Christian Plessl [email protected] wrote:
|
I don't have any idea. A quick google search pointed out bundler, rubygems of rvm as possible sources for this error. But debugging this is beyond the support I can offer. On 15.01.2013, at 23:58, Kristof Polleunis [email protected] wrote:
Christian Plessl, Am Hilligenbusch 18, 33098 Paderborn, Germany |
No problem, I won't take up more of your time, you have been very helpful. I came across that same thing via google but couldn't make head or tails from it. I'll uninstall rvm eventually and see if that helps. On 16 Jan 2013, at 09:22, Christian Plessl [email protected] wrote:
|
@Stofke72 I had the same issue. Try this:
|
@mastahyeti Thanks. It works. |
I had the same problem. I have OS X 10.8.3 Cannot load RubyCocoa library So I followed mastahyeti, Uninstall the gem: sudo gem uninstall wkpdf But I get an error as following. Anyone knows how to fix it? Thank you in advance. sudo /usr/bin/gem install wkpdf |
Is rvm really deactivated for your environment? Is /usr/bin/gem a symlink and where does it point to ( On my installation it points to: ../../System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem |
Using wkpdf with non-default Ruby installations is not supported. |
More info regarding this issue: rbenv/rbenv#270. |
Cannot load RubyCocoa library
wkpdf requires that RubyCocoa is installed, which is shipped by default since
Mac OS X 10.5. If you use Mac OS X 10.4, you have to install RubyCocoa
yourself from http://rubycocoa.sourceforge.net/HomePage
I'm on OSX 10.8.2 using rvm installed it to global ruby1.9.3-P194
The text was updated successfully, but these errors were encountered: