[MonetDB-users] LC_ALL=C in monetdb-install.sh breaks RDoc
Hello, all! I did the following on an Arch Linux yystem: MonetDB-Oct2010-SuperBall-SP1> ./monetdb-install.sh --enable-xquery ... make[8]: Entering directory `/var/tmp/MonetDB-1299754542/MonetDB-client/clients/ src/ruby/adapter' mkdir -p /home/myuser/MonetDB/lib/ruby/gems/1.9.1 gem install --local --install-dir /home/myuser/MonetDB/lib/ruby/gems/1.9.1 --forc e --rdoc activerecord-monetdb-adapter-0.1.gem ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+2019 from UTF-8 to US-ASCII Successfully installed activerecord-monetdb-adapter-0.1 1 gem installed Installing ri documentation for activerecord-monetdb-adapter-0.1... Installing RDoc documentation for activerecord-monetdb-adapter-0.1... make[8]: *** [install-exec-local-activerecord-monetdb-adapter-0_1_gemspec] Error 1 ... Setting LC_ALL to UTF-8 fixes my problem. --- monetdb-install.sh.orig 2011-03-10 13:34:58.000000000 +0200 +++ monetdb-install.sh 2011-03-10 13:35:05.000000000 +0200 @@ -108,7 +108,7 @@ : ${FETCHCOMMAND:="wget --progress=dot:mega -t 5 --passive-ftp -O \"\${FILE}\" \"\${URI}\""} # make sure we get English error messages and so on -export LC_ALL=C +export LC_ALL="en_US.UTF-8" # parse command line options ORGARG=$*
On Thu, Mar 10, 2011 at 12:38 PM, Lazaros Koromilas
I did the following on an Arch Linux yystem:
Which version of rubygems and RDoc have you installed? RDoc 3 transcodes to the console encoding by default. You can override the default by setting the RDOCOPT environment variable "--encoding UTF-8". Cheers, -- Gabriele
On Thu, Mar 10, 2011 at 5:49 PM, Gabriele Modena
On Thu, Mar 10, 2011 at 12:38 PM, Lazaros Koromilas
wrote: Hi Lazaros,
I did the following on an Arch Linux yystem:
Which version of rubygems and RDoc have you installed?
RDoc 3 transcodes to the console encoding by default. You can override the default by setting the RDOCOPT environment variable "--encoding UTF-8".
$ ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux] $ gem -v 1.3.7 $ ri -v ri 2.5.8 $ head /usr/bin/rdoc #!/usr/bin/ruby # # RDoc: Documentation tool for source code # (see lib/rdoc/rdoc.rb for more information) # # Copyright (c) 2003 Dave Thomas # Released under the same terms as Ruby # # $Revision: 27147 $ OK. Didn't know how to override it, but the propper place to do this is a Makefile or install script I suppose. Thanks, Lazaros.
Cheers, -- Gabriele
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On Fri, Mar 18, 2011 at 3:56 PM, Lazaros Koromilas
On Thu, Mar 10, 2011 at 5:49 PM, Gabriele Modena
wrote: On Thu, Mar 10, 2011 at 12:38 PM, Lazaros Koromilas
wrote: Hi Lazaros,
I did the following on an Arch Linux yystem:
Which version of rubygems and RDoc have you installed?
RDoc 3 transcodes to the console encoding by default. You can override the default by setting the RDOCOPT environment variable "--encoding UTF-8".
$ ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux] $ gem -v 1.3.7 $ ri -v ri 2.5.8 $ head /usr/bin/rdoc #!/usr/bin/ruby # # RDoc: Documentation tool for source code # (see lib/rdoc/rdoc.rb for more information) # # Copyright (c) 2003 Dave Thomas # Released under the same terms as Ruby # # $Revision: 27147 $
Found RDoc version: $ gem list | grep rdoc rdoc (3.5.1, 2.5.11, 2.5.8)
OK. Didn't know how to override it, but the propper place to do this is a Makefile or install script I suppose.
Thanks, Lazaros.
Cheers, -- Gabriele
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Gabriele Modena
-
Lazaros Koromilas