macworld

M

Mike Schwab

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
 
H

Hampton

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.
 
J

James Edward Gray II

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...

James Edward Gray II
 
M

Mike Stok

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.

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

--

Mike Stok <[email protected]>
http://www.stok.co.uk/~mike/

The "`Stok' disclaimers" apply.
 
C

Chad Perrin

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...

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?
 
J

James Edward Gray II

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.

James Edward Gray II
 
D

Devin Mullins

Hampton said:
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
 
J

Jim Freeze

------=_Part_10640_11602014.1136234395185
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hampton wrote:

Use DarwinPorts or Fink.



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.
 
C

Chad Perrin

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).
 
M

Mike Stok

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 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

--

Mike Stok <[email protected]>
http://www.stok.co.uk/~mike/

The "`Stok' disclaimers" apply.
 
J

J. Ryan Sobol

--Apple-Mail-4--985294614
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed

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).

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

http://arstechnica.com/news.ars/post/20050802-5158.html

~ ryan ~

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

Chad Perrin

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).

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.
 
D

Devin Mullins

Jim said:
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.
 
I

Ilmari Heikkinen

T24gMS8yLzA2LCBDaGFkIFBlcnJpbiA8cGVycmluQGFwb3RoZW9uLmNvbT4gd3JvdGU6Cj4gT24g
VHVlLCBKYW4gMDMsIDIwMDYgYXQgMDU6NTM6NTZBTSArMDkwMCwgTWlrZSBTdG9rIHdyb3RlOgo+
ID4KPiA+IEkgcmVwbGFjZWQgbXkgbGludXggZGVza3RvcCB3aXRoIGEgMTciIFBvd2VyQm9vaywg
YW5kIGl0IHF1aXRlCj4gPiBoYXBwaWx5IHVzZXMgbXkgMyBidXR0b24gTG9naXRlY2ggbW91c2Ug
KHdlbGwsIHR3byB3aXRoIGEgY2xpY2thYmxlCj4gPiBzY3JvbGwtd2hlZWwpLgo+Cj4gSSdtIHBl
cmZlY3RseSBhd2FyZSBvZiB0aGUgY2FwYWJpbGl0eSBvZiBNYWNzIHRvIGludGVyZmFjZSB3aXRo
IGFuCj4gZXh0ZXJuYWwgbW91c2Ugd2l0aCBtb3JlIHRoYW4gb25lIGJ1dHRvbi4gIEl0J3MgdGhl
IGJ1aWx0LWluIHBvaW50aW5nCj4gZGV2aWNlIHdpdGggb25seSBvbmUgYnV0dG9uIG9uIHRoZSBB
cHBsZSBsYXB0b3BzIHRoYXQgZHJpdmVzIG1lIHVwIHRoZQo+IHdhbGwuICBZb3UgY2FuJ3QganVz
dCBwbHVnIGluIGFuIGludGVncmF0ZWQgdHJhY2twYWQgd2l0aCBtb3JlIHRoYW4gb25lCj4gYnV0
dG9uLgo+CgpZb3UgY2FuIGVtdWxhdGUgdGhlIHNlY29uZCBidXR0b24gYW5kIHRoZSB0aGlyZCBi
dXR0b24gYnkgcHJlc3NpbmcKZG93biB0aGUgc2lnaHRzZWVpbmcga2V5IGFuZCB0aGUgc3dpdGNo
IGtleSwgcmVzcGVjdGl2ZWx5LiBOb3QgdGhhdAppdCdzIGEgdGVycmlibHkgZ29vZCBzb2x1dGlv
bi4K
 
R

Rich Morin

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.

The support software for the Kensington mice and trackballs supports
application-specific settings for all of the buttons. I used this to
allow me to have copy and paste buttons that functioned across the
X11/OSX divide.

-r
 
U

Une bévue

Jim Freeze said:
For Ruby, just build your own. That is simplest.

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...
 
S

Sean Wolfe

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
 
U

Une bévue

Luc Heinrich said:
Uh ?!?? As far as I know, DarwinPorts is still at 1.8.2.

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top