Re: [MacRuby-devel] [0.5 beta 1] issues running ruby specs with macrake and rake

2009-10-08 Thread Vincent Isambart
> a)  running spec:ci using macrake segmentation fault
> b)  running spec:ci using rake aborts

Try running spec:ci disabling the RBO files :
VM_DISABLE_RBO=1 rake spec:ci
or
VM_DISABLE_RBO=1 macrake spec:ci
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] [MacRuby] #368: AOT compilation failing on this example

2009-10-08 Thread MacRuby
#368: AOT compilation failing on this example
-+--
 Reporter:  mattaimone...@…  |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:  MacRuby 0.5  
Component:  MacRuby  |Keywords:   
-+--


-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [0.5 beta 1] issues running ruby specs with macrake and rake

2009-10-08 Thread Laurent Sansonetti
This regression was introduced by r2762 (which was committed *after*  
the beta :)) and it has been reverted.


Laurent

On Oct 7, 2009, at 11:20 PM, Conrad Taylor wrote:


a)  running spec:ci using macrake segmentation fault

$ macrake spec:ci
unknown: warning: already initialized constant TOPDIR
unknown: warning: already initialized constant CONFIG
unknown: warning: already initialized constant MAKEFILE_CONFIG
Segmentation fault

b)  running spec:ci using rake aborts

$ rake spec:ci
(in /Users/conradwt/macruby.dir/projects/macruby-trunk)
./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
.2009 
-10-07 23:02:23.167 macruby[11134:1b07] *** Terminating app due to  
uncaught exception 'NameError', reason: 'undefined method `pwd' for  
module `RbConfig''

*** Call stack at first throw:
(
	0   CoreFoundation  0x7fff82a995a4  
__exceptionPreprocess + 180
	1   libobjc.A.dylib 0x7fff86ae3313  
objc_exception_throw + 45
	2   libmacruby.dylib0x00010017a185  
rb_vm_raise + 197
	3   libmacruby.dylib0x00010003f8c9  
rb_exc_raise + 9
	4   libmacruby.dylib0x00010003c3d4  
rb_name_error + 260
	5   libmacruby.dylib0x000100040154  
rb_print_undef + 196
	6   libmacruby.dylib0x00010012065d  
rb_export_method + 157
	7   libmacruby.dylib0x000100120d09  
rb_mod_modfunc + 441
	8   libmacruby.dylib0x00010016d02f  
rb_vm_dispatch + 5679
	9   fileutils.rbo   0x0001011bdea5  
__ruby_scope1 + 197

)
terminate called after throwing an instance of 'NSException'
rake aborted!
Command failed with status (): [./mspec/bin/mspec ci -B ./spec/ 
macruby.msp...]


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [0.5 beta 1] issues running ruby specs with macrake and rake

2009-10-08 Thread Conrad Taylor
Laurent, I was interested in putting the RBO through their paces by running
the Ruby Rspecs.  Thus, is this something that's planned for a future
release?
-Conrad

On Thu, Oct 8, 2009 at 1:55 AM, Laurent Sansonetti wrote:

> This regression was introduced by r2762 (which was committed *after* the
> beta :)) and it has been reverted.
>
> Laurent
>
>
> On Oct 7, 2009, at 11:20 PM, Conrad Taylor wrote:
>
>  a)  running spec:ci using macrake segmentation fault
>>
>> $ macrake spec:ci
>> unknown: warning: already initialized constant TOPDIR
>> unknown: warning: already initialized constant CONFIG
>> unknown: warning: already initialized constant MAKEFILE_CONFIG
>> Segmentation fault
>>
>> b)  running spec:ci using rake aborts
>>
>> $ rake spec:ci
>> (in /Users/conradwt/macruby.dir/projects/macruby-trunk)
>> ./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
>> MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
>> .2009-10-07
>> 23:02:23.167 macruby[11134:1b07] *** Terminating app due to uncaught
>> exception 'NameError', reason: 'undefined method `pwd' for module
>> `RbConfig''
>> *** Call stack at first throw:
>> (
>>0   CoreFoundation  0x7fff82a995a4
>> __exceptionPreprocess + 180
>>1   libobjc.A.dylib 0x7fff86ae3313
>> objc_exception_throw + 45
>>2   libmacruby.dylib0x00010017a185
>> rb_vm_raise + 197
>>3   libmacruby.dylib0x00010003f8c9
>> rb_exc_raise + 9
>>4   libmacruby.dylib0x00010003c3d4
>> rb_name_error + 260
>>5   libmacruby.dylib0x000100040154
>> rb_print_undef + 196
>>6   libmacruby.dylib0x00010012065d
>> rb_export_method + 157
>>7   libmacruby.dylib0x000100120d09
>> rb_mod_modfunc + 441
>>8   libmacruby.dylib0x00010016d02f
>> rb_vm_dispatch + 5679
>>9   fileutils.rbo   0x0001011bdea5
>> __ruby_scope1 + 197
>> )
>> terminate called after throwing an instance of 'NSException'
>> rake aborted!
>> Command failed with status (): [./mspec/bin/mspec ci -B
>> ./spec/macruby.msp...]
>>
>> ___
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby 0.5 beta 1

2009-10-08 Thread Wayne Seguin

Excellent,

Is it possible to a) install from command line and b) tell it to  
install to a specific location?

(--prefix=~/.rvm/macruby-0.5b1)

Thanks,

  ~Wayne

On Oct 08, 2009, at 00:13 , Laurent Sansonetti wrote:


Hi,

The first beta release of MacRuby 0.5 is out! I prepared some notes  
here:


http://www.macruby.org/blog/2009/10/07/macruby05b1.html

The goal is to go through a few beta releases before releasing the  
final 0.5.


Please give it a try and report us bugs & feedback :)

Laurent
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #178: ArgumentError Exception: can't convert C/Objective-C value of type `[4d]' to Ruby object

