<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ไอเอินบล๊อก &#187; E-Ruby</title>
	<atom:link href="http://www.iearn.in.th/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iearn.in.th</link>
	<description>Just Play and Just Knowledge</description>
	<lastBuildDate>Fri, 05 Aug 2011 15:10:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install mysql-server and mysql gem</title>
		<link>http://www.iearn.in.th/2010/11/20/install-mysql-server-and-mysql-gem/</link>
		<comments>http://www.iearn.in.th/2010/11/20/install-mysql-server-and-mysql-gem/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 05:18:52 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[E-Ruby]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=659</guid>
		<description><![CDATA[sudo apt-get install mysql-server mysql-client libmysqlclient-dev sudo gem install mysql 11 views]]></description>
			<content:encoded><![CDATA[<p><code>sudo apt-get install mysql-server mysql-client libmysqlclient-dev<br />
sudo gem install mysql</code></p>

<p class="sayac_bilgi">11 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2010/11/20/install-mysql-server-and-mysql-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Ruby 1.9.2 and Rails 3 on Ubuntu 10.10</title>
		<link>http://www.iearn.in.th/2010/11/19/install-ruby-1-9-2-and-rails-3-on-ubuntu-10-10/</link>
		<comments>http://www.iearn.in.th/2010/11/19/install-ruby-1-9-2-and-rails-3-on-ubuntu-10-10/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 15:25:10 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[E-Ruby]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=652</guid>
		<description><![CDATA[ง่ายๆครับ ทำตามนี้เลย apt-get install gcc g++ build-essential libssl-dev libreadline5-dev zlib1g-dev linux-headers-generic libsqlite3-dev wget ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.2-p0.tar.gz tar -zxvf ruby-1.9.2-p0.tar.gz cd ruby-1.9.2-p0 ./configure --prefix=/usr/local/ruby make &#038;&#038; sudo make install สุดท้ายก็แก้ไข path ให้ไปที่ /usr/local/ruby/bin gedit /etc/envitonment source /etc/environment 12 views]]></description>
			<content:encoded><![CDATA[<p>ง่ายๆครับ ทำตามนี้เลย<br />
<code>apt-get install gcc g++ build-essential libssl-dev libreadline5-dev zlib1g-dev linux-headers-generic libsqlite3-dev<br />
wget ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.2-p0.tar.gz<br />
tar -zxvf ruby-1.9.2-p0.tar.gz<br />
cd ruby-1.9.2-p0<br />
./configure --prefix=/usr/local/ruby<br />
make &#038;&#038; sudo make install</code></p>
<p>สุดท้ายก็แก้ไข path ให้ไปที่ /usr/local/ruby/bin<br />
<code>gedit /etc/envitonment<br />
source /etc/environment</code></p>

<p class="sayac_bilgi">12 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2010/11/19/install-ruby-1-9-2-and-rails-3-on-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Ruby,Ruby gem,Mongrel,Mysql on Mac 10.5.2</title>
		<link>http://www.iearn.in.th/2008/04/23/how-to-install-rubyruby-gemmongrelmysql-on-mac-1052/</link>
		<comments>http://www.iearn.in.th/2008/04/23/how-to-install-rubyruby-gemmongrelmysql-on-mac-1052/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 02:40:44 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[E-Ruby]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[RedCloth]]></category>
		<category><![CDATA[Ruby gem]]></category>

		<guid isPermaLink="false">http://www.jaideawhosting.com/nolifelover/?p=121</guid>
		<description><![CDATA[หลังจากสอบเสร็จก็ถึงเวลาที่ต้องทำโปรแจคต่อและด้วยความว่าการใช้งาน jruby มีปัญหาเยอะกับทางฝั่งของฝ่ายที่ต้องจัดการกับเ้จา server เลยจำเป็นต้องเข้ามาใช้เจ้า ruby on rails ตัว original กัน แต่ด้วยความที่ว่าเมื่อใช้ netbeans มักจะมาคู่ด้วย jruby เมื่อเปลี่ยนมาใช้ ruby on rails ตัวจริงเลยต้องหาวิธีลงกันหน่อย สำหรับการลงก็ไม่ยากเลยครับ อิๆๆ นั่งหาวิธีประมาณ 6 ชั่วโมงได้ สำหรับการลงครั้งที่จะนำไปใช้ร่วมกับเจ้า netbeans เพราะของเก่ามันอยู่ใน netbeans เลยจำเป็นที่ต้องใช้ใน netbeans เหมือนเดิม สำหรับการลงผมได้เอามาจาก hivelogic.com ก็ต้องขอบคุณเป็นอย่างมากครับ เรามาดูวิธีการลงกันเลยดีกว่าครับ 1. สำหรับใครที่ยังไม่ได้ลง xcode ก็ลองหามาลงดูนะครับเพราะว่าเราจะทำการ compile แล้วลงเองครับไม่ได้มีแบบสำเร็จรูปมาให้ครับ สำหรับ xcode ลองหาจากเว็บ apple.com ดูนะครับ 2. เมื่อเราได้ทำการลง xcode แล้วผมขอตกลงก่อนนะครับว่าจะลงในส่วนของ /usr/local สำหรับใครอยากลงที่อื่นแล้วแต่นะครับ 3. เริ่มต้นกันเลยครับ โดยการสร้างไดเรกเทอรี่ไว้เก็บไฟล์ที่เราจะโหลดมาก่อนครับ $sudo [...]]]></description>
			<content:encoded><![CDATA[<p>หลังจากสอบเสร็จก็ถึงเวลาที่ต้องทำโปรแจคต่อและด้วยความว่าการใช้งาน jruby มีปัญหาเยอะกับทางฝั่งของฝ่ายที่ต้องจัดการกับเ้จา server เลยจำเป็นต้องเข้ามาใช้เจ้า ruby on rails ตัว original กัน แต่ด้วยความที่ว่าเมื่อใช้ netbeans มักจะมาคู่ด้วย jruby เมื่อเปลี่ยนมาใช้ ruby on rails ตัวจริงเลยต้องหาวิธีลงกันหน่อย สำหรับการลงก็ไม่ยากเลยครับ อิๆๆ นั่งหาวิธีประมาณ 6 ชั่วโมงได้ สำหรับการลงครั้งที่จะนำไปใช้ร่วมกับเจ้า netbeans เพราะของเก่ามันอยู่ใน netbeans เลยจำเป็นที่ต้องใช้ใน netbeans เหมือนเดิม สำหรับการลงผมได้เอามาจาก <a href="http://hivelogic.com/articles/2008/02/ruby-rails-leopard">hivelogic.com</a> ก็ต้องขอบคุณเป็นอย่างมากครับ เรามาดูวิธีการลงกันเลยดีกว่าครับ</p>
<p>1. สำหรับใครที่ยังไม่ได้ลง xcode ก็ลองหามาลงดูนะครับเพราะว่าเราจะทำการ compile แล้วลงเองครับไม่ได้มีแบบสำเร็จรูปมาให้ครับ สำหรับ xcode ลองหาจากเว็บ apple.com ดูนะครับ<br />
2. เมื่อเราได้ทำการลง xcode แล้วผมขอตกลงก่อนนะครับว่าจะลงในส่วนของ /usr/local สำหรับใครอยากลงที่อื่นแล้วแต่นะครับ<br />
3. เริ่มต้นกันเลยครับ โดยการสร้างไดเรกเทอรี่ไว้เก็บไฟล์ที่เราจะโหลดมาก่อนครับ</p>
<pre>$sudo mkdir -p /usr/local/src
$sudo chgrp admin /usr/local/src
$sudo chmod -R 775 /usr/local/src
$cd /usr/local/src </pre>
<pre><span id="more-121"></span></pre>
<p>4. ต่อไปจะเป็นการ install Ruby ครับสำหรับใครที๋โหลดไฟล์มาแล้วก็สามารถที่จะข้ามขั้นตอนการโหลดไฟล์ไปได้เลยนะครับ</p>
<pre>$curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz
$tar xzvf ruby-1.8.6-p111.tar.gz
$cd ruby-1.8.6-p111
$./configure --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1
$make
$sudo make install
$cd .. </pre>
<p>5. จากนั้นลองทดลองทดสอบดูครับว่ามีการลง  ruby หรือยัง</p>
<pre>$ruby-v
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]</pre>
<p>6. จะทำการติดตั้ง Ruby Gem ซึ่งหากเทียบกันแล้วก็ประมาณ apt-get ของ ubuntu ครับ</p>
<pre>$curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-1.0.1.tgz
$tar xzvf rubygems-1.0.1.tgz
$cd rubygems-1.0.1
$sudo /usr/local/bin/ruby setup.rb
$cd ..</pre>
<p>7. เมื่อเราทำการลงอ Gem แล้วต่อไปก็จะลงเจ้า rails ก็จะแสนง่ายดายครับ</p>
<pre>$sudo gem install rails 
// -p http://cache.psu.ac.th:8080 ใช้เมื่อเราใช้เน็ตผ่าน proxy
$sudo gem install rails -p http://cache.psu.ac.th:8080</pre>
<p>8. ลงอย่างอื่นอีกครับ</p>
<pre>$sudo gem install mongrel
$sudo gem install capistrano
$sudo gem install RedCloth termios rspec sake </pre>
<p> 9. สำหรับใครที่ต้องการลง mysql server  แนะนำให้ไปโหลดมาจาก <a href="http://dev.mysql.com/downloads/">mysql.com</a> แต่ต้องสมัครสมาชิกนะเมื่อโหลดมาเรียบร้อยแล้วก็ลงทั่วไปครับ next ไปเรื่อยๆ</p>
<p>10. จากนั้นก็</p>
<pre>$sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config</pre>
<p>เป็นอันเสร็จเรียบร้อยครับ ต่อไปจะแนะนำการการนำเอา netbeans มาใช้งานร่วมกันครับเปิด netbeans ไปที่ netbeans -&gt; Preference แล้วเลือกตรง ruby ตรง ruby interpreter ให้ browse ไปที่ /usr/bin/ruby จากนั้นกด ok ก็เป็นอันว่าเรียบร้อยแล้วครับ</p>
<p style="text-align: center;"><a href="http://www.iearn.in.th/wp-content/uploads/2008/04/picture-31.png"><img class="alignnone size-medium wp-image-122" title="picture-31" src="http://www.jaideawhosting.com/nolifelover/wp-content/uploads/2008/04/picture-31-300x184.png" alt="" width="300" height="184" /></a></p>

<p class="sayac_bilgi">34 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2008/04/23/how-to-install-rubyruby-gemmongrelmysql-on-mac-1052/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on rails with MAMP Pro</title>
		<link>http://www.iearn.in.th/2008/04/16/ruby-on-rails-with-mamp-pro/</link>
		<comments>http://www.iearn.in.th/2008/04/16/ruby-on-rails-with-mamp-pro/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 14:23:51 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[E-Ruby]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[WEBrick]]></category>

		<guid isPermaLink="false">http://www.jaideawhosting.com/nolifelover/?p=68</guid>
		<description><![CDATA[สำหรับหลายคนที่ต้องการเริ่มทำงานบนแมคเหมือนผม(ลงแมคเท่สำเร็จเลยลองย้ายมาดู) มือใหม่ก็ยากลำบบากหน่อยครับ กว่าจะได้ตรงนั้น กว่าจะทำตรงนี้ได้ วันนี้ก็เลยอยากจะมาแนะนำการเขียน ruby on rails บน mac กันครับโดยที่ใช้ mysql ของ mamp pro ครับเพราะว่าผมต้องเขียน php ด้วยเลยจำเป็นต้องใช้ Mamp pro เนื่องากบอกแล้วว่ามือใหม่หัดขับ mac os จริงๆ ครับ สำหรับวันนี้จะแนะนำในส่วนของ ruby on rails โดย ใช้ netbeans 6.01 เป็น editor ครับ 1. สำหรับคนที่ยังไม่มี netbeans สามารถเข้าโหลดตัวลงได้ที่ http://www.netbeans.org/ ครับ 2. สำหรับ Mamp Pro ผมแนะนำให้เข้าไปดูที่ http://www.Macupdate.com ครับเพราะว่ามีในส่วนของโปรแกรมในแมคเยอะเลยครับ 3. เมื่อทำการดาวโหลดมาแล้วให้ทำการ install ทั้ง 2 โปรแกรมเลยครับ [...]]]></description>
			<content:encoded><![CDATA[<p>สำหรับหลายคนที่ต้องการเริ่มทำงานบนแมคเหมือนผม(ลงแมคเท่สำเร็จเลยลองย้ายมาดู) มือใหม่ก็ยากลำบบากหน่อยครับ กว่าจะได้ตรงนั้น กว่าจะทำตรงนี้ได้ วันนี้ก็เลยอยากจะมาแนะนำการเขียน ruby on rails บน mac กันครับโดยที่ใช้ mysql ของ mamp pro ครับเพราะว่าผมต้องเขียน php ด้วยเลยจำเป็นต้องใช้ Mamp pro เนื่องากบอกแล้วว่ามือใหม่หัดขับ mac os จริงๆ ครับ สำหรับวันนี้จะแนะนำในส่วนของ ruby on rails โดย ใช้ netbeans 6.01 เป็น editor ครับ<br />
1. สำหรับคนที่ยังไม่มี netbeans สามารถเข้าโหลดตัวลงได้ที่ <a href="http://www.netbeans.org/">http://www.netbeans.org/ </a>ครับ<br />
2. สำหรับ Mamp Pro ผมแนะนำให้เข้าไปดูที่ <a href="http://www.Macupdate.com ">http://www.Macupdate.com </a>ครับเพราะว่ามีในส่วนของโปรแกรมในแมคเยอะเลยครับ<br />
3. เมื่อทำการดาวโหลดมาแล้วให้ทำการ install ทั้ง 2 โปรแกรมเลยครับ ในที่นี้ไม่ขออธิบายละกันครับ<span id="more-233"></span><br />
4. เมื่อเสร็จแล้วสั่งรันโปรแกรมขึ้นมาเลยครับ และต่อไปจะเป็นการตั้่งค่าให้ rails เรารู้จัก mysql ของ mamp<br />
5. ใช้โปรแกรม netbeans สร้างโปรแจค ruby on rails มาซักโปรแจคครับ หลังจากนั้นจะตั้งค่าในส่วนของติดต่อฐานข้อมูล</p>
<pre lang="ruby' line=">development:
  adapter: mysql
  database: CommCenter_development
  username: root
  password: thiev5iP
  host: localhost</pre>
<p>6. ถ้าเราสั่งรันเลยเนี่ยจะได้หน้าตาประมาณนี้ครับ</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">Booting WEBrick...
<span style="color:#006600; font-weight:bold;">/</span>Users<span style="color:#006600; font-weight:bold;">/</span>mLri<span style="color:#006600; font-weight:bold;">/</span>Project<span style="color:#006600; font-weight:bold;">/</span>jruby<span style="color:#006600; font-weight:bold;">-</span>1.1RC2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>activerecord<span style="color:#006600; font-weight:bold;">-</span>2.0.2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>active_record<span style="color:#006600; font-weight:bold;">/</span>vendor<span style="color:#006600; font-weight:bold;">/</span>mysql.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">107</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`real_connect': No such file or directory - /tmp/mysql.sock (Errno::ENOENT)
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb:471:in `</span>connect<span style="color:#996600;">'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb:165:in `initialize'</span>
        from <span style="color:#006600; font-weight:bold;">/</span>Users<span style="color:#006600; font-weight:bold;">/</span>mLri<span style="color:#006600; font-weight:bold;">/</span>Project<span style="color:#006600; font-weight:bold;">/</span>jruby<span style="color:#006600; font-weight:bold;">-</span>1.1RC2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>activerecord<span style="color:#006600; font-weight:bold;">-</span>2.0.2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>active_record<span style="color:#006600; font-weight:bold;">/</span>connection_adapters<span style="color:#006600; font-weight:bold;">/</span>mysql_adapter.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">88</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`new'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb:88:in `</span>mysql_connection<span style="color:#996600;">'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection='</span>
        from <span style="color:#006600; font-weight:bold;">/</span>Users<span style="color:#006600; font-weight:bold;">/</span>mLri<span style="color:#006600; font-weight:bold;">/</span>Project<span style="color:#006600; font-weight:bold;">/</span>jruby<span style="color:#006600; font-weight:bold;">-</span>1.1RC2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>activerecord<span style="color:#006600; font-weight:bold;">-</span>2.0.2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>active_record<span style="color:#006600; font-weight:bold;">/</span>connection_adapters<span style="color:#006600; font-weight:bold;">/</span>abstract<span style="color:#006600; font-weight:bold;">/</span>connection_specification.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">259</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`retrieve_connection'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in `</span>connection<span style="color:#996600;">'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2438:in `quoted_table_name'</span>
         ... <span style="color:#006666;">16</span> levels...
        from <span style="color:#006600; font-weight:bold;">/</span>Users<span style="color:#006600; font-weight:bold;">/</span>mLri<span style="color:#006600; font-weight:bold;">/</span>Project<span style="color:#006600; font-weight:bold;">/</span>jruby<span style="color:#006600; font-weight:bold;">-</span>1.1RC2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.0.2<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>commands<span style="color:#006600; font-weight:bold;">/</span>server.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">38</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`require'
        from /Users/mLri/Project/jruby-1.1RC2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `</span><span style="color:#CC0066; font-weight:bold;">require</span><span style="color:#996600;">'
        from script/server:3</span></pre></div></div>

<p>7. สำหรับการแก้ไขในส่วนนี้เราสามารถทำได้โดย</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">sudo ln <span style="color:#006600; font-weight:bold;">-</span>s <span style="color:#006600; font-weight:bold;">/</span>Applications<span style="color:#006600; font-weight:bold;">/</span>MAMP<span style="color:#006600; font-weight:bold;">/</span>tmp<span style="color:#006600; font-weight:bold;">/</span>mysql<span style="color:#006600; font-weight:bold;">/</span>mysql.<span style="color:#9900CC;">sock</span> <span style="color:#006600; font-weight:bold;">/</span>tmp<span style="color:#006600; font-weight:bold;">/</span>mysql.<span style="color:#9900CC;">sock</span></pre></div></div>


<p class="sayac_bilgi">30 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2008/04/16/ruby-on-rails-with-mamp-pro/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

