<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Error while installing sqlite]]></title>
		<link>http://railsforum.com/viewtopic.php?id=49902</link>
		<description><![CDATA[The most recent posts in Error while installing sqlite.]]></description>
		<lastBuildDate>Thu, 16 Aug 2012 09:25:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error while installing sqlite]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=154599#p154599</link>
			<description><![CDATA[<p>Hi,</p><p>thx for reply. yes Iam already working with this guide on ror.org and used that lot of other tutorials too <img src="http://railsforum.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I checked the troubleshooting page on rubyinstaller.org and found exactly my problem:</p><p><a href="https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-gems_fails_comspec_autorun">https://github.com/oneclick/rubyinstall &#133; ec_autorun</a></p><p>But it didnt help me. Scenario A as written there didnt fit to me and in scenario B I found an autorun in the hklm and deleted it, but its still not working.</p><p>I cant understand why my testproject is working with sqlite but this downloaded one says that sqlite is missing?!</p>]]></description>
			<author><![CDATA[dummy@example.com (Jeffrie)]]></author>
			<pubDate>Thu, 16 Aug 2012 09:25:04 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=154599#p154599</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error while installing sqlite]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=154588#p154588</link>
			<description><![CDATA[<p>It seems that you are on a Windows PC. In this case to be able to install some gems that need compilation, you should install DevKit as explained here: <a href="http://rubyinstaller.org/add-ons/devkit/.">http://rubyinstaller.org/add-ons/devkit/.</a></p><p>Second, there is LOT of docs and tutorials on RoR, start from this one:</p><p><a href="http://guides.rubyonrails.org/">http://guides.rubyonrails.org/</a></p><p>and</p><p>consult API documentation if needed: <a href="http://api.rubyonrails.org/">http://api.rubyonrails.org/</a></p><p>Hope this helps.</p>]]></description>
			<author><![CDATA[dummy@example.com (Javix)]]></author>
			<pubDate>Thu, 16 Aug 2012 07:00:35 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=154588#p154588</guid>
		</item>
		<item>
			<title><![CDATA[Error while installing sqlite]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=154583#p154583</link>
			<description><![CDATA[<p>Hej,</p><p>Ive got problems installing sqlite, when I run bundle install I get:</p><div class="codebox"><pre><code>Installing sqlite3-ruby (1.2.4) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        E:/Programme/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb 
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no

make
make: *** No rule to make target `ruby.h&#039;, needed by `sqlite3_api_wrap.o&#039;.  Stop.


Gem files will remain installed in E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.2.4 for inspection.
Results logged to E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out
An error occured while installing sqlite3-ruby (1.2.4), and Bundler cannot continue.
Make sure that `gem install sqlite3-ruby -v &#039;1.2.4&#039;` succeeds before bundling.</code></pre></div><br /><p>When I create a new Project it works with sqlite, but I downloaded another one (<a href="https://github.com/bennibu/foodsoft">https://github.com/bennibu/foodsoft</a>) and there RubyMine tells me, that some gems are missing:</p><div class="codebox"><pre><code>[rake --tasks] E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize&#039;: Could not find sqlite3-ruby-1.2.4 in any of the sources (Bundler::GemNotFound)
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `map!&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `materialize&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:107:in `specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:152:in `specs_for&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:141:in `requested_specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/environment.rb:23:in `requested_specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/runtime.rb:11:in `setup&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler.rb:110:in `setup&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/setup.rb:17:in `&lt;top (required)&gt;&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require&#039;


[rake --prereqs] E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize&#039;: Could not find sqlite3-ruby-1.2.4 in any of the sources (Bundler::GemNotFound)
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `map!&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `materialize&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:107:in `specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:152:in `specs_for&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/definition.rb:141:in `requested_specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/environment.rb:23:in `requested_specs&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/runtime.rb:11:in `setup&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler.rb:110:in `setup&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/setup.rb:17:in `&lt;top (required)&gt;&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require&#039;
  from E:/Programme/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require&#039;</code></pre></div><p>and when I try to run</p><p>&#039;rake db:create&#039;</p><p>as told in the redmefile of the software, I get</p><p>&#039;rake aborted. Bundler couldnt find some gems.&#039;</p><br /><p>What can I do? Eh, by the way, Iam a completely newbie in rails :)</p><br /><br /><p>---------------------------------</p><p>eh and another thing is that the foodsoftprogrammer tells in the readme file:</p><div class="codebox"><pre><code>(6) Try it out!
---------------  
Start the WEBrick server to try it out:
  
  script/server</code></pre></div><p>&nbsp; &nbsp; </p><p>what does this mean? &#039;rails s&#039; doesnt work, but how can I start the server then? the file script/server contains:</p><div class="codebox"><pre><code>#!/usr/bin/env ruby
require File.dirname(__FILE__) + &#039;/../config/boot&#039;
require &#039;commands/server&#039;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Jeffrie)]]></author>
			<pubDate>Wed, 15 Aug 2012 22:34:13 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=154583#p154583</guid>
		</item>
	</channel>
</rss>