2009-10-08 Thread MacRuby
#178: ArgumentError Exception: can't convert C/Objective-C value of type `[4d]'
to Ruby object
-+--
 Reporter:  dognot...@…  |   Owner:  lsansone...@…  
 Type:  defect   |  Status:  new
 Priority:  major|   Milestone: 
Component:  MacRuby  |Keywords:  ArgumentError array convert
-+--

Comment(by dognot...@…):

 I just want to add that as of trunk r2709, this is still broken, and my
 previous patch also no longer works with 0.5, as the boxing code is
 completely different. Unfortunately, this is critical for me to get my
 project running on Snow Leopard.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Trunk build not working

2009-10-08 Thread Giampiero De Ciantis

Thanks Laurent.

It's weird that this happened since the only thing I changed between  
builds was that I blew away the \Library\Frameworks\MacRuby folder to  
clean up my machine a bit. Ah well, it's all good now.


Cheers,

-Gp



On 2009-10-08, at 12:34 AM, Laurent Sansonetti wrote:

It doesn't build because you apparently installed an incompatible  
set of mach-o include files in /usr/local. You could temporarily  
rename the /usr/local/include/mach-o directory (or delete it, if you  
don't know why it's there).


Laurent

On Oct 7, 2009, at 9:30 PM, Giampiero De Ciantis wrote:


I am getting this when I build:

(in /Users/Gp/projects/macruby)
/usr/bin/gcc -std=c99 markgc.c -o markgc -Wno-format
In file included from markgc.c:31:
/usr/local/include/mach-o/arch.h:35: error: nested redefinition of  
‘enum NXByteOrder’
/usr/local/include/mach-o/arch.h:35: error: redeclaration of ‘enum  
NXByteOrder’
/usr/local/include/mach-o/arch.h:36: error: redeclaration of  
enumerator ‘NX_UnknownByteOrder’
/usr/include/architecture/byte_order.h:147: error: previous  
definition of ‘NX_UnknownByteOrder’ was here
/usr/local/include/mach-o/arch.h:37: error: redeclaration of  
enumerator ‘NX_LittleEndian’
/usr/include/architecture/byte_order.h:148: error: previous  
definition of ‘NX_LittleEndian’ was here
/usr/local/include/mach-o/arch.h:39: error: redeclaration of  
enumerator ‘NX_BigEndian’
/usr/include/architecture/byte_order.h:150: error: previous  
definition of ‘NX_BigEndian’ was here

rake aborted!
Command failed with status (1): [/usr/bin/gcc -std=c99 markgc.c -o  
markgc -...]


I am using SL on a Core 2 Duo iMac. Any thoughts?

Cheers,

-Gp
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Link Error in 0.5b1 blog post announcement

2009-10-08 Thread Keith Gautreaux
FYI, the "report us" link the in third paragraph of the 0.5b1
announcement on macruby.org has a link error.  It should be top-level
(http://macruby.org/contact-us.html) but instead is under the
blog/2009/10/07 hierarchy.  I tried to fork the site on github and
make a diff but the github mirror seems to be lagging behind (last
commit is from 10/2/09).

-- 
Keith
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] 0.5 beta1

