Hi,
I created its gist.
https://gist.github.com/770472
Thanks Kouji.
On 2011/01/06, at 0:46, Takao Kouji wrote:
> Hi,
>
> I created MacRuby class templates for Xcode 3 on Mac OS X 10.6.
>
> An attached patch contains below.
> * misc/xcode-templates/File\ Templates/MacRuby/
> * TemplateCho
Or unpack the gem in your project and manually require the file from the lib
directory.
- Matt
Sent from my iPhone
On Jan 7, 2011, at 14:22, Laurent Sansonetti wrote:
> Hi Arron,
>
> A solution would be to package the gem inside your application bundle (maybe
> using the --install-dir optio
Hi Arron,
A solution would be to package the gem inside your application bundle (maybe
using the --install-dir option of macgem), then appropriately set up the
GEM_HOME variable to point to the directory inside the bundle.
Laurent
On Jan 7, 2011, at 10:24 AM, Arron Mabrey wrote:
> I want to u
Yep.
Laurent
On Jan 7, 2011, at 9:41 AM, Joel Reymont wrote:
>
> On Jan 7, 2011, at 5:21 PM, Thibault Martin-Lagardette wrote:
>
>> I'd say something like:
>> a = NSNumber.numberWithDouble(0.0/0.0)
>> which returns the exact same thing as:
>> a = (0.0/0.0)
>
> Does the resulting NaN
Ernie P.
I got it fixed, but let me still answer your question.
> Silly question, but are you using "macgem" to install it where MacRuby
> expects it? Can you use other gems in MacRuby without trouble?
So the answer: Yes and no. :-)
It seems found a gotcha with macgem while using rvm.
If rvm
Silly question, but are you using "macgem" to install it where MacRuby expects
it? Can you use other gems in MacRuby without trouble?
-- Ernie P.
On Jan 7, 2011, at 10:24 AM, Arron Mabrey wrote:
> I want to use the Dispatch gem in my MacRuby.app.
>
> https://github.com/gunn/Dispatch
>
> The
I want to use the Dispatch gem in my MacRuby.app.
https://github.com/gunn/Dispatch
The gem is installed.
However I'm having problems just requiring it.
# app_controller.rb
require 'rubygems'
require 'dispatch'
Errors out with.
/Users/arron/code/MyApp/build/Debug/MyApp.app/Contents/Resources/rb_
The MacRuby specs are known to be a bit fragile, especially the GCD
ones. To run all RubySpec specs you can do rake spec:rubyspec.
On Thu, Jan 6, 2011 at 11:27 PM, Joel Reymont wrote:
> Is this normal?
>
> I built the latest trunk, i.e.
>
> commit 36f01b88ae4290e9963ef2d48f26e5bdacdf2b54
> Author
On Jan 7, 2011, at 5:21 PM, Thibault Martin-Lagardette wrote:
> I'd say something like:
> a = NSNumber.numberWithDouble(0.0/0.0)
> which returns the exact same thing as:
> a = (0.0/0.0)
Does the resulting NaN automatically convert to NSNumber?
I need to pass the object initialized t
I'd say something like:
a = NSNumber.numberWithDouble(0.0/0.0)
which returns the exact same thing as:
a = (0.0/0.0)
Why do you need that? :P
--
Thibault Martin-Lagardette
On Jan 7, 2011, at 15:52, Joel Reymont wrote:
> How do you do this?
>
> [NSNumber numberWithDouble:NAN]
Hi Gang:
The CSV package provides several different methods to read and parse CSV files
and I use several of the options in my application without any problems. The
CSV.open method returns an instance of CSV as the error indicates. You invoke
the shift method on a CSV instance to parse a line f
How do you do this?
[NSNumber numberWithDouble:NAN]
NAN is defined as __builtin_nanf("0x7fc0") in math.h
Thanks, Joel
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
___
MacRuby-devel mailing list
MacRub
In the case of IRB, it's mostly because of collecting data about the
code, e.g. at what indentation level is the current code. Besides that
I prefer not to use exceptions for control flow :)
PS: In case you are writing some kind of REPL as part of a bigger app,
contact me off list, because we migh
13 matches
Mail list logo