<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Teerasej&#039;s Adobe Flash platform blog &#187; Ruby on Rails</title>
	<atom:link href="http://flexblog.teerasej.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexblog.teerasej.com</link>
	<description>Let&#039;s engage user with Flash platform</description>
	<lastBuildDate>Wed, 14 Jul 2010 09:37:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/th/</creativeCommons:license>		<item>
		<title>Resolve Weborb for Rails&#8217; dependencies error in one statement!</title>
		<link>http://flexblog.teerasej.com/2010/01/30/resolve-weborb-for-ruby-in-one-statement/</link>
		<comments>http://flexblog.teerasej.com/2010/01/30/resolve-weborb-for-ruby-in-one-statement/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 13:31:29 +0000</pubDate>
		<dc:creator>Greendog</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[WebOrb]]></category>

		<guid isPermaLink="false">http://flexblog.teerasej.com/?p=507</guid>
		<description><![CDATA[
			
				
			
		

WebORB is a best start framework for everyone who need to integrate their Adobe Flash or Adobe Flex product to the other server platform except Adobe ColdFusion. For me, it made me a money from 2 projects already.  
But you may found that when you choose WebORB for Rails to integrate your nice flashy <a href="http://flexblog.teerasej.com/2010/01/30/resolve-weborb-for-ruby-in-one-statement/" class="more-link">More &#62;</a>


Related posts:<ol><li><a href='http://flexblog.teerasej.com/2008/02/28/array-to-weborbs-java-2/' rel='bookmark' title='Permanent Link: Array to WebOrb&#8217;s Java'>Array to WebOrb&#8217;s Java</a></li>
<li><a href='http://flexblog.teerasej.com/2008/02/28/array-to-weborbs-java/' rel='bookmark' title='Permanent Link: Array to WebOrb&#8217;s Java'>Array to WebOrb&#8217;s Java</a></li>
<li><a href='http://flexblog.teerasej.com/2010/07/09/how-to-solved-adobe-air-project-get-error-after-update-flash-builder-to-version-4-0-1/' rel='bookmark' title='Permanent Link: How to solved: Adobe AIR project get error after update Flash builder to version 4.0.1'>How to solved: Adobe AIR project get error after update Flash builder to version 4.0.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 10px; margin-right: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fflexblog.teerasej.com%2F2010%2F01%2F30%2Fresolve-weborb-for-ruby-in-one-statement%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fflexblog.teerasej.com%2F2010%2F01%2F30%2Fresolve-weborb-for-ruby-in-one-statement%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.themidnightcoders.com/products/weborb-for-rails/overview.html"><img class="alignleft" title="WebORB for Rails" src="http://www.themidnightcoders.com/uploads/tx_templavoila/brown_rails.jpg" alt="" width="171" height="203" /></a></p>
<p>WebORB is a best start framework for everyone who need to integrate their Adobe Flash or Adobe Flex product to the other server platform except Adobe ColdFusion. For me, it made me a money from 2 projects already. <img src='http://flexblog.teerasej.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But you may found that when you choose WebORB for Rails to integrate your nice flashy web application with a popular web framework like Ruby on Rails, especially with version 2.2.x+. You may scream after you install WebORB&#8217;s plug-in via following script and then run the server again to test something:</p>
<p><code>&gt;ruby script/plugin install http://themidnightcoders.net:8089/svn/weborb</code></p>
<p>These exception below will make you scream:</p>
<p><code>Exiting<br />
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in `const_missing': uninitialized constant Rails::Plugin::Dependencies (NameError)<br />
from /Users/mikih/Documents/workspace/isgroup_website_backend/vendor/plugins/weborb/init.rb:30:in `evaluate_init_rb'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:103:in `evaluate_init_rb'<br />
from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:99:in `evaluate_init_rb'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:44:in `load'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:33:in `load_plugins'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:32:in `each'<br />
from /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:32:in `load_plugins'<br />
... 33 levels...<br />
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'<br />
from ./script/server:3<br />
from -e:2:in `load'<br />
from -e:2</code></p>
<p>That is, I screamed with you too. But after trying to find the solution. I just found a simple solution to past this annoying problem, posted by <a href="http://www.themidnightcoders.com/forum/default.aspx?g=profile&amp;u=969">Mr. Davevil</a>.</p>
<ol>
<li>Open file: <code>init.rb in /vendor/plugins/weborb/init.rb</code></li>
<li>Replace following statement: <strong>Dependencies.mechanism = :load</strong></li>
<li>With this statement: <strong>ActiveSupport::Dependencies.mechanism  = :load</strong></li>
</ol>
<p>Then save it, and run your server again. I drank a big class of Coca-Cola for this succeed. <img src='http://flexblog.teerasej.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>

<p class="FacebookLikeButton"><fb:like href="http%3A%2F%2Fflexblog.teerasej.com%2F2010%2F01%2F30%2Fresolve-weborb-for-ruby-in-one-statement%2F" layout="standard" show_faces="true" width="450" action="like" colorscheme="light"></fb:like></p>


<p>Related posts:<ol><li><a href='http://flexblog.teerasej.com/2008/02/28/array-to-weborbs-java-2/' rel='bookmark' title='Permanent Link: Array to WebOrb&#8217;s Java'>Array to WebOrb&#8217;s Java</a></li>
<li><a href='http://flexblog.teerasej.com/2008/02/28/array-to-weborbs-java/' rel='bookmark' title='Permanent Link: Array to WebOrb&#8217;s Java'>Array to WebOrb&#8217;s Java</a></li>
<li><a href='http://flexblog.teerasej.com/2010/07/09/how-to-solved-adobe-air-project-get-error-after-update-flash-builder-to-version-4-0-1/' rel='bookmark' title='Permanent Link: How to solved: Adobe AIR project get error after update Flash builder to version 4.0.1'>How to solved: Adobe AIR project get error after update Flash builder to version 4.0.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://flexblog.teerasej.com/2010/01/30/resolve-weborb-for-ruby-in-one-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