2009-10-08 Thread Juergen Dabel

Help,

I get from the blog sample:

dab:~ jdabel$ macrubyc t.rb -o t
Can't locate program `llc'

My mac:
Hardware-Übersicht:

  Modellname:   MacBook
  Modell-Identifizierung:   MacBook5,1
  Prozessortyp: Intel Core 2 Duo
  Prozessorgeschwindigkeit: 2,4 GHz
  Anzahl der Prozessoren:   1
  Gesamtzahl der Kerne: 2
  L2-Cache: 3 MB
  Speicher: 4 GB
  Busgeschwindigkeit:   1,07 GHz
  Boot-ROM-Version: MB51.0073.B06
  SMC-Version (System): 1.32f8
  ...

what todo?

Thank you

Juergen Dabel
Schrobenhausen
Germany
j.da...@t-online.de


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Link Error in 0.5b1 blog post announcement

2009-10-08 Thread Matt Aimonetti
thanks fixed, it's waiting for deployment. I'll also update the github
mirror later today.

- Matt

On Thu, Oct 8, 2009 at 6:22 AM, Keith Gautreaux
wrote:

> FYI, the "report us" link the in third paragraph of the 0.5b1
> announcement on macruby.org has a link error.  It should be top-level
> (http://macruby.org/contact-us.html) but instead is under the
> blog/2009/10/07 hierarchy.  I tried to fork the site on github and
> make a diff but the github mirror seems to be lagging behind (last
> commit is from 10/2/09).
>
> --
> Keith
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Link Error in 0.5b1 blog post announcement

2009-10-08 Thread Keith Gautreaux
Matt,
The new URL is closer but still broken.  It points to
http://macruby.org/blog/contact-us.html instead of the top-level
http://macruby.org/contact-us.html, thus it's still giving a 404.

On Thu, Oct 8, 2009 at 12:03 PM, Matt Aimonetti  wrote:
> thanks fixed, it's waiting for deployment. I'll also update the github
> mirror later today.
>
> - Matt
>
> On Thu, Oct 8, 2009 at 6:22 AM, Keith Gautreaux 
> wrote:
>>
>> FYI, the "report us" link the in third paragraph of the 0.5b1
>> announcement on macruby.org has a link error.  It should be top-level
>> (http://macruby.org/contact-us.html) but instead is under the
>> blog/2009/10/07 hierarchy.  I tried to fork the site on github and
>> make a diff but the github mirror seems to be lagging behind (last
>> commit is from 10/2/09).
>>
>> --
>> Keith
>> ___
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>



-- 
Keith
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] [MacRuby] #369: Change wording of sample-macruby/buildall.rb

2009-10-08 Thread MacRuby
#369: Change wording of sample-macruby/buildall.rb
---+
 Reporter:  keith.gautre...@…  |   Owner:  lsansone...@…
 Type:  enhancement|  Status:  new  
 Priority:  trivial|   Milestone:  MacRuby 0.5  
Component:  MacRuby|Keywords:   
---+
 Below is a minor diff to change the output wording of the buildall.rb
 script.  Just adding a little polish.

 http://svn.macosforge.org/repository/ruby/MacRuby/trunk/sample-
 macruby/buildall.rb

 @@ -39,5 +39,5 @@

  [succeeded, failed].each { |a| a << 'None' if a.empty? }

 -puts "Successful to build: #{succeeded.join(', ')}"
 +puts "Successfully built: #{succeeded.join(', ')}"
  puts "Failed to build: #{failed.join(', ')}"
 \ No newline at end of file

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Link Error in 0.5b1 blog post announcement

2009-10-08 Thread Matt Aimonetti
Here is the commit:

-Remember that this is a development version of MacRuby provided for
testing and experimentation purposes only. Even if a few things are
quite stable, others are still under development. Please give it a try
and "report us":contact-us.html any problem you find, to make sure the
final release will be great.
+Remember that this is a development version of MacRuby provided for
testing and experimentation purposes only. Even if a few things are
quite stable, others are still under development. Please give it a try
and "report us":http://www.macruby.org/contact-us.html any problem you
find, to make sure the final release will be great.


However, we need to wait for Laurent to deploy the change :)

- Matt


On Thu, Oct 8, 2009 at 10:11 AM, Keith Gautreaux
wrote:

