<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>e168f08 - Latest Comments in Assignment 0</title><link>http://e168f08.disqus.com/</link><description></description><atom:link href="https://e168f08.disqus.com/assignment_0/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 29 Sep 2008 16:26:49 -0000</lastBuildDate><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2739551</link><description>&lt;p&gt;oops - sorry initially I thought you were referring to this screencast: &lt;a href="http://blip.tv/file/48664" rel="nofollow noopener" target="_blank" title="http://blip.tv/file/48664"&gt;http://blip.tv/file/48664&lt;/a&gt;&lt;br&gt;Thanks for your help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MJG</dc:creator><pubDate>Mon, 29 Sep 2008 16:26:49 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2733646</link><description>&lt;p&gt;Eh? The screencast I made should show sqlite3 going into C:\Sqlite3 or some such --- &lt;a href="http://e168f08.plugh.org/screencasts/setting-up-windows/" rel="nofollow noopener" target="_blank" title="http://e168f08.plugh.org/screencasts/setting-up-windows/"&gt;http://e168f08.plugh.org/sc...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Mon, 29 Sep 2008 12:49:18 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2733475</link><description>&lt;p&gt;Thank you its working now - the screencast says to place the files into the Ruby&amp;gt;Bin directory, however that didn't work for me so I did what you suggested above (place the three files into the sqlite3 directory created by the gem install, changed the path) and now versions.rb runs without generating that error.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MJG</dc:creator><pubDate>Mon, 29 Sep 2008 12:37:32 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2732511</link><description>&lt;p&gt;Here are some questions and suggestions:&lt;/p&gt;&lt;p&gt;0. If you are local and you're on a laptop, bring it to section.&lt;br&gt;1. What happens when you type "sqlite3" into the DOS prompt? Does that work?&lt;br&gt;2. Review the screencast, and consider installing Sqlite3 the way it is done there. Incidentally, there is also a .def file -- did you put that in ruby/bin as well? In any case, I think you'll be happier in the long run if you put sqlite3 in its own directory and change your path (see the screencast).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Mon, 29 Sep 2008 11:38:03 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2732101</link><description>&lt;p&gt;I'm getting this error when running versions.rb:&lt;/p&gt;&lt;p&gt;C:\Ruby\bin&amp;gt;versions.rb                                                        &lt;br&gt;require failed: 127: The specified procedure could not be found.   - Init_sqlite3./sqlite3.dll                                                                  &lt;br&gt;----- Software version check at Tue Sep 23 14:41:20 -0400 2008                                                                                                 &lt;br&gt;Ruby: 1.8.6                                                                    &lt;br&gt;RubyGems: 1.2.0                                                                &lt;br&gt;Rails: 2.1.1                                                                   &lt;br&gt;Mongrel: 1.1.5                                                                 &lt;br&gt;Sqlite: 3.6.3                                                                                                                                                  &lt;br&gt;*** LOCAL GEMS ***                                                                                                                                             &lt;br&gt;actionmailer (2.1.1)                                                           &lt;br&gt;actionpack (2.1.1)                                                             &lt;br&gt;activerecord (2.1.1)                                                           &lt;br&gt;activeresource (2.1.1)                                                         &lt;br&gt;activesupport (2.1.1)                                                          &lt;br&gt;cgi_multipart_eof_fix (2.5.0)                                                  &lt;br&gt;fxri (0.3.6)                                                                  &lt;br&gt;fxruby (1.6.16)                                                                &lt;br&gt;gem_plugin (0.2.3)                                                             &lt;br&gt;hoe (1.7.0)                                                                    &lt;br&gt;hpricot (0.6)                                                                  &lt;br&gt;log4r (1.0.5)                                                                  &lt;br&gt;mongrel (1.1.5)                                                                &lt;br&gt;ptools (1.1.6)                                                                 &lt;br&gt;rails (2.1.1)                                                                  &lt;br&gt;rake (0.8.2)                                                                   &lt;br&gt;ruby-opengl (0.60.0)                                                           &lt;br&gt;rubyforge (1.0.0)                                                              &lt;br&gt;sqlite-ruby (2.2.3)                                                            &lt;br&gt;sqlite3-ruby (1.2.3)                                                           &lt;br&gt;test-unit (2.0.0)                                                              &lt;br&gt;win32-api (1.2.0)                                                              &lt;br&gt;win32-clipboard (0.4.4)                                                        &lt;br&gt;win32-dir (0.3.2)                                                              &lt;br&gt;win32-eventlog (0.5.0)                                                         &lt;br&gt;win32-file (0.5.5)                                                             &lt;br&gt;win32-file-stat (1.3.1)                                                        &lt;br&gt;win32-process (0.5.9)                                                          &lt;br&gt;win32-sapi (0.1.4)                                                             &lt;br&gt;win32-sound (0.4.1)                                                            &lt;br&gt;windows-api (0.2.4)                                                            &lt;br&gt;windows-pr (0.9.3)&lt;/p&gt;&lt;p&gt;I placed both the sqlite3.dll and the sqlite3.exe into the ruby/bin directory and installed the gem without issue so I'm unsure why this error is occurring.      I would greatly appreciate any suggestions or help anyone might have.                     &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MJG</dc:creator><pubDate>Mon, 29 Sep 2008 11:11:08 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2658019</link><description>&lt;p&gt;I got the problem fixed. I reinstalled ruby on windows, and somehow it worked the second time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SA</dc:creator><pubDate>Sat, 27 Sep 2008 12:03:10 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2656047</link><description>&lt;p&gt;How did you install Rails? Can you find the rails command on your disk?&lt;/p&gt;&lt;p&gt;Windows? OSX? Linux? Help us out!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Sat, 27 Sep 2008 07:30:29 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2655260</link><description>&lt;p&gt;I have installed everything, but when I type rails test or rails assn0, I get an error that there is no inernal command as rails. My ruby script/server is not running either.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SA</dc:creator><pubDate>Sat, 27 Sep 2008 02:59:25 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2654959</link><description>&lt;p&gt;Thanks for your help, I got it working with:  gem install --version 1.2.3 sqlite3-ruby .&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Felipe Loya</dc:creator><pubDate>Sat, 27 Sep 2008 01:58:55 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2650517</link><description>&lt;p&gt;Two things:&lt;/p&gt;&lt;p&gt;(1) I say about, if you have issues with the sqlite3-ruby gem, try an earlier version:&lt;/p&gt;&lt;p&gt;gem install --version 1.2.3 sqlite3-ruby&lt;/p&gt;&lt;p&gt;(that's two dashes)&lt;/p&gt;&lt;p&gt;(2) If it still doesn't work: What is very very likely to be happening is that something is objecting to the spaces in the path.&lt;/p&gt;&lt;p&gt;I would strongly suggest that you install everything at the root. I.e., Ruby should be in C:\Ruby, Sqlite3 in C:\sqlite3, etc.&lt;/p&gt;&lt;p&gt;John&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Fri, 26 Sep 2008 20:20:53 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2650443</link><description>&lt;p&gt;Hi, I installed Ruby One-Click Installer with no problem using my Laptop running Win2000. However, when I tried to install sqlit3 3.6.3 it gives me the following error:&lt;/p&gt;&lt;p&gt;C:\Documents and Settings\floya\Desktop\Harvard\CSCI E-168 Fall 2008\Ruby\bin&amp;gt;&lt;br&gt;gem install sqlite3-ruby&lt;br&gt;Building native extensions.  This could take a while...&lt;br&gt;ERROR:  Error installing sqlite3-ruby:&lt;br&gt;        ERROR: Failed to build gem native extension.&lt;/p&gt;&lt;p&gt;C:/Documents and Settings/floya/Desktop/Harvard/CSCI E-168 Fall 2008/Ruby/bin/ruby.exe extconf.rb install sqlite3-ruby&lt;br&gt;'C:/Documents' is not recognized as an internal or external command,operable program or batch file.&lt;/p&gt;&lt;p&gt;Gem files will remain installed in C:/Documents and Settings/floya/Desktop/Harva&lt;br&gt;rd/CSCI E-168 Fall 2008/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.&lt;br&gt;Results logged to C:/Documents and Settings/floya/Desktop/Harvard/CSCI E-168 Fall 2008/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out&lt;/p&gt;&lt;p&gt;I followed all instructions from the video, still no positive results. Any suggestions to solve this problem? Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Felipe Loya</dc:creator><pubDate>Fri, 26 Sep 2008 20:15:38 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2588472</link><description>&lt;p&gt;I changed versions.rb to puts `gem.bat list` and it worked.&lt;/p&gt;&lt;p&gt;As C&amp;amp;C Music factory would say "things that make you say hmmmm" !&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bob d</dc:creator><pubDate>Wed, 24 Sep 2008 21:57:26 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2588399</link><description>&lt;p&gt;The ruby versions.rb works on my laptop, but thwn I do the same exact steps on my desktop I get:&lt;/p&gt;&lt;p&gt;And . . . Connect to Sqlite says version is: 3.6.2&lt;br&gt;versions.rb:33:in ``': Exec format error - gem list (Errno::ENOEXEC)&lt;br&gt;        from versions.rb:33&lt;/p&gt;&lt;p&gt;Anyone else get this error ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bob d</dc:creator><pubDate>Wed, 24 Sep 2008 21:51:15 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2555032</link><description>&lt;p&gt;An older version of XCode on my Mac prevented me from installing sqlite3--  "C compiler cannot create executables" was the error at the configure stage.  Only after I updated XCode did the install run smoothly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">katemuse</dc:creator><pubDate>Tue, 23 Sep 2008 22:49:07 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2527734</link><description>&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Mon, 22 Sep 2008 20:54:34 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2527649</link><description>&lt;p&gt;Fedora 9 Linux : For those of us that don't know when to quit, you should install ruby-devel , as well as GCC , in addition to the standard RPMs ( ruby , ruby-lib , ... )&lt;/p&gt;&lt;p&gt;# yum install gcc&lt;br&gt;# yum install ruby-devel&lt;/p&gt;&lt;p&gt;ruby-devel includes the 'ruby.h' file which was preventing my proper installation of Mongrel and FastThread .&lt;/p&gt;&lt;p&gt;[&lt;a href="http://mmm.lkjlkj.net" rel="nofollow noopener" target="_blank" title="mmm.lkjlkj.net"&gt;mmm.lkjlkj.net&lt;/a&gt;:~] # grep -i ruby rpm.list.txt &lt;br&gt;rubygems-0.9.4-1.fc8.noarch&lt;br&gt;ruby-ri-1.8.6.230-4.fc9.i386&lt;br&gt;ruby-irb-1.8.6.230-4.fc9.i386&lt;br&gt;ruby-libs-1.8.6.230-4.fc9.i386&lt;br&gt;ruby-1.8.6.230-4.fc9.i386&lt;br&gt;ruby-rdoc-1.8.6.230-4.fc9.i386&lt;br&gt;ruby-devel-1.8.6.230-4.fc9.i386&lt;br&gt;[&lt;a href="http://mmm.lkjlkj.net" rel="nofollow noopener" target="_blank" title="mmm.lkjlkj.net"&gt;mmm.lkjlkj.net&lt;/a&gt;:~] # &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mario</dc:creator><pubDate>Mon, 22 Sep 2008 20:45:48 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2525331</link><description>&lt;p&gt;Thanks for the tip! It turned out I had two versions of rails installed by mistake. I didn't have gems in my PATH, so I ended up getting 2.0.2 from /bin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nocsav</dc:creator><pubDate>Mon, 22 Sep 2008 17:11:35 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2524676</link><description>&lt;p&gt;You need to bump up your version of Rails. Do&lt;/p&gt;&lt;p&gt;gem update rails&lt;/p&gt;&lt;p&gt;Then new apps should get Sqlite3 not MySQL.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Mon, 22 Sep 2008 16:25:31 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2524545</link><description>&lt;p&gt;Ruby version	1.8.6 (x86_64-linux)&lt;br&gt;RubyGems version	1.1.1&lt;br&gt;Rails version	2.0.2&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nocsav</dc:creator><pubDate>Mon, 22 Sep 2008 16:17:35 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2524442</link><description>&lt;p&gt;For your Linux setup: What are you currently getting for&lt;/p&gt;&lt;p&gt;rails -v&lt;br&gt;sudo gem -v&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jgn</dc:creator><pubDate>Mon, 22 Sep 2008 16:10:54 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2524331</link><description>&lt;p&gt;I've been doing assignment 0 on Ubuntu Linux.&lt;/p&gt;&lt;p&gt;I had to install a couple of extra packages to get mine working:&lt;br&gt;$ sudo apt-get install ruby1.8-dev&lt;br&gt;$ sudo apt-get install rails&lt;/p&gt;&lt;p&gt;Also, I had to run "rails" with a special argument to force it to use sqlite3. By default, it tried using MySQL.&lt;/p&gt;&lt;p&gt;$ rails -D sqlite3 assn0&lt;/p&gt;&lt;p&gt;Hope this helps...&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nocsav</dc:creator><pubDate>Mon, 22 Sep 2008 16:02:14 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2514485</link><description>&lt;p&gt;I got a very similar error in Mac OS X Leopard (10.5) and wanted to post the solution in case someone else runs into the same problem:&lt;br&gt;-----------------------------------------------------------------------&lt;br&gt;mymachostname$ sudo gem install sqlite3-ruby&lt;/p&gt;&lt;p&gt;Building native extensions.  This could take a while...&lt;br&gt;ERROR:  Error installing sqlite3-ruby:&lt;br&gt;	ERROR: Failed to build gem native extension.&lt;/p&gt;&lt;p&gt;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install sqlite3-ruby&lt;br&gt;can't find header files for ruby.&lt;/p&gt;&lt;p&gt;Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.&lt;br&gt;Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out&lt;br&gt;-----------------------------------------------------------------------&lt;br&gt;SOLUTION: I fixed it after I found this similar error in the Ruby Forums:&lt;br&gt;&lt;a href="http://railsforum.com/viewtopic.php?id=22116" rel="nofollow noopener" target="_blank" title="http://railsforum.com/viewtopic.php?id=22116"&gt;http://railsforum.com/viewt...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;After installing Xcode, it magically worked.  Beware that Xcode is a 1GB DVD sized download.  Also, I had to register for an Apple Developer account to download.&lt;/p&gt;&lt;p&gt;Another note worth mentioning: AWDR says to go to &lt;a href="http://darwinports.com/install/" rel="nofollow noopener" target="_blank" title="http://darwinports.com/install/"&gt;http://darwinports.com/inst...&lt;/a&gt; to install darwin ports.  However, the site has been down for a few days and now it's back online, but the downloads are still not working.  So I may have resolved it quicker with darwin ports, but it's still not available.&lt;/p&gt;&lt;p&gt;I still think Xcode was worth it since it's in the list of IDE's in AWDR.  I'm gonna give it try along with the other ones.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">cyberwisdom</dc:creator><pubDate>Mon, 22 Sep 2008 00:57:48 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2513312</link><description>&lt;p&gt;Thanks for mentioning this, David.  &lt;br&gt;I didn't have to uninstall anything.  I merely shut down my system on Friday, and after booting this evening, when I tried installing the mongrel gem again, it installed with no problems at all.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Morris</dc:creator><pubDate>Sun, 21 Sep 2008 22:35:23 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2513290</link><description>&lt;p&gt;Yes.&lt;/p&gt;&lt;p&gt;C:\&amp;gt;gem --version&lt;br&gt;1.2.0&lt;/p&gt;&lt;p&gt;The problem seems to have been the one DavidLo reports, below.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Morris</dc:creator><pubDate>Sun, 21 Sep 2008 22:32:46 -0000</pubDate></item><item><title>Re: Assignment 0</title><link>http://e168f08.plugh.org/assignments/assignment-0/#comment-2511845</link><description>&lt;p&gt;I’m using Windows XP SP 3.&lt;/p&gt;&lt;p&gt;I had great difficulty with the Zlib::BufError problem.  It would even happen running “gem update –system” a second time.&lt;/p&gt;&lt;p&gt;Finally I uninstalled everything to start again (remembering to also delete the .gem directory in my windows home directory "\Documents and Settings\myname").&lt;/p&gt;&lt;p&gt;The solution that worked for me was to reboot after each and every gem update operation.  I don’t know why that worked but it did (and nothing else had).  This problem is discussed extensively on the web but there’s no universal solution.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DavidLo</dc:creator><pubDate>Sun, 21 Sep 2008 19:09:17 -0000</pubDate></item></channel></rss>