Macworld

What Ruby stuff will be happening at Macworld? What software is written in Ruby, which companies are Ruby shops, will there be any Ruby events to clear up any confusion from Rails-hype, etc?

We could likely avoid a lot of duplicitous advocacy if some people would compile some unbiased "Why Ruby?" facts, examples, and idioms into a Keynote presentation and export that as a quicktime file. Then we could serve that file and point browsers to it when people ask about Ruby. Packing that page with links to other Ruby resources would be a convenient tool to grow the community (bookmark it for them, then click the quicktime link and walk to the next exhibit ha ha).

Since the target audience will have advanced skills, I think intricate examples showcasing gems, rake, C, and a lot of other foss packages should be the goal. Make slides introducing your own libraries and contribute them.

I've made a wiki page to collect notes on what should be included. I could do the Keynote work, but I'd rather leave it to someone who's a guru and already has some advocacy files prepared.
http://www.rubygarden.org/ruby?WhyRubyPresentation

Call me ambitious and optimistic, but I think the responsible estimate is that Ruby popularity will explode this year. I think it's a smart move to spend some time on this now to ensure a great and agile transition for millions of future Rubyists. Macworld will be a good chance to further the entrenchment of two of the greatest problem-solving tools (Ruby and Apple) by making them more familiar with each other.

-Mike

I just bought a new Mac, and its the worst dev environment for ruby
possible. I've put at least 5 hours (yes, *5*) into getting the
ruby-mysql bindings working. And *nothing* gets it working. In fact,
the one mention of my error on the web says, "No known fix." That's
nice to hear after spending all this money! Errrrgh.

I might put linux on this box.
Linux is a great ruby environment.

-hampton.

I've used a Mac for Ruby development since day one and I couldn't disagree more.

I also use MySQL with no trouble so I encourage you to start a new thread about your problems and let us help you get it running...

James Edward Gray II

···

On Jan 2, 2006, at 9:47 AM, Hampton wrote:

I just bought a new Mac, and its the worst dev environment for ruby
possible.

What are your specific problems?

I got a Mac to broaden my horizons, and after some initial frustration ended up with a great environment.

Apple's ruby installation is a little messed up, but I ended up replacing the system readline library and building my own ruby.

There are various recipes you can find with google, as a lot of people trying Rails wanted to develop on OS X e.g.

http://weblog.rubyonrails.com/archives/2005/04/30/fixing-ruby-on-os-x-tiger/
http://tech.rufy.com/articles/2005/05/01/complete-fix-for-ruby-on-mac-os-x-10-4-tiger

These days I'm happily tooling around with Ruby, Textmate, Subversion, MySQL and a bundle of other goodies...

Hope this helps,

Michael

···

On 2-Jan-06, at 10:47 AM, Hampton wrote:

I just bought a new Mac, and its the worst dev environment for ruby
possible. I've put at least 5 hours (yes, *5*) into getting the
ruby-mysql bindings working. And *nothing* gets it working. In fact,
the one mention of my error on the web says, "No known fix." That's
nice to hear after spending all this money! Errrrgh.

I might put linux on this box.
Linux is a great ruby environment.

-hampton.

--

Mike Stok <mike@stok.co.uk>
http://www.stok.co.uk/~mike/

The "`Stok' disclaimers" apply.

Hampton wrote:

I just bought a new Mac, and its the worst dev environment for ruby
possible. I've put at least 5 hours (yes, *5*) into getting the
ruby-mysql bindings working. And *nothing* gets it working. In fact,
the one mention of my error on the web says, "No known fix." That's
nice to hear after spending all this money! Errrrgh.

Use DarwinPorts or Fink.

Devin

I seem to recall reading somewhere that MacOS X has some nonstandard
screwed-up installation defaults for MySQL that need to be "fixed". Is
there truth in that? Might that be Hampton's issue?

···

On Tue, Jan 03, 2006 at 12:52:59AM +0900, James Edward Gray II wrote:

On Jan 2, 2006, at 9:47 AM, Hampton wrote:

>I just bought a new Mac, and its the worst dev environment for ruby
>possible.