> Matt,
> The new URL is closer but still broken.  It points to
> http://macruby.org/blog/contact-us.html instead of the top-level
> http://macruby.org/contact-us.html, thus it's still giving a 404.
>
> On Thu, Oct 8, 2009 at 12:03 PM, Matt Aimonetti 
> wrote:
> > thanks fixed, it's waiting for deployment. I'll also update the github
> > mirror later today.
> >
> > - Matt
> >
> > On Thu, Oct 8, 2009 at 6:22 AM, Keith Gautreaux <
> keith.gautre...@gmail.com>
> > wrote:
> >>
> >> FYI, the "report us" link the in third paragraph of the 0.5b1
> >> announcement on macruby.org has a link error.  It should be top-level
> >> (http://macruby.org/contact-us.html) but instead is under the
> >> blog/2009/10/07 hierarchy.  I tried to fork the site on github and
> >> make a diff but the github mirror seems to be lagging behind (last
> >> commit is from 10/2/09).
> >>
> >> --
> >> Keith
> >> ___
> >> MacRuby-devel mailing list
> >> MacRuby-devel@lists.macosforge.org
> >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
> >
> > ___
> > MacRuby-devel mailing list
> > MacRuby-devel@lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
> >
>
>
>
> --
> Keith
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Link Error in 0.5b1 blog post announcement

2009-10-08 Thread Laurent Sansonetti

Done.

Laurent

On Oct 8, 2009, at 10:54 AM, Matt Aimonetti wrote:


Here is the commit:

-Remember that this is a development version of MacRuby provided for  
testing and experimentation purposes only. Even if a few things are  
quite stable, others are still under development. Please give it a  
try and "report us":contact-us.html any problem you find, to make  
sure the final release will be great.


+Remember that this is a development version of MacRuby provided for  
testing and experimentation purposes only. Even if a few things are  
quite stable, others are still under development. Please give it a  
try and "report us":http://www.macruby.org/contact-us.html any  
problem you find, to make sure the final release will be great.



However, we need to wait for Laurent to deploy the change :)

- Matt


On Thu, Oct 8, 2009 at 10:11 AM, Keith Gautreaux > wrote:

Matt,
The new URL is closer but still broken.  It points to
http://macruby.org/blog/contact-us.html instead of the top-level
http://macruby.org/contact-us.html, thus it's still giving a 404.

On Thu, Oct 8, 2009 at 12:03 PM, Matt Aimonetti > wrote:
> thanks fixed, it's waiting for deployment. I'll also update the  
github

> mirror later today.
>
> - Matt
>
> On Thu, Oct 8, 2009 at 6:22 AM, Keith Gautreaux >

> wrote:
>>
>> FYI, the "report us" link the in third paragraph of the 0.5b1
>> announcement on macruby.org has a link error.  It should be top- 
level

>> (http://macruby.org/contact-us.html) but instead is under the
>> blog/2009/10/07 hierarchy.  I tried to fork the site on github and
>> make a diff but the github mirror seems to be lagging behind (last
>> commit is from 10/2/09).
>>
>> --
>> Keith
>> ___
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>



--
Keith
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] 0.5 beta1

2009-10-08 Thread Laurent Sansonetti

Hi Juergen,

Looks like we forgot to bundle llc in the installer, sorry.

We will make sure this is fixed by the next beta. In the meantime you  
can install trunk manually (see README.rdoc file for instructions).


Laurent

On Oct 8, 2009, at 8:44 AM, Juergen Dabel wrote:


Help,

I get from the blog sample:

dab:~ jdabel$ macrubyc t.rb -o t
Can't locate program `llc'

My mac:
Hardware-Übersicht:

  Modellname:   MacBook
  Modell-Identifizierung:   MacBook5,1
  Prozessortyp: Intel Core 2 Duo
  Prozessorgeschwindigkeit: 2,4 GHz
  Anzahl der Prozessoren:   1
  Gesamtzahl der Kerne: 2
  L2-Cache: 3 MB
  Speicher: 4 GB
  Busgeschwindigkeit:   1,07 GHz
  Boot-ROM-Version: MB51.0073.B06
  SMC-Version (System): 1.32f8
  ...

what todo?

Thank you

Juergen Dabel
Schrobenhausen
Germany
j.da...@t-online.de


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #369: Change wording of sample-macruby/buildall.rb

2009-10-08 Thread MacRuby
#369: Change wording of sample-macruby/buildall.rb
---+
 Reporter:  keith.gautre...@…  |   Owner:  lsansone...@…
 Type:  enhancement|  Status:  new  
 Priority:  trivial|   Milestone:  MacRuby 0.5  
Component:  MacRuby|Keywords:   
---+

Comment(by keith.gautre...@…):

 The HTML escaping ate the pasted diff so I saved it as a file and attached
 it to the ticket.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] 0.5 beta1

2009-10-08 Thread Claudio Poli

or nightly build perhaps? ;P

Il giorno 08/ott/2009, alle ore 19.59, Laurent Sansonetti ha scritto:


Hi Juergen,

Looks like we forgot to bundle llc in the installer, sorry.

We will make sure this is fixed by the next beta. In the meantime  
you can install trunk manually (see README.rdoc file for  
instructions).


Laurent

On Oct 8, 2009, at 8:44 AM, Juergen Dabel wrote:


Help,

I get from the blog sample:

dab:~ jdabel$ macrubyc t.rb -o t
Can't locate program `llc'

My mac:
Hardware-Übersicht:

 Modellname:MacBook
 Modell-Identifizierung:MacBook5,1
 Prozessortyp:  Intel Core 2 Duo
 Prozessorgeschwindigkeit:  2,4 GHz
 Anzahl der Prozessoren:1
 Gesamtzahl der Kerne:  2
 L2-Cache:  3 MB
 Speicher:  4 GB
 Busgeschwindigkeit:1,07 GHz
 Boot-ROM-Version:  MB51.0073.B06
 SMC-Version (System):  1.32f8
 ...

what todo?

Thank you

Juergen Dabel
Schrobenhausen
Germany
j.da...@t-online.de


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] 0.5 beta1

2009-10-08 Thread Laurent Sansonetti

I believe nightly builds have the same problem :(

Laurent

On Oct 8, 2009, at 11:21 AM, Claudio Poli wrote:


or nightly build perhaps? ;P

Il giorno 08/ott/2009, alle ore 19.59, Laurent Sansonetti ha scritto:


Hi Juergen,

Looks like we forgot to bundle llc in the installer, sorry.

We will make sure this is fixed by the next beta. In the meantime  
you can install trunk manually (see README.rdoc file for  
instructions).


Laurent

On Oct 8, 2009, at 8:44 AM, Juergen Dabel wrote:


Help,

I get from the blog sample:

dab:~ jdabel$ macrubyc t.rb -o t
Can't locate program `llc'

My mac:
Hardware-Übersicht:

Modellname: MacBook
Modell-Identifizierung: MacBook5,1
Prozessortyp:   Intel Core 2 Duo
Prozessorgeschwindigkeit:   2,4 GHz
Anzahl der Prozessoren: 1
Gesamtzahl der Kerne:   2
L2-Cache:   3 MB
Speicher:   4 GB
Busgeschwindigkeit: 1,07 GHz
Boot-ROM-Version:   MB51.0073.B06
SMC-Version (System):   1.32f8
...

what todo?

Thank you

Juergen Dabel
Schrobenhausen
Germany
j.da...@t-online.de


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] 0.5 beta1

2009-10-08 Thread Claudio Poli

ah, nevermind then, works on my local machine tho :)

Il giorno 08/ott/2009, alle ore 20.26, Laurent Sansonetti ha scritto:


I believe nightly builds have the same problem :(

Laurent

On Oct 8, 2009, at 11:21 AM, Claudio Poli wrote:


or nightly build perhaps? ;P

Il giorno 08/ott/2009, alle ore 19.59, Laurent Sansonetti ha scritto:


Hi Juergen,

Looks like we forgot to bundle llc in the installer, sorry.

We will make sure this is fixed by the next beta. In the meantime  
you can install trunk manually (see README.rdoc file for  
instructions).


Laurent

On Oct 8, 2009, at 8:44 AM, Juergen Dabel wrote:


Help,

I get from the blog sample:

dab:~ jdabel$ macrubyc t.rb -o t
Can't locate program `llc'

My mac:
Hardware-Übersicht:

Modellname: MacBook
Modell-Identifizierung: MacBook5,1
Prozessortyp:   Intel Core 2 Duo
Prozessorgeschwindigkeit:   2,4 GHz
Anzahl der Prozessoren: 1
Gesamtzahl der Kerne:   2
L2-Cache:   3 MB
Speicher:   4 GB
Busgeschwindigkeit: 1,07 GHz
Boot-ROM-Version:   MB51.0073.B06
SMC-Version (System):   1.32f8
...

what todo?

Thank you

Juergen Dabel
Schrobenhausen
Germany
j.da...@t-online.de


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] not 32bit

2009-10-08 Thread Jan de Leeuw

Can I use rake to compile MacRuby for x86_64 only (my LLVM is
x86_64 only) ?

==
Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225, 661-245-1725
.mac: jdeleeuw ++  aim: deleeuwjan ++ skype: j_deleeuw
homepages: http://www.cuddyvalley.org and http://gifi.stat.ucla.edu
==
   A bath when you're born,
  a bath when you die, 
   how stupid.  (Issa 1763-1827)



___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] not 32bit

2009-10-08 Thread Laurent Sansonetti

Try:

$ rake archs=x86_64

This used to work but I haven't checked since a long time :)

Note that MacRuby is only known to work under a certain revision of  
LLVM trunk (which is documented in the README.rdoc file).


Laurent

On Oct 8, 2009, at 11:52 AM, Jan de Leeuw wrote:



Can I use rake to compile MacRuby for x86_64 only (my LLVM is
x86_64 only) ?

==
Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225, 661-245-1725
.mac: jdeleeuw ++  aim: deleeuwjan ++ skype: j_deleeuw
homepages: http://www.cuddyvalley.org and http://gifi.stat.ucla.edu
==
  A bath when you're born,
 a bath when you die,
  how stupid.  (Issa 1763-1827)



___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] macruby in a bubble

2009-10-08 Thread Diego Virasoro
Hello,
I'd like to try MacRuby (especially now that 0.5 beta 1 is out).
However I really really _really_ like to avoid having programs spread
their files across my fs. So, the questions are:
1) Is it possible to install macruby inside a specified directory?
2) Are any other files modified (say the .profile to extend the $PATH,
or others)?
3) Especially if the answer to 1) is negative, is there a script file
to erase/uninstall macruby?

Thanks and congrats for an awsome project

Diego
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] macruby in a bubble

2009-10-08 Thread Laurent Sansonetti

Hi,

MacRuby installs itself inside a .framework bundle, in /Library/ 
Frameworks. It installs aliases to the executables in /usr/local/bin.  
Aliases have the "mac" prefix (irb -> macirb) to make sure MacRuby  
will not conflict with your system.


So, no system file is modified during installation. If you want to  
remove MacRuby after, you can simply delete /Library/Frameworks/ 
MacRuby.framework and /usr/local/bin/mac*.


Laurent

On Oct 8, 2009, at 9:38 AM, Diego Virasoro wrote:


Hello,
I'd like to try MacRuby (especially now that 0.5 beta 1 is out).
However I really really _really_ like to avoid having programs spread
their files across my fs. So, the questions are:
1) Is it possible to install macruby inside a specified directory?
2) Are any other files modified (say the .profile to extend the $PATH,
or others)?
3) Especially if the answer to 1) is negative, is there a script file
to erase/uninstall macruby?

Thanks and congrats for an awsome project

Diego
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby 0.5 beta 1

2009-10-08 Thread Laurent Sansonetti

Hi Wayne,

a) I don't know. Maybe pkgutil(1) can do that.

b) You can do `DESTDIR=~/.rvm/macruby-0.5b1 rake install' but you  
might need to configure some environment variables after (such as  
DYLD_FRAMEWORK_PATH). Note that this has never been tested.


Laurent

On Oct 8, 2009, at 3:36 AM, Wayne Seguin wrote:


Excellent,

Is it possible to a) install from command line and b) tell it to  
install to a specific location?

(--prefix=~/.rvm/macruby-0.5b1)

Thanks,

 ~Wayne

On Oct 08, 2009, at 00:13 , Laurent Sansonetti wrote:


Hi,

The first beta release of MacRuby 0.5 is out! I prepared some notes  
here:


http://www.macruby.org/blog/2009/10/07/macruby05b1.html

The goal is to go through a few beta releases before releasing the  
final 0.5.


Please give it a try and report us bugs & feedback :)

Laurent
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby 0.5 beta 1

2009-10-08 Thread Wayne Seguin

Laurent,

Thank you very much for the response. b) is *exactly* what I am  
looking for as it is all that inhibits me from adding macvim support  
to rvm. If someone has step by step instructions to do exactly this it  
would be awesomely helpful, otherwise I will try to look into it when  
I have some free time.


Great work with MacRuby, nicely done.

Thanks again!

  ~Wayne

On Oct 08, 2009, at 16:39 , Laurent Sansonetti wrote:

Hi Wayne,

a) I don't know. Maybe pkgutil(1) can do that.

b) You can do `DESTDIR=~/.rvm/macruby-0.5b1 rake install' but you  
might need to configure some environment variables after (such as  
DYLD_FRAMEWORK_PATH). Note that this has never been tested.


Laurent

On Oct 8, 2009, at 3:36 AM, Wayne Seguin wrote:


Excellent,

Is it possible to a) install from command line and b) tell it to  
install to a specific location?

