Re: [MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Mark Rada
The problem is that /Library/Frameworks is no longer in the default search path for frameworks. The workaround is simply to add it back to the "Framework Search Paths" in the project settings. We're tracking this issue on Github: https://github.com/MacRuby/MacRuby/issues/107 On 2012-06-12, a

Re: [MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Milos & Slavica
As reported by Jean-Denis: >> After installing, in order: >> >> - Xcode 4.3.3 (update of 4.3.2) >> - MacRuby 0.12 binary distribution >> >> I create a new MacRuby project (so some MacRuby template is found), but >> Xcode 4.3.3 fails to compile the main.m file. It chokes on "#import >> " with t

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 52, Issue 7

2012-06-12 Thread Jean-Denis MUYS
Arf, OK, thanks. My mistake then. My reduction was incorrect. Indeed when I require 'ruby gems' first in macirb, there is no issue. But the issue remains in my MacRuby app. I get the following error when the app launches: /path/to/rb_main.rb:14: in `': no such file to load -- sequel (Load

Re: [MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Jean-Denis MUYS
This is happening under Lion 10.7.4. Jean-Denis On 12 juin 2012, at 15:55, Watson wrote: > Date: Tue, 12 Jun 2012 20:31:21 +0900 > From: Watson > To: "MacRuby development discussions." > > Subject: Re: [MacRuby-devel] MacRuby.h not found > Message-ID: > > Content-Type: text/pla

Re: [MacRuby-devel] problem using gems with MacRuby 0.12

2012-06-12 Thread Watson
Hi, MacRuby does not load `rubygems' automatically. So, you need 'require "rubygems"' before loading gem which you want. Please refer to http://macruby.macosforge.org/trac/ticket/855 Thanks 2012/6/12 Jean-Denis MUYS : > Hi again, > > It seems there is some issue with MacRuby installing gems,

[MacRuby-devel] problem using gems with MacRuby 0.12

2012-06-12 Thread Jean-Denis MUYS
Hi again, It seems there is some issue with MacRuby installing gems, as they don't seem to be made available to macirb: sudo macgem install --remote progressbar succeeds. macgem list --local mentions progressbar just fine macirb irb(main):001:0> require 'progressbar' Load

Re: [MacRuby-devel] macgem 'undefined method' error

2012-06-12 Thread Jean-Denis MUYS
OK, when I "sudo" that command, the error goes away. Sorry about the waste of bandwidth. Maybe the error message could be more explicit… Jean-Denis On 12 juin 2012, at 14:41, Jean-Denis Muys wrote: > Hi, > > When executing: > >macgem install sequel > > I get: > >Fetching: sequel-3

[MacRuby-devel] macgem 'undefined method' error

2012-06-12 Thread Jean-Denis MUYS
Hi, When executing: macgem install sequel I get: Fetching: sequel-3.36.1.gem ( 4%)ERROR: While executing gem … (NoMethodError) undefined method `to_str' for # I have no idea whether the issue is with MacRuby or sequel. Any suggestion? Thanks, Jean-Denis [Logo Kleegroup]

Re: [MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Jean-Denis MUYS
I am not sure this is really the right thing to do, but copying the MacRuby.framework directory back inside the Xcode.app bundle solved my issue. This even lets me work indifferently with Xcode 4.3.3 and Xcode 45DP1. I used the ditto command, e.g.: sudo ditto /Library/Frameworks/MacRuby.framewo

Re: [MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Watson
Hi, MacRuby does not support Mountain Lion yet. Please use MacRuby with Lion or Snow Leopard. Thanks 2012/6/12 Jean-Denis MUYS : > Hello, > > After installing, in order: > > - Xcode 4.3.3 (update of 4.3.2) > - Xcode 4.5DP1 > - MacRuby 0.12 binary distribution > > I create a new MacRuby project

[MacRuby-devel] MacRuby.h not found

2012-06-12 Thread Jean-Denis MUYS
Hello, After installing, in order: - Xcode 4.3.3 (update of 4.3.2) - Xcode 4.5DP1 - MacRuby 0.12 binary distribution I create a new MacRuby project (so some MacRuby template is found), but Xcode 4.3.3 fails to compile the main.m file. It chokes on "#import " with the error "MacRuby/MacRuby.h f