I've used a Mac for Ruby development since day one and I couldn't
disagree more.

I also use MySQL with no trouble so I encourage you to start a new
thread about your problems and let us help you get it running...

--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]

This sig for rent: a Signify v1.14 production from http://www.debian.org/

For MySQL, I used the dmg. That was easy and it even gives you a control
panel to shutdown and restart the server.

For Ruby, just build your own. That is simplest. Also, I built my own
readline - that too was simple.

···

On 1/2/06, Devin Mullins <twifkak@comcast.net> wrote:

Hampton wrote:

Use DarwinPorts or Fink.

--
Jim Freeze

Not that I'm aware of.

You might be thinking of the fact that Apple's install of Ruby has a few issues. Those are easily fixed though.

James Edward Gray II

···

On Jan 2, 2006, at 1:57 PM, Chad Perrin wrote:

I seem to recall reading somewhere that MacOS X has some nonstandard
screwed-up installation defaults for MySQL that need to be "fixed". Is
there truth in that?

Jim Freeze wrote:

For MySQL, I used the dmg. That was easy and it even gives you a control
panel to shutdown and restart the server.

To be fair, I used the dmg for MySQL. I tried DarwinPorts, but could not get mysql_install to run (or whatever it's called -- I forget).

For ruby and rubygems, I used DarwinPorts. (Also for graphicsmagick.)

For everything else, I used rubygems.

Devin
YMMV.

it is true that's the simplest way to install ruby from sources. However
if you need to bind ruby to gnome, glade and/or gtk+2 here the prob
comes...

in such a case (needs of gtk+ or gnome) it's better to use darwinports.

i got three ruby on my box :
the default from Apple;
the latest 1.8.4 installed from tar.gz
the one from dp 1.8.3
....

i've instaklles MySQL from mysql site download, works out of the box
with ruby og too...

···

Jim Freeze <jim@freeze.org> wrote:

For Ruby, just build your own. That is simplest.

--
une bévue

Okay, thanks for the clarification.

I keep flirting with the idea of getting a Mac in here, but keep
discarding it with the realization that A) I probably wouldn't use it
much and B) I still don't like one-button mice (which would be something
of a problem since I'd probably want to get a laptop).

···

On Tue, Jan 03, 2006 at 05:03:49AM +0900, James Edward Gray II wrote:

On Jan 2, 2006, at 1:57 PM, Chad Perrin wrote:

>I seem to recall reading somewhere that MacOS X has some nonstandard
>screwed-up installation defaults for MySQL that need to be
>"fixed". Is
>there truth in that?

Not that I'm aware of.

You might be thinking of the fact that Apple's install of Ruby has a
few issues. Those are easily fixed though.

--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]

print substr("Just another Perl hacker", 0, -2);

Uh ?!?? As far as I know, DarwinPorts is still at 1.8.2.

···

On 2 janv. 06, at 23:37, Une bévue wrote:

the one from dp 1.8.3

--
Luc Heinrich - luc@honk-honk.com - http://www.honk-honk.com

For Ruby, just build your own. That is simplest.

it is true that's the simplest way to install ruby from sources.

I have to agree here. On my OSX workstation I've built readline and ruby from source. I've also done it on my Intel preview box as well. On my OSX server, I just used the ruby fix script. On my OSX workstations I build MySQL from scratch. On OSX server, I used the OSX installer they have for MySQL.

I've gotten the MySQL gem to work by pointing the gem install to the mysql_config file:

sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config

(find your mysql_config by calling which mysql_config)

Also, a lot of articles say to use gcc_select 3.3. I find this to be not true. I have more diffulties building the Mysql stuff under GCC 3.3 on OSX.

However
if you need to bind ruby to gnome, glade and/or gtk+2 here the prob
comes...

This is so true. Building glib is hairy all in and of itself.

in such a case (needs of gtk+ or gnome) it's better to use darwinports.

I've had terrible luck with any DarwinPorts package. Also a lot of the ports are out of date.

Sean

···

On 2006-01-02 16:33:32 -0600, pere.noel@laponie.com (Une bévue) said:

Jim Freeze <jim@freeze.org> wrote:

I replaced my linux desktop with a 17" PowerBook, and it quite happily uses my 3 button Logitech mouse (well, two with a clickable scroll-wheel). The only thing that still gets me is my expectation of X Window style cut & paste.

Mike

···

On 2-Jan-06, at 3:45 PM, Chad Perrin wrote:

I keep flirting with the idea of getting a Mac in here, but keep
discarding it with the realization that A) I probably wouldn't use it
much and B) I still don't like one-button mice (which would be something
of a problem since I'd probably want to get a laptop).

--

Mike Stok <mike@stok.co.uk>
http://www.stok.co.uk/~mike/

The "`Stok' disclaimers" apply.

Let me avoid the flame war about to ensue by quickly post this:

~ ryan ~

PS - YES, I know Apple's laptops have a one-button mouse built in still.

···

On Jan 2, 2006, at 3:45 PM, Chad Perrin wrote:

B) I still don't like one-button mice (which would be something
of a problem since I'd probably want to get a laptop).

They give you a mighty mouse now anyway, so A is your only problem.

···

On Monday 02 January 2006 14:45, Chad Perrin wrote:

On Tue, Jan 03, 2006 at 05:03:49AM +0900, James Edward Gray II wrote:
> On Jan 2, 2006, at 1:57 PM, Chad Perrin wrote:
> >I seem to recall reading somewhere that MacOS X has some nonstandard
> >screwed-up installation defaults for MySQL that need to be
> >"fixed". Is
> >there truth in that?
>
> Not that I'm aware of.
>
> You might be thinking of the fact that Apple's install of Ruby has a
> few issues. Those are easily fixed though.

Okay, thanks for the clarification.

I keep flirting with the idea of getting a Mac in here, but keep
discarding it with the realization that A) I probably wouldn't use it
much and B) I still don't like one-button mice (which would be something
of a problem since I'd probably want to get a laptop).

you'r right :
~%> /opt/local/bin/ruby --version
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.3.0]
~%> /usr/local/bin/ruby --version
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0]
~%> /usr/bin/ruby --version
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
~%>

i thought it was in between apple's and latest...

···

Luc Heinrich <luc@honk-honk.com> wrote:

Uh ?!?? As far as I know, DarwinPorts is still at 1.8.2.

--
une bévue

i did install anjuta one week before and today where i was unlucky ))
Error 2 @ make...

···

Sean Wolfe <swolfe@spindlex.com> wrote:

I've had terrible luck with any DarwinPorts package. Also a lot of the
ports are out of date.

--
une bévue

Just my 2c:
These little utils enable trackpad right-clicking (and scrolling, and more) on Mac laptops. They both work wonderfully:

http://www.ragingmenace.com/software/sidetrack/
http://www-users.kawo2.rwth-aachen.de/~razzfazz/iscroll2/

-Payton

Chad Perrin wrote:

···

On Tue, Jan 03, 2006 at 05:03:49AM +0900, James Edward Gray II wrote:

On Jan 2, 2006, at 1:57 PM, Chad Perrin wrote:

I seem to recall reading somewhere that MacOS X has some nonstandard
screwed-up installation defaults for MySQL that need to be "fixed". Is
there truth in that?

Not that I'm aware of.

You might be thinking of the fact that Apple's install of Ruby has a few issues. Those are easily fixed though.

Okay, thanks for the clarification.

I keep flirting with the idea of getting a Mac in here, but keep
discarding it with the realization that A) I probably wouldn't use it
much and B) I still don't like one-button mice (which would be something
of a problem since I'd probably want to get a laptop).

I'm perfectly aware of the capability of Macs to interface with an
external mouse with more than one button. It's the built-in pointing
device with only one button on the Apple laptops that drives me up the
wall. You can't just plug in an integrated trackpad with more than one
button.

···

On Tue, Jan 03, 2006 at 05:53:56AM +0900, Mike Stok wrote:

I replaced my linux desktop with a 17" PowerBook, and it quite
happily uses my 3 button Logitech mouse (well, two with a clickable
scroll-wheel).

--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]

unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system partition.