(--prefix=~/.rvm/macruby-0.5b1)

Thanks,

~Wayne

On Oct 08, 2009, at 00:13 , Laurent Sansonetti wrote:


Hi,

The first beta release of MacRuby 0.5 is out! I prepared some  
notes here:


http://www.macruby.org/blog/2009/10/07/macruby05b1.html

The goal is to go through a few beta releases before releasing the  
final 0.5.


Please give it a try and report us bugs & feedback :)

Laurent
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] install from command line Re: MacRuby 0.5 beta 1

2009-10-08 Thread Ernest N. Prabhakar, Ph.D.
Hi Wayne,

On Oct 8, 2009, at 1:59 PM, Wayne Seguin wrote:
>>> Is it possible to a) install from command line
>> 

$ unzip ~/Downloads/MacRuby\ 0.5\ beta\ 1.zip 
$ cd ~/Downloads/MacRuby\ 0.5\ beta\ 1
$ sudo installer -pkg MacRuby\ 0.5\ beta\ 1.pkg  -target /

>> b) tell it to install to a specific location?
> 

Not sure how much flexibility you have with "-target", but you can try...

-enp

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] FYI: official macruby git now available at git://git.macruby.org/macruby/MacRuby.git

2009-10-08 Thread Joseph Grace
FYI: 

official macruby git is now available at: 

   git://git.macruby.org/macruby/MacRuby.git 

For more information, see: 

https://www.macosforge.org/ 

Cheers, 

= Joe = 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] install from command line Re: MacRuby 0.5 beta 1

2009-10-08 Thread Laurent Sansonetti

Hi Ernie,

On Oct 8, 2009, at 2:25 PM, Ernest N. Prabhakar, Ph.D. wrote:


Hi Wayne,

On Oct 8, 2009, at 1:59 PM, Wayne Seguin wrote:

Is it possible to a) install from command line




$ unzip ~/Downloads/MacRuby\ 0.5\ beta\ 1.zip
$ cd ~/Downloads/MacRuby\ 0.5\ beta\ 1
$ sudo installer -pkg MacRuby\ 0.5\ beta\ 1.pkg  -target /


I totally didn't know about that.

Anyone to create a macruby_update_nightly script that would fetch the  
latest nightly build and merge it ? :)


Laurent
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] install from command line Re: MacRuby 0.5 beta 1

2009-10-08 Thread Wayne Seguin

Ernst,

Thank you VERY much, I will give this a try first thing tomorrow  
morning!!!


Very much appreciated!

  ~Wayne

On Oct 08, 2009, at 17:25 , Ernest N. Prabhakar, Ph.D. wrote:


Hi Wayne,

On Oct 8, 2009, at 1:59 PM, Wayne Seguin wrote:

Is it possible to a) install from command line




$ unzip ~/Downloads/MacRuby\ 0.5\ beta\ 1.zip
$ cd ~/Downloads/MacRuby\ 0.5\ beta\ 1
$ sudo installer -pkg MacRuby\ 0.5\ beta\ 1.pkg  -target /


b) tell it to install to a specific location?




Not sure how much flexibility you have with "-target", but you can  
try...


-enp

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] not 32bit

2009-10-08 Thread Paul Howson

On 09/10/2009, at 4:56 AM, Laurent Sansonetti wrote:

Note that MacRuby is only known to work under a certain revision of  
LLVM trunk (which is documented in the README.rdoc file).


Does the MacRuby installer also install LLVM? If not, how is that kept  
up to date?


Paul Howson
Queensland, Australia.
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby not finding a method that Ruby is

2009-10-08 Thread Edward Hynes

Hi Laurent,

I just tried running it under 0.5 and am still getting an error.  I've  
narrowed the code down to the following:


###

 class A
   def initialize
 puts 'initialize'
   end

   def self.init
 define_method(:initialize) do |*params|
   super()
 end
   end
 end

 class B < A
   init
 end

 # Calling B.new without an argument, however, works.
 B.new nil

###

HTH,
Ed

On Oct 8, 2009, at 12:21 AM, Laurent Sansonetti wrote:

We fixed a few 32-bit issues in trunk so you may want to give it a  
try one more time.


At least we are not maintaining 0.4 anymore, so it would be great if  
you could try your code with trunk and let us know if the bug is  
still there. Then we can try to reduce it and fix it :)


Laurent

On Oct 7, 2009, at 9:16 PM, Edward Hynes wrote:


