I know this has been asked often over the years, looking for the latest best practice.. I''m a total mac noob, have been using windows/cygwin up until now. Looks like the basic approaches I''ve seen so far: - Leave the pre-installed ruby 1.8.6 and just update the rails gem - Do your own full blown installation (Hivelogic tutoral) - Use Macports installation - Others?? Mac has there own tutorial on the developer site, but it requires using XCode and I want to use TextMate, so I haven''t paid much attention to their instructions. Advice greatly appreciated, thanks! Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser
2009-Apr-17 18:48 UTC
Re: Installing Rails on Mac Leopard - Best Approach?
Brad A wrote:> I know this has been asked often over the years, looking for the > latest best practice.. > > I''m a total mac noob, have been using windows/cygwin up until now.Welcome to the Mac community! Check out http://www.apple.com/support/switch101/ for some useful tips.> > Looks like the basic approaches I''ve seen so far: > - Leave the pre-installed ruby 1.8.6 and just update the rails gemThat''s what I''d advise. There''s no reason to do it any other way that I can see, unless you want to try Ruby EE. [...]> Mac has there own tutorial on the developer site,No. The company is called Apple. :)> but it requires > using XCode and I want to use TextMate, so I haven''t paid much > attention to their instructions.That''s a foolish reason to ignore it. A text editor is a text editor. But before you blow €39 on TextMate, try jEdit (see http://marnen.livejournal.com for setup info) and/or TextWrangler. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the input. I actually used jEdit for a few years when I first started developing in java, but have used Eclipse now for the last 3 or 4 years. The main reason for choosing Textmate over XCode is that there seems to be a lot of contributions from the rails community, as far as snippets, etc, that should make some work more effcient. I suppose the only real reason I have for not using the Ruby version that is already available is that it''s 1.8.6 and my deployment environment (my hosting service), uses 1.8.7. Not too sure if there are any changes between versions that would be significant to me. On Apr 17, 1:48 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote:> Brad A wrote: > > I know this has been asked often over the years, looking for the > > latest best practice.. > > > I''m a total mac noob, have been using windows/cygwin up until now. > > Welcome to the Mac community! Check outhttp://www.apple.com/support/switch101/for some useful tips. > > > > > Looks like the basic approaches I''ve seen so far: > > - Leave the pre-installed ruby 1.8.6 and just update the rails gem > > That''s what I''d advise. There''s no reason to do it any other way that I > can see, unless you want to try Ruby EE. > > [...] > > > Mac has there own tutorial on the developer site, > > No. The company is called Apple. :) > > > but it requires > > using XCode and I want to use TextMate, so I haven''t paid much > > attention to their instructions. > > That''s a foolish reason to ignore it. A text editor is a text editor. > > But before you blow €39 on TextMate, try jEdit (seehttp://marnen.livejournal.comfor setup info) and/or TextWrangler. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hassan Schroeder
2009-Apr-17 21:22 UTC
Re: Installing Rails on Mac Leopard - Best Approach?
On Fri, Apr 17, 2009 at 12:06 PM, Brad <hashbrown1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I suppose the only real reason I have for not using the Ruby version > that is already available is that it''s 1.8.6 and my deployment > environment (my hosting service), uses 1.8.7. Not too sure if there > are any changes between versions that would be significant to me.I would recommend getting VMWare or equivalent and re-creating (as closely as possible) your deployment environment on a VM. Then you can develop natively and test-deploy to your local Linux (assuming!) instance for integration testing before pushing out to production. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Brad wrote:> I suppose the only real reason I have for not using the Ruby version > that is already available is that it''s 1.8.6 and my deployment > environment (my hosting service), uses 1.8.7. Not too sure if there > are any changes between versions that would be significant to me.If that''s really a concern it''s not that hard at all to compile and use your own Ruby of whatever version you like. There''s a good tutorial over at Hivelogic. As for me I''m just using the pre-installed 1.8.6 version. http://hivelogic.com/articles/view/ruby-rails-leopard As for the comment earlier about "blowing" your money on TextMate, I am in complete disagreement. That''s the best €39 I think I''ve ever spent on software. I''ve used a lot of text editors and in my opinion nobody else comes close. This is, of course, one man''s opinion. Your mileage may vary. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser
2009-Apr-18 01:13 UTC
Re: Installing Rails on Mac Leopard - Best Approach?
Robert Walker wrote: [...]> As for the comment earlier about "blowing" your money on TextMate, I am > in complete disagreement. That''s the best €39 I think I''ve ever spent on > software.Um, I meant "blow" in the sense of "spend irreversibly", not in the sense of "waste". I know that TextMate is, by all reports, an excellent program. However, I also know that a lot of Rails developers seem to have tunnel vision when it comes to editors, so I just wanted to point out a couple of free alternatives that the OP could evaluate. Sorry if my choice of words was misleading.> I''ve used a lot of text editors and in my opinion nobody else > comes close. This is, of course, one man''s opinion. Your mileage may > vary.Then I guess I should ask: in your opinion, what makes TextMate worth the money? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser wrote:> Robert Walker wrote: > [...] >> As for the comment earlier about "blowing" your money on TextMate, I am >> in complete disagreement. That''s the best €39 I think I''ve ever spent on >> software. > > Um, I meant "blow" in the sense of "spend irreversibly", not in the > sense of "waste". I know that TextMate is, by all reports, an excellent > program. However, I also know that a lot of Rails developers seem to > have tunnel vision when it comes to editors, so I just wanted to point > out a couple of free alternatives that the OP could evaluate. Sorry if > my choice of words was misleading.Yea, maybe my comment sounded a bit more harsh than intended. I just wanted to point out that there are sometimes compelling reasons to spend money on good software when it can make you more efficient. That is as opposed to using free software that just gets the job done.> Then I guess I should ask: in your opinion, what makes TextMate worth > the money?In a word, "bundles." And, the longer form: TextMate gives me exactly what I want in a text editor, which is a feature set designed to help enter code. I''m not talking about assistance entering method names (as in code completion). I really care very little about that. I''m talking about getting help entering code without getting in my way all time with popup menus suggesting things it "thinks" I might want to enter (and getting it wrong about half the time). Or, getting me stuck with a "beach ball" while it goes off trying to figure out what I might want to enter next, as is the case with the Java based IDE that I''m stuck with in my day job as a Java programmer. All I can say is, download the 30 day trial of TextMate. Read the docs and really get to know the editor. Chances are, if you''re like most of use who have tried it, you''ll happily whip out that credit card to buy your very own copy of this wonderful editor. I know, I sound like a TextMate salesman, but really I''m just a happy customer. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Not sure if this helps, but Dan from Thoughtbot has a great guide for getting a decent Ruby dev environment set up on Mac OS X Leopard: http://giantrobots.thoughtbot.com/2009/3/30/2009-rubyist-guide-mac-os-x-development-environment I''m personally not that big on vim/vi, and I only use Git for tracking some Gems, but there are certainly some benefits to this setup. Hope this helps! On Apr 17, 2:23 pm, Brad A <hashbro...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I know this has been asked often over the years, looking for the > latest best practice.. > > I''m a total mac noob, have been using windows/cygwin up until now. > > Looks like the basic approaches I''ve seen so far: > - Leave the pre-installed ruby 1.8.6 and just update the rails gem > - Do your own full blown installation (Hivelogic tutoral) > - Use Macports installation > - Others?? > > Mac has there own tutorial on the developer site, but it requires > using XCode and I want to use TextMate, so I haven''t paid much > attention to their instructions. > > Advice greatly appreciated, thanks! > > Brad--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks to everyone for their input. I decided to just use the default install of ruby and upgrade the rails gem, plus install mysql, http://bit.ly/Z1xJA. Still leaves open using macports or a new complete install in the future. I downloaded the 30 day trial of textmate and have started working with it. I''ve seen some screencasts showing some great stuff for ruby/ rails. I''ll see if I can get some of that under my belt. -Brad On Apr 18, 8:13 am, "Billee D." <william.dod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Not sure if this helps, but Dan from Thoughtbot has a great guide for > getting a decent Ruby dev environment set up on Mac OS X Leopard: > > http://giantrobots.thoughtbot.com/2009/3/30/2009-rubyist-guide-mac-os... > > I''m personally not that big on vim/vi, and I only use Git for tracking > some Gems, but there are certainly some benefits to this setup. Hope > this helps! > > On Apr 17, 2:23 pm, Brad A <hashbro...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I know this has been asked often over the years, looking for the > > latest best practice.. > > > I''m a total mac noob, have been using windows/cygwin up until now. > > > Looks like the basic approaches I''ve seen so far: > > - Leave the pre-installed ruby 1.8.6 and just update the rails gem > > - Do your own full blown installation (Hivelogic tutoral) > > - Use Macports installation > > - Others?? > > > Mac has there own tutorial on the developer site, but it requires > > using XCode and I want to use TextMate, so I haven''t paid much > > attention to their instructions. > > > Advice greatly appreciated, thanks! > > > Brad--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---