<?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>BASIC TRADING MULTIMEDIA &#187; development</title>
	<atom:link href="http://www.basictrading.biz/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.basictrading.biz</link>
	<description>Information Technology and Design</description>
	<lastBuildDate>Fri, 30 Jul 2010 14:38:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Aptana Studio RedRails Error</title>
		<link>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/</link>
		<comments>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 11:04:30 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Software Libero]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/02/27/aptana-studio-redrails-error/</guid>
		<description><![CDATA[I was curious to try an IDE on Osx for Rails development and APTANA STUDIO seems to be the right product. (I do use TextMate as editor) Aptana Studio is fully installed on my laptop but, when I try to install the RedRails plugin, it returns this error: Requested operation cannot be performed because it <a href="http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/">Read More</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.aptana.com/system/files/images/Picture8_thumb.png" align="left" height="181" width="250" />I was curious to try an IDE on Osx for Rails development and <a href="http://www.aptana.com/" target="_blank">APTANA STUDIO</a> seems to be the right product. (I do use TextMate as editor)</p>
<p>Aptana Studio is fully installed on my laptop but, when I try to install the RedRails plugin, it returns this error:</p>
<p>Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.</p>
<pre></pre>
<pre>Ruby Mylyn Connector Feature (Optional) (0.9.3.6479) requires feature
"org.eclipse.mylyn.context_feature (2.0.0.v20070628-1000)", or later version.</pre>
<p><img src="http://www.aptana.com/images/products/rails/rails_home.png" height="50" width="48" /></p>
<p>The solution: <a href="http://support.aptana.com/issues/browse/ROR-156" target="_blank">http://support.aptana.com/issues/browse/ROR-156</a></p>
<p>The most important steps are:</p>
<ol>
<li>Went to Help=&gt;Updates=&gt;Find and Install. Installed three Eclipse updates that the system found. Installation of updates worked ok.</li>
<li>When the update window appears with RadRails updates, expand the tree and uncheck the box next to the Ruby Mylyn Connector Feature. This is an optional extension for users of Mylyn. You don&#8217;t need it, so you can safely uncheck the box and install.</li>
</ol>
<p>This seems to works either on Windows, Osx and Linux</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite in Ruby on Rails su OSX</title>
		<link>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/</link>
		<comments>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 17:25:20 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Fragments]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/02/08/sqlite-in-ruby-on-rails-su-osx/</guid>
		<description><![CDATA[Oggi il mio primo esperimento con SQLite su un progetto rails. Va oremesso che spulciando documentazione ho visto che SQLite sarà integrato come database di default per rails mettendo mysql come scelta opzionale. Per prima cosa è necessario installare la gemma sqlite3 sudo gem install sqlite3-ruby Poi si deve configurare il proprio file database.yml development: <a href="http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/">Read More</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sqlite.org/index.html"><img src="http://www.sqlite.org/images/SQLite.gif" class="logo" alt="SQLite Logo" border="0" /></a></p>
<p>Oggi il mio primo esperimento con SQLite su un progetto rails. Va oremesso che spulciando documentazione ho visto che SQLite sarà integrato come database di default per rails mettendo mysql come scelta opzionale.<br />
Per prima cosa è necessario installare la gemma sqlite3</p>
<blockquote>
<pre> sudo gem install sqlite3-ruby</pre>
</blockquote>
<p>Poi si deve configurare il proprio file database.yml</p>
<pre>development:</pre>
<pre>  adapter: sqlite3</pre>
<pre>  dbfile: dev.db</pre>
<pre>
test:</pre>
<pre>  adapter: sqlite</pre>
<pre>  dbfile: test.db</pre>
<pre>
production:</pre>
<pre>  adapter: sqlite</pre>
<pre>  dbfile: prod.db</pre>
<p>A questo punto basta sotto lib/task/ un rake db.rake tipo questo:</p>
<pre>namespace :db do</pre>
<pre>  desc 'Inserire i dati default'</pre>
<pre>  task :install =&gt; [:environment, 'db:migrate'] do |t|</pre>
<pre>    sDbPath = "#{ ENV['RAILS_ROOT'] }/db"</pre>
<pre>    h = YAML.load_file("#{ ENV['RAILS_ROOT'] }/config/database.yml")</pre>
<pre>    hConnection = h[ENV['RAILS_ENV']]</pre>
<pre>
     puts "-----"</pre>
<pre>     puts "eseguo sqlite3 ..."</pre>
<pre>    `sqlite3 -echo '#{ sDbPath }/#{ hConnection['dbfile'] }' &lt; '#{ sDbPath }/i_miei_dati.sql'`</pre>
<pre>  end</pre>
<pre>end</pre>
<p>Semplice, efficace, veloce!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