I'm still on a 32-bit machine, so can't try 0.5 yet :^(

I did manage to find a workaround, however, by creating an alias  
for the 'initialize' method and then calling it instead of 'super'  
inside of the 'define_method' call.


Ed

On Oct 7, 2009, at 10:51 PM, Matt Aimonetti wrote:


you might want to try your luck with 0.5

- Matt

On Wed, Oct 7, 2009 at 7:37 PM, Edward Hynes   
wrote:

Hi,

I'm attempting to use the RParsec gem under MacRuby, but am  
getting a NoMethodError when it loads.  I've create a test file  
that simply adds my local gem directory to the front of the  
library search path and then calls "require 'rparsec'".  This file  
runs fine under Ruby 1.9, but produces the following error when  
called from MacRuby 0.4.


/Users/ehynes/Test/Gems/rparsec/parser.rb:32:in `block in init':  
super: no superclass method `initialize:' for  
RParsec::ValueParser:RParsec::ValueParser (NoMethodError)

  from /Users/ehynes/Test/Gems/rparsec/parsers.rb:621:in `new'
  from /Users/ehynes/Test/Gems/rparsec/parsers.rb:621:in  
`'
  from /Users/ehynes/Test/Gems/rparsec/parsers.rb:3:in `(required)>'

  from /Users/ehynes/Test/Gems/rparsec.rb:3:in `require'
  from /Users/ehynes/Test/Gems/rparsec.rb:3:in `block in (required)>'

  from /Users/ehynes/Test/Gems/rparsec.rb:2:in `each'
  from /Users/ehynes/Test/Gems/rparsec.rb:2:in `>'

  from AbcParser.rb:2:in `require'
  from AbcParser.rb:2:in `'


The method with the error in the Parser class is:

def self.init(*vars)
  parser_checker = {}
  vars.each_with_index do |var, i|
name = var.to_s
parser_checker[i] = var if name.include?('parser') && ! 
name.include?('parsers')

  end
  define_method(:initialize) do |*params|
--->  super()   # <--- line 32
vars.each_with_index do |var, i|
  param = params[i]
  if parser_checker.include? i
TypeChecker.check_arg_type Parser, param, self, i
  end
  instance_variable_set("@"+var.to_s, param)
end
  end
end


Any ideas as to why Ruby can call super in the above method, but  
MacRuby can't?  Is there a fix or workaround that I could use?  An  
alternate parser?


Thanks,
Ed


P.S.  I did have to change one line in the RParsec parser.rb file  
to get it to run under Ruby 1.9, replacing a ':' with a 'then' in  
a case statement.


  $ diff parser_original.rb parser.rb
  881c881
  < case c when String: c[0] else c end
  ---
  > case c when String then c[0] else c end  # ':'  
replaced with 'then'




___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


--
Edward Hynes
Dharma Gaia LLC
"Software with the Earth in Mind"
http://dharmagaia.com



___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


--
Edward Hynes
Dharma Gaia LLC
"Software with the Earth in Mind"
http://dharmagaia.com



___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Default Test Framework

2009-10-08 Thread Josh Ballanco

Hey all!

So, as I've been working on a recipe for testing with MacRuby, I  
realized that it would probably be good to discuss the topic of  
"blessing" a particular test suite. Obviously, with macgem all of the  
Ruby test suites are available to use, but for the purposes of  
tutorials and whatnot, having one default that ships with MacRuby  
would help reduce confusion and at least get people started on the  
road to testing. Personally, I think whatever ships with MacRuby  
should ideally be light-weight, extensible, and integrated. In other  
words, the heavy hitters like Test::Unit, RSpec, and Shoulda are out.  
That leaves:


-- minitest: The "blessed" test library of Matz Ruby. It's very  
minimal, but documentation is somewhat lacking. I also couldn't find  
an easy spot to hook into the API to customize output format. Still,  
if it's good enough for Matz Ruby...


-- bacon: Small, and output is easily customized. I'm currently  
looking at what would be required to get bacon's output to play nicer  
with Xcode. The one unknown (for me, at least) is popularity/ 
familiarity in the larger Ruby community.


-- OCUnit: This is the Objective C test library that ships with Xcode.  
We could put a thin wrapper around it, and then not worry about having  
to ship a separate test library. The major downside to OCUnit is that  
it's not very "Ruby-ish".


I'm quite enamored with bacon, but I'm worried about the possibility  
that developers coming from Matz Ruby might start to expect minitest  
to be included. That might be a remote possibility, though, as it  
seems like minitest isn't currently that popular. If there are others  
I missed, or if you disagree with any points, speak up!


Cheers,

Josh
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel