Questions tagged [macruby]

MacRuby is an implementation of the Ruby 1.9 programming language in ObjC for Mac OSX

MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby.

http://macruby.org/

221 questions
0
votes
1 answer

How can I use macrubyc under Mac OSX Lion?

I'm wondering if anyone of you has used macrubyc on Lion. My problem is, that macrubyc depends on gcc-compiler. Lion is shipped without gcc. Is it possible to use macrubyc with the shipped llvm-compiler? Are there other alternatives to create a…
Ben-G
  • 4,996
  • 27
  • 33
0
votes
1 answer

Porting a MacRuby app over from 0.3 Leopard to 0.6 Lion yields errors

I'm not sure why this is blowing up on me. These errors weren't present until I built on 0.6 / Lion, which is quite a ways off from 0.3, I know, but still it should work, unless something funky changed with xcode. I don't see why it's complaining…
Zippy Zeppoli
  • 5,847
  • 4
  • 18
  • 16
0
votes
1 answer

setting Address Book image with MacRuby

I am trying to set my user's Address Book Image with MacRuby. Here is what I have so far: framework 'ScriptingBridge' framework 'AppKit' download = "/path.png" data = NSData.dataWithContentsOfFile(download) bitmap =…
dejay
  • 758
  • 2
  • 6
  • 18
0
votes
1 answer

Trouble using replaceCurrentItemWithPlayerItem when using MacRuby

I am using AVFoundation and MacRuby to handle video playback. I have no trouble getting a video to play in my AVPlayer initially using the code below: videoWindow.setFrame(@frame, display:true, animate:true) @content_view =…
tsugua
  • 197
  • 1
  • 13
0
votes
1 answer

MacRuby can't link controller to new window xib

My Setup XCode 4.3.2 MacRuby 0.12 (ruby 1.9.2) [universal-darwin10.0, x86_64] Latest nightly as of 4 Jun, 2012 OS 10.7.3 Goal Have a window with some controls in a separate XIB from MainMenu.xib and be able to open that window programmatically.…
wmarbut
  • 4,595
  • 7
  • 42
  • 72
0
votes
2 answers

macruby open() not working

The following example is, of course, not my entire app. I have provided the part of it that throws an error: #!/usr/local/bin/macruby require 'open-uri' framework 'ScriptingBridge' system "mkdir -p ~/.myApp" system "cp ~/Desktop/image.png…
dejay
  • 758
  • 2
  • 6
  • 18
0
votes
0 answers

Can't override ITunesTrack or any other class in the ITunes.h ScriptBridge

I'm trying to update my iTunes 'Date Added' setter with MacRuby. I created the ScriptingBridge file, and I can read the tracks from the library. And since the dateAdded setter is R/O, I need to override the setter in ITunesTrack, however, just by…
Jason
  • 126
  • 4
0
votes
1 answer

MacRuby NSBeginAlertSheet call gives unknown: [BUG] unknown Objective-C immediate: 0x1 (nil)

As a MacRuby beginner I am working through this tutorial, and want to add a drop-down sheet to warn when the user tries to delete an entry from the app. Following the code here, which in Obj-C is - (IBAction)deleteRecord:(id)sender { NSString…
bmorgan
  • 525
  • 5
  • 8
0
votes
1 answer

Does MacRuby support static compilation?

Does the latest version of MacRuby support static compilation? Here's some terminal output from an attempt to use it... It shows up in the options for the macrubyc command. Desktop > macrubyc play_all_podcasts.rb --static -o…
Josh Voigts
  • 4,114
  • 1
  • 18
  • 43
-1
votes
2 answers

MacRuby: SSH connection with net/ssh?

I'm looking for creating a connection using ssh in order to execute some command on a remote server. I wanted to perform these action with the following gem: net/ssh. But it seems to don't be working with MacRuby. What would you propose for it? I…
Arkan
  • 6,196
  • 3
  • 38
  • 54
-1
votes
1 answer

Local EventMachine without opening port

I don't know a lot about TCP/IP but I am a self taught web developer. I have worked with EventMachine a little bit, Node.js a little bit, and recently wrote my first Mac application using MacRuby. I had an idea for a new Mac app that involved making…
Andrew
  • 227,796
  • 193
  • 515
  • 708
1 2 3
14
15