Mac 下搭建 Rails 环境
终于收到 iMac 了 ,第一件事情当然就是搭建 Rails 开发环境。
最新的 Mac OS X 里面已经默认装好了 gem 和 Rails 环境,所以啥也不用做。
要做的只是一些周边软件,比如 MySQL、Fcgi、RMagick、Lighttpd 等等。
MySQL、Fcgi 的安装,可以参见:http://hivelogic.com/articles/ruby_rails_lighttpd_mysql_tiger
之后,安装 MacPorts,参见:Installing MacPorts
装好了 MacPorts 就好办了,之后用 port 命令安装 Lighttpd 和 RMagick:
安装 Lighttpd,参见:http://gonefish.cn/?p=521
安装 RMagick,参加:http://rmagick.rubyforge.org/install-osx.html
Mac OS X 里面默认装好了 vim,如果需要 gui 前端,可以用 MacVim,参见:http://code.google.com/p/macvim/
搞定。虽然不如 Gentoo 下方便,但是比 Fedora 下舒服一些~
2010年4月17日 07:20
Gosin第一时间发来贺电,表示会关注Mac平台开发者
2010年4月17日 08:00
cool.
2010年4月17日 08:43
@Gosin:
@TLHL28:
:D 先耍两天,然后再发表发表感想……
2010年4月18日 23:27
俺有了mac会第一时间装上gentoo-prefix :)
2010年4月19日 06:58
@transtone: 这个东西不错~
2010年4月19日 22:58
试试看homebrew,相当不错
2010年4月20日 08:19
@Sen: 原来 homebrew 是用 ruby 来写包信息的啊,有意思~
2010年12月19日 00:34
呃?为什么Gentoo比Fedora舒服?Fedora本来就是给开发者设计的啊?我用的很舒服,就是程序崩溃有点多
2010年12月19日 04:02
习惯而已,MacPort 和 Gentoo 里面的 emerge 很相似,而且对于获取 Rails 的相关软件包,确实 Gentoo 下方便一些。
2021年5月30日 18:29
You guardians do an astounding web diary, and have some unfathomable substance. Continue doing extraordinary. supreme saunas
2021年6月01日 19:58
A lot of people having an incorrect image about the cash advance loans or sometimes refer it as bad credit payday loans. Credit Planned
2021年6月02日 19:28
This blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. Window Replacement Companies
2021年6月07日 14:41
Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. Indoor sauna
2021年7月28日 20:43
Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. 먹튀사이트
2021年10月02日 17:39
I love significantly your own post! I look at all post is great. I discovered your personal content using bing search. Discover my webpage is a great one as you.I work to create several content this post. Once more you can thank you and keep it create! Enjoy! Result SGP
2023年6月18日 01:30
You need to get involved in a tournament personally of the best blogs over the internet. I most certainly will recommend this great site! 花藝學校
2023年6月24日 15:40
It’s rare knowledgeable people for this topic, however you sound like do you know what you are discussing! Thanks technology lawyer new jersey
2023年7月17日 00:49
hi!,I love your writing so much! proportion we be in contact extra about your article on AOL? I require an expert on this space to resolve my problem. May be that’s you! Having a look forward to see you. 강남안마 가이드
2023年10月29日 01:09
I just now wanted to inform you how much we appreciate anything you’ve shared to help increase the value of the lives of people in this subject matter. Through your current writings, I have gone from simply an amateur to a skilled in the field. It can be a gratitude to your endeavours. Much thanks login mpo100
===========================
Woah this is just an insane amount of information, must of taken ages to compile so cheers so much for just sharing it with all of us. daftar mpo100
===========================
The the next time I just read a blog, I am hoping it doesnt disappoint me up to this place. What i’m saying is, I know it was my choice to read, but When i thought youd have something fascinating to express. All I hear is often a bunch of whining about something you could fix in the event you werent too busy looking for attention. mpo100
2023年11月13日 02:00
eating can be considered my hobby he he he. i would really love to visit foods blogs and see some recipes:: dead people
2023年12月11日 02:02
The way you write, you are really a professional blogger.*,.’, Débouchage douche Paris
2023年12月22日 01:02
I really don’t accept as true with this blog post. Nevertheless, I did looked in Yahoo and I have found out that you’re correct and I was thinking in the improper way. Carry on publishing good quality material like this. UAE
2023年12月24日 02:32
This will be a great website, might you be interested in doing an interview about how you developed it? If so e-mail me! 手機回收
================
Thanks for this excellent article. One other thing is that a lot of digital cameras come equipped with the zoom lens that enables more or less of your scene to get included by means of ‘zooming’ in and out. All these changes in concentration length are usually reflected while in the viewfinder and on significant display screen right at the back of the specific camera. iphone trade in
================
I like the helpful information you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite certain I will learn lots of new stuff right here! Best of luck for the next! iphone回收價格表
================
It’s rare knowledgeable individuals on this topic, however, you be understood as guess what happens you are speaking about! Thanks iphone 回收
2023年12月27日 17:18
Hey, good morning. Interesting article. You have gained a new reader. Pleasee keep up the good work and I look forward to more of your brilliant articles. God bless, . Clean Black Dollars Qatar
2024年1月10日 22:51
right now, i am using LED desk lamps because they do not heat as much as incandescent desk lamps” IOP drug rehabs West Palm Beach
=====================
To be sure using your thoughts here and I like your blog! I’ve bookmarked it to ensure I can come back & read more sometime soon. inpatient drug rehabs San Diego
======================
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]… drug rehab SEO
==========================
I am not rattling good with English but I get hold this very easygoing to read . detox treatment san diego
2024年1月15日 05:26
right now, i am using LED desk lamps because they do not heat as much as incandescent desk lamps~ best dating sites 2024
2024年1月20日 04:58
Great write-up, I am normal visitor of one’s blog, maintain up the nice operate, and It’s going to be a regular visitor for a long time. Finance
2024年2月03日 22:15
Many fashion publications such as Elle magazine showcase lots of vintage style jewellery and costume jewellery sue to it being extremely popular. plombier tours
2024年2月05日 04:23
Awesome! I thank you your contribution to this matter. It has been insightful. my blog: maple syrup iphone 回收
==================
I have been examinating out many of your stories and i must say pretty good stuff. I will make sure to bookmark your blog. tradein iPhone
==================
I’m impressed, I must say. Actually rarely must i encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail within the head. Your concept is outstanding; the pain is an element that too little consumers are speaking intelligently about. I am delighted that we found this within my search for some thing relating to this. ipad回收
==================
Hello! I just now wish to give a enormous thumbs up for that wonderful information you have here during this post. I’ll be coming back to your website for additional soon. 手機回收價格
2024年2月24日 06:58
I just added your RSS Feed on my RSS reader, it is so nice to read your blog.,.~:” kredyty dla Polaków w Norwegii
================
I am curious to find out what blog system you happen to be utilizing? I’m having some minor security problems with my latest website and I would like to find something more risk-free. Do you have any solutions? Portal dla Polaków w Norwegii
================
when we are looking for apartment for rents, we usually choose those with very clean rooms,, windows producer
================
I discovered your blog site web site on bing and appearance a few of your early posts. Keep on the good operate. I merely extra encourage RSS feed to my MSN News Reader. Looking for forward to reading much more from you finding out at a later time!… Agencja Marketingowa
================
Hi there very nice website!! Man .. Excellent .. Wonderful .. I’ll bookmark your blog and take the feeds also…I am glad to search out a lot of useful information here within the publish, we want work out more strategies on this regard, thanks for sharing. Agencja SEO
================
You made some decent points there. I looked on the internet for the issue and found most people goes along with with your site. Portal branży HoReCa
================
I’d should talk to you here. Which is not some thing I usually do! I love reading an article that could get people to believe. Also, many thanks for allowing me to comment! Ranking Ośrodków Terapii
================
we always buy our dog supplies at least once a week from the local pet store. - Ranking adwokatów
================
You should take part in a tournament for one of the highest quality blogs online. I am going to recommend this website! Producent ryb
================
You’re the best, thanks for the awesome article. I’m having troubles subscribing to your blogs feed. Thought I’d let you know. Ośrodek terapii uzależnień
================
Nice post. I understand something more difficult on different blogs everyday. Most commonly it is stimulating to study content off their writers and use a little something from their site. I’d would rather apply certain with the content on my blog whether you don’t mind. Natually I’ll provide link with your internet weblog. Thank you for sharing. Global Marketing Agency
================
Twitter had a tweet on bulk t-shirts, and lead me here. There are a variety of ways you can go if you want to make custom T-shirts. There’s digital printers, plot cutters, and even custom transfers, but screen printing is the best way to produce a lot of T-shirts at a very low cost per unit. Agencja Eventowa Warszawa
2024年4月18日 01:28
Youre so cool! I dont suppose Ive read anything similar to this before. So nice to discover somebody with original ideas on this subject. realy thank you for starting this up. this excellent website is one area that is needed on-line, an individual if we do originality. valuable project for bringing new things towards the internet! Bet on Red
2024年4月25日 20:56
I discovered your site site on google and appearance a couple of your early posts. Preserve on the excellent operate. I merely extra up your Rss to my MSN News Reader. Looking for forward to reading a lot more on your part later on!… 抜ける動画
2024年4月30日 00:36
This is the type of information I’ve long been trying to find. Thank you for writing this information. Boot mit Grill mieten
2024年5月08日 16:57
You should participate in a contest for among the best blogs on the web. I will suggest this website! binary trading
===============
Hello there, I discovered your site by the use of Google even as looking for a similar topic, your web site came up, it seems great. I have bookmarked it in my google bookmarks. windows of the highest quality
===============
Oh my goodness! an excellent article dude. Thanks a lot Even so I’m experiencing problem with ur rss . Do not know why Struggle to register for it. Can there be any person finding identical rss issue? Anyone who knows kindly respond. Thnkx Sklep z obrazami online
2024年5月23日 12:48
I see that you are using WordPress on your blog, wordpress is the best.~’-~* mobile marketing