From blurgh123 at gmail.com Thu Sep 23 12:55:53 2010 From: blurgh123 at gmail.com (Steven) Date: Thu, 23 Sep 2010 11:55:53 -0500 Subject: [Instiki] upgrade_instiki problems Message-ID: Hi, I downloaded instiki 0.19 from http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz, extracted it, then ran 'rake upgrade_instiki'. However it failed with ** Erubis 2.6.6 Upgrading Instiki in production environment. rake aborted! no such file to load -- sqlite3/sqlite3_native I found a solution is to run 'gem install sqlite3-ruby' but that also fails with ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory. I am using a third party web host (Dreamhost) so I can see why I don't have write permissions there. However I previously installed instiki 0.18.1 on Dreamhost and it worked. What am I doing wrong? From distler at golem.ph.utexas.edu Thu Sep 23 13:29:05 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Thu, 23 Sep 2010 12:29:05 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> References: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> Message-ID: <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> On Sep 23, 2010, at 12:22 PM, Jacques Distler wrote: > This is a common problem which is why, for the release version of 0.19, I am hoping to use Bundler to manage dependencies like sqlite3-ruby. > > The trick, in your situation, is to install the gem locally > > gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor/plugins Whoops! I should have said gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From distler at golem.ph.utexas.edu Thu Sep 23 13:22:02 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Thu, 23 Sep 2010 12:22:02 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: References: Message-ID: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> On Sep 23, 2010, at 11:55 AM, Steven wrote: > Hi, I downloaded instiki 0.19 from > http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz, extracted > it, then ran 'rake upgrade_instiki'. However it failed with > > ** Erubis 2.6.6 > Upgrading Instiki in production environment. > rake aborted! > no such file to load -- sqlite3/sqlite3_native > > I found a solution is to run 'gem install sqlite3-ruby' but that also fails with > > ERROR: While executing gem ... (Gem::FilePermissionError) > You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory. > > I am using a third party web host (Dreamhost) so I can see why I don't > have write permissions there. However I previously installed instiki > 0.18.1 on Dreamhost and it worked. What am I doing wrong? This is a common problem which is why, for the release version of 0.19, I am hoping to use Bundler to manage dependencies like sqlite3-ruby. The trick, in your situation, is to install the gem locally gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor/plugins Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From blurgh123 at gmail.com Thu Sep 23 14:52:28 2010 From: blurgh123 at gmail.com (Steven) Date: Thu, 23 Sep 2010 13:52:28 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> References: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> Message-ID: On Thu, Sep 23, 2010 at 12:29 PM, Jacques Distler wrote: > > On Sep 23, 2010, at 12:22 PM, Jacques Distler wrote: > >> This is a common problem which is why, for the release version of 0.19, I am hoping to use Bundler to manage dependencies like sqlite3-ruby. >> >> The trick, in your situation, is to install the gem locally >> >> ? ?gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor/plugins > > Whoops! > > I should have said > > ? ?gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > I ran the command but this is what I get: Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for sqlite3.h... yes checking for sqlite3_libversion_number() in -lsqlite3... yes checking for rb_proc_arity()... no checking for sqlite3_initialize()... no sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade! *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/lib --with-sqlite3lib --without-sqlite3lib It seems like I have to update sqlite, but I doubt I have the permissions to do so. Is there another workaround? From distler at golem.ph.utexas.edu Thu Sep 23 15:29:07 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Thu, 23 Sep 2010 14:29:07 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: References: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> Message-ID: <9761D104-398D-454B-90AB-19E7036B6A9A@golem.ph.utexas.edu> On Sep 23, 2010, at 1:52 PM, Steven wrote: > On Thu, Sep 23, 2010 at 12:29 PM, Jacques Distler >> Whoops! >> >> I should have said >> >> gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor >> _______________________________________________ > > I ran the command but this is what I get: > > Building native extensions. This could take a while... > ERROR: Error installing sqlite3-ruby: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby1.8 extconf.rb > checking for sqlite3.h... yes > checking for sqlite3_libversion_number() in -lsqlite3... yes > checking for rb_proc_arity()... no > checking for sqlite3_initialize()... no > sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade! > *** extconf.rb failed *** > Could not create Makefile due to some reason, probably lack of > necessary libraries and/or headers. Check the mkmf.log file for more > details. You may need configuration options. > > Provided configuration options: > --with-opt-dir > --without-opt-dir > --with-opt-include > --without-opt-include=${opt-dir}/include > --with-opt-lib > --without-opt-lib=${opt-dir}/lib > --with-make-prog > --without-make-prog > --srcdir=. > --curdir > --ruby=/usr/bin/ruby1.8 > --with-sqlite3-dir > --without-sqlite3-dir > --with-sqlite3-include > --without-sqlite3-include=${sqlite3-dir}/include > --with-sqlite3-lib > --without-sqlite3-lib=${sqlite3-dir}/lib > --with-sqlite3lib > --without-sqlite3lib > > It seems like I have to update sqlite, but I doubt I have the > permissions to do so. Is there another workaround? So Dreamhost has an ancient version of the sqlite3 library, too? It seems you have two options. 1) Hope that Dreamhost has an older version of the sqlite3-ruby gem installed. * Remove the vendor/plugins/sqlite3-ruby directory from your Instiki distribution, and (if Dreamhost does have the gem installed) Instiki will use the gem version instead. 2) Beg Dreahost support to update their sqlite3 library, so that you can install the gem locally (per my previous instructions). Either way, the vendor/plugins/sqlite3-ruby, bundled with the prerelease version of Instiki 0.19, is the source of nothing but trouble, and will be removed from the final distribution. Best, Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From distler at golem.ph.utexas.edu Sat Sep 25 00:33:44 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Fri, 24 Sep 2010 23:33:44 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: <9761D104-398D-454B-90AB-19E7036B6A9A@golem.ph.utexas.edu> References: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> <9761D104-398D-454B-90AB-19E7036B6A9A@golem.ph.utexas.edu> Message-ID: <2C135E2C-F3A4-4990-90AD-6E030C232A43@golem.ph.utexas.edu> On Sep 23, 2010, at 2:29 PM, Jacques Distler wrote: > So Dreamhost has an ancient version of the sqlite3 library, too? > > It seems you have two options. > > 1) Hope that Dreamhost has an older version of the sqlite3-ruby gem installed. > * Remove the vendor/plugins/sqlite3-ruby directory from your Instiki distribution, > and (if Dreamhost does have the gem installed) Instiki will use the gem version instead. > > 2) Beg Dreahost support to update their sqlite3 library, so that you can install the gem > locally (per my previous instructions). > > Either way, the vendor/plugins/sqlite3-ruby, bundled with the prerelease version of Instiki 0.19, is the source of nothing but trouble, and will be removed from the final distribution. I've gone ahead and done this with the latest version http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz The latest version DOES NOT attempt to include a "vendored" version of sqlite3-ruby. Instead, after downloading the latest Instiki, type ruby bundle from the main Instiki directory. This will either use a system-installed sqlite3-ruby gem, or will attempt to install the gem locally, in the Instiki vendor/bundle directory. (Ditto for the other gem dependencies of Instiki, like itextomml.) I've tested this on the machines that I have access to, but if others, with varying hosting situations, want to try it our, and report back any glitches, that would be greatly appreciated. Instiki 0.19 will use Bundler. (I hope to release it, as soon as any Bundler-related glitches are worked out.) Instiki 0.20 will be based on Rails 3.0 (which also uses Bundler, but requires Ruby 1.8.7 or 1.9.2). Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From distler at golem.ph.utexas.edu Sat Sep 25 23:53:39 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Sat, 25 Sep 2010 22:53:39 -0500 Subject: [Instiki] upgrade_instiki problems In-Reply-To: <9761D104-398D-454B-90AB-19E7036B6A9A@golem.ph.utexas.edu> References: <7A2BD8FF-095A-4C73-85D7-61647B549014@golem.ph.utexas.edu> <9BE60E0D-DC49-47D6-B6DE-7813F6FA815A@golem.ph.utexas.edu> <9761D104-398D-454B-90AB-19E7036B6A9A@golem.ph.utexas.edu> Message-ID: <03561769-894B-40EB-ACDE-480F807CBB2A@golem.ph.utexas.edu> Thanks to Steven's perseverance, we've straightened out the installation procedure on Dreamhost. The instructions (not complicated, but not quite "There is no step 3(TM).") can be found at http://golem.ph.utexas.edu/wiki/instiki/show/Hosted+Services Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From distler at golem.ph.utexas.edu Tue Sep 28 16:42:26 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Tue, 28 Sep 2010 15:42:26 -0500 Subject: [Instiki] Instiki 0.19 Message-ID: <60998AB1-5EFE-40D0-93A0-929539BDF75E@golem.ph.utexas.edu> Instiki 0.19 has been released. See the announcement on my blog (and take note of the new installation instructions!): http://golem.ph.utexas.edu/~distler/blog/archives/002282.html You can download the new release from http://rubyforge.org/frs/?group_id=186 Enjoy. Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 254 bytes Desc: This is a digitally signed message part URL: From mwperry at ti.com Wed Sep 29 11:35:48 2010 From: mwperry at ti.com (Perry, Mike) Date: Wed, 29 Sep 2010 10:35:48 -0500 Subject: [Instiki] Instiki 0.19 installation issue Message-ID: <676FD6AA0F002F49B89E70F0C5EFD22C135AACD0AF@dlee04.ent.ti.com> I'm sure that there is a simple solution to this but I'm not seeing it. Any help would be appreciated. I got through the instiki-0.19 installation procedure successfully (I think) but it gets the following error when trying to start: C:\instiki-0.19>ruby.exe script\server -e production :29:in `require': no such file to load -- script/../config/boot (LoadError) from :29:in `require' from script/server:2:in `
' System: Windows XP SP3 C:\instiki-0.19>ruby bundle Using rake (0.8.7) Using abstract (1.0.0) Using erubis (2.6.6) Using gem_plugin (0.2.3) Using itextomml (1.4.2) Using json (1.4.6) Using mongrel (1.2.0.pre2) Using nokogiri (1.4.3.1) Using rubyzip (0.9.4) Using sqlite3-ruby (1.3.1) Using bundler (1.0.0) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. Regards. Michael W. Perry SFAB Probe Systems 903-868-7600 mwperry at ti.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From distler at golem.ph.utexas.edu Wed Sep 29 12:22:35 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Wed, 29 Sep 2010 11:22:35 -0500 Subject: [Instiki] Instiki 0.19 installation issue In-Reply-To: <676FD6AA0F002F49B89E70F0C5EFD22C135AACD0AF@dlee04.ent.ti.com> References: <676FD6AA0F002F49B89E70F0C5EFD22C135AACD0AF@dlee04.ent.ti.com> Message-ID: <7BD08B97-D72A-4702-A6D0-83C8BDB95041@golem.ph.utexas.edu> On Sep 29, 2010, at 10:35 AM, Perry, Mike wrote: > I?m sure that there is a simple solution to this but I?m not seeing it. Any help would be appreciated. > > I got through the instiki-0.19 installation procedure successfully (I think) but it gets the following error when trying to start: > > C:\instiki-0.19>ruby.exe script\server -e production > :29:in `require': no such file to load -- > script/../config/boot (LoadError) > from :29:in `require' > from script/server:2:in `
' Try ruby.exe instiki > System: > Windows XP SP3 > > C:\instiki-0.19>ruby bundle > Using rake (0.8.7) > Using abstract (1.0.0) > Using erubis (2.6.6) > Using gem_plugin (0.2.3) > Using itextomml (1.4.2) > Using json (1.4.6) > Using mongrel (1.2.0.pre2) > Using nokogiri (1.4.3.1) > Using rubyzip (0.9.4) > Using sqlite3-ruby (1.3.1) > Using bundler (1.0.0) > Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem > is installed. > That all looks good. JD -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part URL: From mwperry at ti.com Wed Sep 29 16:53:08 2010 From: mwperry at ti.com (Perry, Mike) Date: Wed, 29 Sep 2010 15:53:08 -0500 Subject: [Instiki] Instiki 0.19 installation issue In-Reply-To: <7BD08B97-D72A-4702-A6D0-83C8BDB95041@golem.ph.utexas.edu> References: <676FD6AA0F002F49B89E70F0C5EFD22C135AACD0AF@dlee04.ent.ti.com> <7BD08B97-D72A-4702-A6D0-83C8BDB95041@golem.ph.utexas.edu> Message-ID: <676FD6AA0F002F49B89E70F0C5EFD22C135AB52F71@dlee04.ent.ti.com> Jacques, Thanks. ruby.exe instiki didn't solve the problem but it did give me an error message indicating it was trying to run some piece from ruby 1.8.6. I removed 1.8.6 but still had the same problem with ruby 1.9.2. I installed 1.8.7 and everything is working now. (Re-installing 1.9.2 may have worked but I haven't tried that yet.) Thanks for your help. Regards. Michael W. Perry SFAB Probe Systems 903-868-7600 mwperry at ti.com -----Original Message----- From: instiki-users-bounces at rubyforge.org [mailto:instiki-users-bounces at rubyforge.org] On Behalf Of Jacques Distler Sent: Wednesday, September 29, 2010 11:23 AM To: Instiki-users Subject: Re: [Instiki] Instiki 0.19 installation issue On Sep 29, 2010, at 10:35 AM, Perry, Mike wrote: > I'm sure that there is a simple solution to this but I'm not seeing it. Any help would be appreciated. > > I got through the instiki-0.19 installation procedure successfully (I think) but it gets the following error when trying to start: > > C:\instiki-0.19>ruby.exe script\server -e production > :29:in `require': no such file to load -- > script/../config/boot (LoadError) > from :29:in `require' > from script/server:2:in `
' Try ruby.exe instiki > System: > Windows XP SP3 > > C:\instiki-0.19>ruby bundle > Using rake (0.8.7) > Using abstract (1.0.0) > Using erubis (2.6.6) > Using gem_plugin (0.2.3) > Using itextomml (1.4.2) > Using json (1.4.6) > Using mongrel (1.2.0.pre2) > Using nokogiri (1.4.3.1) > Using rubyzip (0.9.4) > Using sqlite3-ruby (1.3.1) > Using bundler (1.0.0) > Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem > is installed. > That all looks good. JD From distler at golem.ph.utexas.edu Wed Sep 29 17:04:11 2010 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Wed, 29 Sep 2010 16:04:11 -0500 Subject: [Instiki] Instiki 0.19 installation issue In-Reply-To: <676FD6AA0F002F49B89E70F0C5EFD22C135AB52F71@dlee04.ent.ti.com> References: <676FD6AA0F002F49B89E70F0C5EFD22C135AACD0AF@dlee04.ent.ti.com> <7BD08B97-D72A-4702-A6D0-83C8BDB95041@golem.ph.utexas.edu> <676FD6AA0F002F49B89E70F0C5EFD22C135AB52F71@dlee04.ent.ti.com> Message-ID: <75173E2D-51F2-4B57-821F-D758EE50E837@golem.ph.utexas.edu> On Sep 29, 2010, at 3:53 PM, Perry, Mike wrote: > Jacques, > > Thanks. ruby.exe instiki didn't solve the problem but it did give me an error message indicating it was trying to run some piece from ruby 1.8.6. I removed 1.8.6 but still had the same problem with ruby 1.9.2. > > I installed 1.8.7 and everything is working now. (Re-installing 1.9.2 may have worked but I haven't tried that yet.) Thanks for your help. > I'm not familiar with how multiple Ruby versions are managed on Windows. But Instiki/Bundler maintains separate trees for the Ruby 1.8.x and Ruby 1.9.x versions of the Rubygems. So, if you ditch Ruby 1.8.7, in favour of 1.9.2, you'll have to rerun ruby bundle to install the 1.9.x versions of the gems. Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part URL: