From ke.han at redstarling.com Sat Jul 1 15:38:54 2006 From: ke.han at redstarling.com (ke han) Date: Sat Jul 1 15:39:02 2006 Subject: [Locomotive-users] how to ensure my rails app is using locomotive?? Message-ID: <52EA0848-4925-4BB9-8DFB-2E54BD17D2E0@redstarling.com> I have installed loco. Seems nice. I am running what seems to be a new rails project from loco and indeed I can right click on the Preview in Browser from loco and get the default rails project page. However, before I installed loco (before I knew about it)..I followed some instructions on fixing the OS X ruby install for rails. Now, I want to ensure my other Ruby and rails install will never get used...I only want loco to get used. Any ideas on how I can either uninstall the other ruby stuff or verify that my app is only using loco?? Also, I see when I start/stop my app from the loco UI, that loco starts/stops 1 lighttpd process and 2 ruby processes (as seen with top). Why 2 ruby processes? thanks, ke han From ryan.raaum at gmail.com Sat Jul 1 18:00:38 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Jul 1 18:00:44 2006 Subject: [Locomotive-users] how to ensure my rails app is using locomotive?? In-Reply-To: <52EA0848-4925-4BB9-8DFB-2E54BD17D2E0@redstarling.com> References: <52EA0848-4925-4BB9-8DFB-2E54BD17D2E0@redstarling.com> Message-ID: Hi, On 7/1/06, ke han wrote: > > I have installed loco. Seems nice. I am running what seems to be a > new rails project from loco and indeed I can right click on the > Preview in Browser from loco and get the default rails project page. > However, before I installed loco (before I knew about it)..I followed > some instructions on fixing the OS X ruby install for rails. Now, I > want to ensure my other Ruby and rails install will never get > used...I only want loco to get used. > Any ideas on how I can either uninstall the other ruby stuff or > verify that my app is only using loco?? If things are working properly, it almost has to be using the Locomotive bundle ruby. A number of environment variables pointing to parts of the bundle are set when running from Locomotive and things would probably not be working very well if somehow your local ruby got called. As far as I know, there's no way to undo the system ruby "fix". You can uninstall the gems you have there if you want. ( 'gem list --local' from a normal shell to see what you have there and then 'gem uninstall ' ) Also, I see when I start/stop my app from the loco UI, that loco > starts/stops 1 lighttpd process and 2 ruby processes (as seen with > top). Why 2 ruby processes? The default lighttpd config in Locomotive starts two fastcgi listeners (the 2 ruby processes). You need more than 1 fastcgi process if you want to be able to upload files. Best, -r thanks, ke han > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060701/2262eac3/attachment.htm From steve at talcottsystems.com Mon Jul 3 17:49:57 2006 From: steve at talcottsystems.com (Steven Talcott Smith) Date: Mon Jul 3 17:50:09 2006 Subject: [Locomotive-users] where to deposit extension library? Message-ID: Hi -- I am trying to deposit an extension library for TrustCommerce (TCLink) into my Locomotive installation. Where does it go? I tried putting it here: /Applications/Locomotive2/Bundles/ rails112.locobundle/i386/lib/ruby/1.8/ But that did not work. -Steven From ryan.raaum at gmail.com Mon Jul 3 18:08:03 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Jul 3 18:08:08 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: References: Message-ID: Hi Steven, If it's a pure ruby library, you should be able to drop it into your rails application's /lib directory (and then require it in your model or wherever). What information does TrustCommerce provide about it? (I looked at the site, but it seems that they make you register before telling you anything relevant...) Best, -r On 7/3/06, Steven Talcott Smith wrote: > Hi -- > > I am trying to deposit an extension library for TrustCommerce > (TCLink) into my Locomotive installation. Where does it go? > > I tried putting it here: /Applications/Locomotive2/Bundles/ > rails112.locobundle/i386/lib/ruby/1.8/ > > But that did not work. > > > -Steven > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X From steve at talcottsystems.com Mon Jul 3 18:23:44 2006 From: steve at talcottsystems.com (Steven Talcott Smith) Date: Mon Jul 3 18:23:58 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: References: Message-ID: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> Ryan, Thanks for responding. The TCLink library is a .so (supposedly -- although I only got it to spit out a .o -- I emailed their support about it) that is built from a download on their site. It is tiny so I have attached it here. I had to build it outside in the Mac OS X Ruby because in the Locomotive Ruby it complained about not finding things in your home directory /Users/ryan/... The test ran successfully in Ruby so it must be installable from the .o... Any recommendations? Steven The README says the following: > IV. BUILDING > > At the root directory of this archive, execute the following: > > ./build.sh > > If the module builds without errors, test it with this command: > > ruby tctest.rb > > This script will run a test transaction and print the results. > > > V. INSTALLATION > > If you have root access to the machine, you will probably want to > install TCLink as a global extension. You can do this by copying the > extension library (tclink.so) to your Ruby extensions directory, which > is typically somewhere under /usr/lib/ruby, such as > /usr/lib/ruby/1.6/i386-linux. > > If you can't or don't want to install the module system wide, you > can > still use in a script by adding an absolute or relative path to the > require 'tclink' invocation. For example: > > require '/home/user/tclink' -------------- next part -------------- A non-text attachment was scrubbed... Name: tclink-3.4.2-ruby.tar.gz Type: application/x-gzip Size: 20644 bytes Desc: not available Url : http://one.textdrive.com/pipermail/locomotive-users/attachments/20060703/ea2e3971/tclink-3.4.2-ruby.tar-0001.bin -------------- next part -------------- On Jul 3, 2006, at 2:08 PM, Ryan Raaum wrote: > Hi Steven, > > If it's a pure ruby library, you should be able to drop it into your > rails application's /lib directory (and then require it in your model > or wherever). > > What information does TrustCommerce provide about it? (I looked at > the site, but it seems that they make you register before telling you > anything relevant...) > > Best, > > -r > > On 7/3/06, Steven Talcott Smith wrote: >> Hi -- >> >> I am trying to deposit an extension library for TrustCommerce >> (TCLink) into my Locomotive installation. Where does it go? >> >> I tried putting it here: /Applications/Locomotive2/Bundles/ >> rails112.locobundle/i386/lib/ruby/1.8/ >> >> But that did not work. >> >> >> -Steven >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users >> > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > From ryan.raaum at gmail.com Tue Jul 4 00:08:01 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Jul 4 00:08:06 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> References: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> Message-ID: Hi Steven, Unfortunately I haven't found a workaround to successfully compile the TCLink library in the Locomotive environment... but maybe your alternately compiled one will work. You need to copy the 'tclink.bundle' file into: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- darwin8.6.1/ and _perhaps_ it will work then... In any case, I'll continue to work on the problems you've identified and try to come up with a solution... Best, -r On 7/3/06, Steven Talcott Smith wrote: > > Ryan, > > Thanks for responding. The TCLink library is a .so (supposedly -- > although I only got it to spit out a .o -- I emailed their support > about it) that is built from a download on their site. It is tiny so > I have attached it here. I had to build it outside in the Mac OS X > Ruby because in the Locomotive Ruby it complained about not finding > things in your home directory /Users/ryan/... The test ran > successfully in Ruby so it must be installable from the .o... > > Any recommendations? > > Steven > > The README says the following: > > > IV. BUILDING > > > > At the root directory of this archive, execute the following: > > > > ./build.sh > > > > If the module builds without errors, test it with this command: > > > > ruby tctest.rb > > > > This script will run a test transaction and print the results. > > > > > > V. INSTALLATION > > > > If you have root access to the machine, you will probably want to > > install TCLink as a global extension. You can do this by copying the > > extension library (tclink.so) to your Ruby extensions directory, which > > is typically somewhere under /usr/lib/ruby, such as > > /usr/lib/ruby/1.6/i386-linux. > > > > If you can't or don't want to install the module system wide, you > > can > > still use in a script by adding an absolute or relative path to the > > require 'tclink' invocation. For example: > > > > require '/home/user/tclink' > > > > > > > On Jul 3, 2006, at 2:08 PM, Ryan Raaum wrote: > > > Hi Steven, > > > > If it's a pure ruby library, you should be able to drop it into your > > rails application's /lib directory (and then require it in your model > > or wherever). > > > > What information does TrustCommerce provide about it? (I looked at > > the site, but it seems that they make you register before telling you > > anything relevant...) > > > > Best, > > > > -r > > > > On 7/3/06, Steven Talcott Smith wrote: > >> Hi -- > >> > >> I am trying to deposit an extension library for TrustCommerce > >> (TCLink) into my Locomotive installation. Where does it go? > >> > >> I tried putting it here: /Applications/Locomotive2/Bundles/ > >> rails112.locobundle/i386/lib/ruby/1.8/ > >> > >> But that did not work. > >> > >> > >> -Steven > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > >> > > > > > > -- > > Ryan Raaum > > http://www.anthro.ufl.edu - Molecular Anthropology, University of > > Florida > > http://locomotive.raaum.org -- Self contained one-click Rails for > > Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060704/05c606b3/attachment.htm From steve at talcottsystems.com Tue Jul 4 00:17:42 2006 From: steve at talcottsystems.com (Steven Talcott Smith) Date: Tue Jul 4 00:17:54 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: References: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> Message-ID: <742858EB-F56C-41E7-B630-5484F01DE423@talcottsystems.com> Sweet -- Thanks, Ryan. It worked. BTW: What do I need to think about with respect to running Locomotive in production? Is anyone doing this on a site of any significance? Steven On Jul 3, 2006, at 8:08 PM, Ryan Raaum wrote: > Hi Steven, > > Unfortunately I haven't found a workaround to successfully compile > the TCLink library in the Locomotive environment... but maybe your > alternately compiled one will work. You need to copy the > 'tclink.bundle ' file into: > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > 1.8/i686-darwin8.6.1/ > > and _perhaps_ it will work then... > > In any case, I'll continue to work on the problems you've > identified and try to come up with a solution... > > Best, > > -r > > On 7/3/06, Steven Talcott Smith wrote: > Ryan, > > Thanks for responding. The TCLink library is a .so (supposedly -- > although I only got it to spit out a .o -- I emailed their support > about it) that is built from a download on their site. It is tiny so > I have attached it here. I had to build it outside in the Mac OS X > Ruby because in the Locomotive Ruby it complained about not finding > things in your home directory /Users/ryan/... The test ran > successfully in Ruby so it must be installable from the .o... > > Any recommendations? > > Steven > > The README says the following: > > > IV. BUILDING > > > > At the root directory of this archive, execute the following: > > > > ./build.sh > > > > If the module builds without errors, test it with this command: > > > > ruby tctest.rb > > > > This script will run a test transaction and print the results. > > > > > > V. INSTALLATION > > > > If you have root access to the machine, you will probably want to > > install TCLink as a global extension. You can do this by copying > the > > extension library (tclink.so) to your Ruby extensions directory, > which > > is typically somewhere under /usr/lib/ruby, such as > > /usr/lib/ruby/1.6/i386-linux. > > > > If you can't or don't want to install the module system wide, you > > can > > still use in a script by adding an absolute or relative path to the > > require 'tclink' invocation. For example: > > > > require '/home/user/tclink' > > > > > > > On Jul 3, 2006, at 2:08 PM, Ryan Raaum wrote: > > > Hi Steven, > > > > If it's a pure ruby library, you should be able to drop it into your > > rails application's /lib directory (and then require it in your > model > > or wherever). > > > > What information does TrustCommerce provide about it? (I looked at > > the site, but it seems that they make you register before telling > you > > anything relevant...) > > > > Best, > > > > -r > > > > On 7/3/06, Steven Talcott Smith wrote: > >> Hi -- > >> > >> I am trying to deposit an extension library for TrustCommerce > >> (TCLink) into my Locomotive installation. Where does it go? > >> > >> I tried putting it here: /Applications/Locomotive2/Bundles/ > >> rails112.locobundle/i386/lib/ruby/1.8/ > >> > >> But that did not work. > >> > >> > >> -Steven > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > >> > > > > > > -- > > Ryan Raaum > > http://www.anthro.ufl.edu - Molecular Anthropology, University of > > Florida > > http://locomotive.raaum.org -- Self contained one-click Rails for > > Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060704/1cd1f265/attachment.htm From steve at talcottsystems.com Tue Jul 4 00:43:01 2006 From: steve at talcottsystems.com (Steven Talcott Smith) Date: Tue Jul 4 00:43:14 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: References: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> Message-ID: Ryan, After installing the tclink.bundle -- my Rails env seems hosed. I ran the tctest.rb and that worked okay but now rake migrate is broken. steve@sprezzatura ~/Development/MyApp/db/load> rake migrate (in /Users/steve/Development/MyApp) /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ 1.8/i686-darwin8.6.1/tclink.bundle: [BUG] Bus Error ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1] Abort trap I removed tclink.bundle and it worked. Hmmm. Perhaps it really must be compiled in the Locomotive env? Steven On Jul 3, 2006, at 8:08 PM, Ryan Raaum wrote: > Hi Steven, > > Unfortunately I haven't found a workaround to successfully compile > the TCLink library in the Locomotive environment... but maybe your > alternately compiled one will work. You need to copy the > 'tclink.bundle ' file into: > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > 1.8/i686-darwin8.6.1/ > > and _perhaps_ it will work then... > > In any case, I'll continue to work on the problems you've > identified and try to come up with a solution... > > Best, > > -r > > On 7/3/06, Steven Talcott Smith wrote: > Ryan, > > Thanks for responding. The TCLink library is a .so (supposedly -- > although I only got it to spit out a .o -- I emailed their support > about it) that is built from a download on their site. It is tiny so > I have attached it here. I had to build it outside in the Mac OS X > Ruby because in the Locomotive Ruby it complained about not finding > things in your home directory /Users/ryan/... The test ran > successfully in Ruby so it must be installable from the .o... > > Any recommendations? > > Steven > > The README says the following: > > > IV. BUILDING > > > > At the root directory of this archive, execute the following: > > > > ./build.sh > > > > If the module builds without errors, test it with this command: > > > > ruby tctest.rb > > > > This script will run a test transaction and print the results. > > > > > > V. INSTALLATION > > > > If you have root access to the machine, you will probably want to > > install TCLink as a global extension. You can do this by copying > the > > extension library (tclink.so) to your Ruby extensions directory, > which > > is typically somewhere under /usr/lib/ruby, such as > > /usr/lib/ruby/1.6/i386-linux. > > > > If you can't or don't want to install the module system wide, you > > can > > still use in a script by adding an absolute or relative path to the > > require 'tclink' invocation. For example: > > > > require '/home/user/tclink' > > > > > > > On Jul 3, 2006, at 2:08 PM, Ryan Raaum wrote: > > > Hi Steven, > > > > If it's a pure ruby library, you should be able to drop it into your > > rails application's /lib directory (and then require it in your > model > > or wherever). > > > > What information does TrustCommerce provide about it? (I looked at > > the site, but it seems that they make you register before telling > you > > anything relevant...) > > > > Best, > > > > -r > > > > On 7/3/06, Steven Talcott Smith wrote: > >> Hi -- > >> > >> I am trying to deposit an extension library for TrustCommerce > >> (TCLink) into my Locomotive installation. Where does it go? > >> > >> I tried putting it here: /Applications/Locomotive2/Bundles/ > >> rails112.locobundle/i386/lib/ruby/1.8/ > >> > >> But that did not work. > >> > >> > >> -Steven > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > >> > > > > > > -- > > Ryan Raaum > > http://www.anthro.ufl.edu - Molecular Anthropology, University of > > Florida > > http://locomotive.raaum.org -- Self contained one-click Rails for > > Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060704/0d481cca/attachment-0001.htm From ryan.raaum at gmail.com Tue Jul 4 00:46:35 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Jul 4 00:46:41 2006 Subject: [Locomotive-users] where to deposit extension library? In-Reply-To: References: <27612F10-61A0-4307-A12D-E39C1CA53085@talcottsystems.com> Message-ID: On 7/3/06, Steven Talcott Smith wrote: > > Ryan, > > After installing the tclink.bundle -- my Rails env seems hosed. I ran the > tctest.rb and that worked okay but now rake migrate is broken. > Bummer. > steve@sprezzatura ~/Development/MyApp/db/load> rake migrate > (in /Users/steve/Development/MyApp) > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/tclink.bundle: [BUG] Bus Error > ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1] > > Abort trap > > I removed tclink.bundle and it worked. > > Hmmm. Perhaps it really must be compiled in the Locomotive env? > Does seem that way. I may be able to offer you a very ugly hack solution - but I'm still working on it. I'll get back to you. Best, -r Steven > > > On Jul 3, 2006, at 8:08 PM, Ryan Raaum wrote: > > Hi Steven, > > Unfortunately I haven't found a workaround to successfully compile the > TCLink library in the Locomotive environment... but maybe your alternately > compiled one will work. You need to copy the 'tclink.bundle ' file into: > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/ > > and _perhaps_ it will work then... > > In any case, I'll continue to work on the problems you've identified and > try to come up with a solution... > > Best, > > -r > > On 7/3/06, Steven Talcott Smith wrote: > > > > Ryan, > > > > Thanks for responding. The TCLink library is a .so (supposedly -- > > although I only got it to spit out a .o -- I emailed their support > > about it) that is built from a download on their site. It is tiny so > > I have attached it here. I had to build it outside in the Mac OS X > > Ruby because in the Locomotive Ruby it complained about not finding > > things in your home directory /Users/ryan/... The test ran > > successfully in Ruby so it must be installable from the .o... > > > > Any recommendations? > > > > Steven > > > > The README says the following: > > > > > IV. BUILDING > > > > > > At the root directory of this archive, execute the following: > > > > > > ./build.sh > > > > > > If the module builds without errors, test it with this command: > > > > > > ruby tctest.rb > > > > > > This script will run a test transaction and print the results. > > > > > > > > > V. INSTALLATION > > > > > > If you have root access to the machine, you will probably want to > > > install TCLink as a global extension. You can do this by copying the > > > extension library (tclink.so) to your Ruby extensions directory, which > > > > > is typically somewhere under /usr/lib/ruby, such as > > > /usr/lib/ruby/1.6/i386-linux. > > > > > > If you can't or don't want to install the module system wide, you > > > can > > > still use in a script by adding an absolute or relative path to the > > > require 'tclink' invocation. For example: > > > > > > require '/home/user/tclink' > > > > > > > > > > > > > > On Jul 3, 2006, at 2:08 PM, Ryan Raaum wrote: > > > > > Hi Steven, > > > > > > If it's a pure ruby library, you should be able to drop it into your > > > rails application's /lib directory (and then require it in your model > > > or wherever). > > > > > > What information does TrustCommerce provide about it? (I looked at > > > the site, but it seems that they make you register before telling you > > > anything relevant...) > > > > > > Best, > > > > > > -r > > > > > > On 7/3/06, Steven Talcott Smith wrote: > > >> Hi -- > > >> > > >> I am trying to deposit an extension library for TrustCommerce > > >> (TCLink) into my Locomotive installation. Where does it go? > > >> > > >> I tried putting it here: /Applications/Locomotive2/Bundles/ > > >> rails112.locobundle/i386/lib/ruby/1.8/ > > >> > > >> But that did not work. > > >> > > >> > > >> -Steven > > >> _______________________________________________ > > >> Locomotive-users mailing list > > >> Locomotive-users@lists.raaum.org > > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > > >> > > > > > > > > > -- > > > Ryan Raaum > > > http://www.anthro.ufl.edu - Molecular Anthropology, University of > > > Florida > > > http://locomotive.raaum.org -- Self contained one-click Rails for > > > Mac OS X > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060704/b254136a/attachment.htm From loriolson at mac.com Wed Jul 5 21:45:24 2006 From: loriolson at mac.com (Lori M Olson) Date: Wed Jul 5 21:45:32 2006 Subject: [Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle Message-ID: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> Hi, New to the list. I am trying to customize the Rails+RMagick bundle to include the Oracle OCI8 driver. After working through some issues with gcc, I finally have the OCI8 bundle installed, but when I run, I get an NSLinkModule error on the Oracle library when I run script/ server. I have successfully run script/server after manually adjusting the DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client libraries. But I need to know how to automate this, so I can run the server from the Locomotive interface. After reading the help and searching this list, I decided that adding an environment.plist file via the environment setting in locomotive.yml would probably work. But it did not work, and the DYLD_FALLBACK_LIBRARY_PATH remains unchanged. Is it only the PATH that can be modified in this way, and not the DYLD_FALLBACK_LIBRARY_PATH? Can I get some guidance here? Is the environment.plist file the right way to go? If so, can anyone provide a working example file? If not, what else should I be trying? Thanks, Lori From ryan.raaum at gmail.com Wed Jul 5 22:16:17 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 5 22:16:23 2006 Subject: [Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle In-Reply-To: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> References: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> Message-ID: Hi Lori, There's an environment.plist file in the bundle that you can add to. (Sorry about the complete lack of documentation!) -r On 7/5/06, Lori M Olson wrote: > > Hi, > > New to the list. I am trying to customize the Rails+RMagick bundle > to include the Oracle OCI8 driver. After working through some issues > with gcc, I finally have the OCI8 bundle installed, but when I run, I > get an NSLinkModule error on the Oracle library when I run script/ > server. > > I have successfully run script/server after manually adjusting the > DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client > libraries. But I need to know how to automate this, so I can run the > server from the Locomotive interface. > > After reading the help and searching this list, I decided that adding > an environment.plist file via the environment setting in > locomotive.yml would probably work. But it did not work, and the > DYLD_FALLBACK_LIBRARY_PATH remains unchanged. Is it only the PATH > that can be modified in this way, and not the > DYLD_FALLBACK_LIBRARY_PATH? > > Can I get some guidance here? Is the environment.plist file the > right way to go? If so, can anyone provide a working example file? > If not, what else should I be trying? > > Thanks, > > Lori > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060705/4357f341/attachment.htm From loriolson at mac.com Wed Jul 5 22:57:30 2006 From: loriolson at mac.com (Lori M Olson) Date: Wed Jul 5 22:57:40 2006 Subject: [Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle In-Reply-To: References: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> Message-ID: <75BD58C3-EDD6-4D36-B783-3B8C546CBA6A@mac.com> Ok, that worked. Thanks. Next problem... I copied the customized bundle to a second machine, and tried running my application from Locomotive, and now when RMagick is referenced in my application I get: dyld: NSLinkModule() error dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib Referenced from: /Users/lori/Applications/Locomotive2/Bundles/ rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/ powerpc-darwin7.9.0/RMagick.bundle Reason: image not found Trace/BPT trap Ideas? Lori On 5-Jul-06, at 4:16 PM, Ryan Raaum wrote: > Hi Lori, > > There's an environment.plist file in the bundle that you can add > to. (Sorry about the complete lack of documentation!) > > -r > > On 7/5/06, Lori M Olson wrote: Hi, > > New to the list. I am trying to customize the Rails+RMagick bundle > to include the Oracle OCI8 driver. After working through some issues > with gcc, I finally have the OCI8 bundle installed, but when I run, I > get an NSLinkModule error on the Oracle library when I run script/ > server. > > I have successfully run script/server after manually adjusting the > DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client > libraries. But I need to know how to automate this, so I can run the > server from the Locomotive interface. > > After reading the help and searching this list, I decided that adding > an environment.plist file via the environment setting in > locomotive.yml would probably work. But it did not work, and the > DYLD_FALLBACK_LIBRARY_PATH remains unchanged. Is it only the PATH > that can be modified in this way, and not the > DYLD_FALLBACK_LIBRARY_PATH? > > Can I get some guidance here? Is the environment.plist file the > right way to go? If so, can anyone provide a working example file? > If not, what else should I be trying? > > Thanks, > > Lori > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From geoff at geoffdougherty.com Thu Jul 6 00:47:09 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Thu Jul 6 00:47:16 2006 Subject: [Locomotive-users] css changes and models/xxx.rb changes not taking effect Message-ID: Hi all. I'm working my way thru the shopping cart example in Agile Web Development for Rails. My app is picking up the db tables correctly and I can create/update/delete. However, I've made some changes to my app/models/product.rb file to validate data input, and to the stylesheet and views/admin/list.rhtml file to style the data, but those changes aren't taking effect. I've tried restarting locomotive and my app, and don't see anything in the error logs. Any help would be appreciated. From ryan.raaum at gmail.com Thu Jul 6 03:18:08 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 6 03:18:12 2006 Subject: [Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle In-Reply-To: <75BD58C3-EDD6-4D36-B783-3B8C546CBA6A@mac.com> References: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> <75BD58C3-EDD6-4D36-B783-3B8C546CBA6A@mac.com> Message-ID: Hi Lori, On 7/5/06, Lori M Olson wrote: > > Ok, that worked. Thanks. Next problem... I copied the customized > bundle to a second machine, and tried running my application from > Locomotive, and now when RMagick is referenced in my application I get: > > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib > Referenced from: /Users/lori/Applications/Locomotive2/Bundles/ > rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/ > powerpc-darwin7.9.0/RMagick.bundle > Reason: image not found > Trace/BPT trap > > Ideas? Again, running into the total lack of documentation. You need to have X11 installed (either from your install DVD or download from Apple). Best, -r Lori > > On 5-Jul-06, at 4:16 PM, Ryan Raaum wrote: > > > Hi Lori, > > > > There's an environment.plist file in the bundle that you can add > > to. (Sorry about the complete lack of documentation!) > > > > -r > > > > On 7/5/06, Lori M Olson wrote: Hi, > > > > New to the list. I am trying to customize the Rails+RMagick bundle > > to include the Oracle OCI8 driver. After working through some issues > > with gcc, I finally have the OCI8 bundle installed, but when I run, I > > get an NSLinkModule error on the Oracle library when I run script/ > > server. > > > > I have successfully run script/server after manually adjusting the > > DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client > > libraries. But I need to know how to automate this, so I can run the > > server from the Locomotive interface. > > > > After reading the help and searching this list, I decided that adding > > an environment.plist file via the environment setting in > > locomotive.yml would probably work. But it did not work, and the > > DYLD_FALLBACK_LIBRARY_PATH remains unchanged. Is it only the PATH > > that can be modified in this way, and not the > > DYLD_FALLBACK_LIBRARY_PATH? > > > > Can I get some guidance here? Is the environment.plist file the > > right way to go? If so, can anyone provide a working example file? > > If not, what else should I be trying? > > > > Thanks, > > > > Lori > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > -- > > Ryan Raaum > > http://www.anthro.ufl.edu - Molecular Anthropology, University of > > Florida > > http://locomotive.raaum.org -- Self contained one-click Rails for > > Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060706/03f92613/attachment.htm From ryan.raaum at gmail.com Thu Jul 6 03:20:43 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 6 03:20:46 2006 Subject: [Locomotive-users] css changes and models/xxx.rb changes not taking effect In-Reply-To: References: Message-ID: Hi, On 7/5/06, Geoff Dougherty wrote: > > Hi all. > > I'm working my way thru the shopping cart example in Agile Web > Development for Rails. My app is picking up the db tables correctly > and I can create/update/delete. However, I've made some changes to my > app/models/product.rb file to validate data input, and to the > stylesheet and views/admin/list.rhtml file to style the data, but > those changes aren't taking effect. I've tried restarting locomotive > and my app, and don't see anything in the error logs. > > Any help would be appreciated. How/where are you loading in the stylesheet? Do you have a snippet from your layout to show? Also, do you have a snippet of your model changes that you could show? Best, -r _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060706/ce12b7b0/attachment-0001.htm From geoff at geoffdougherty.com Thu Jul 6 03:23:17 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Thu Jul 6 03:23:23 2006 Subject: [Locomotive-users] css changes and models/xxx.rb changes not taking effect In-Reply-To: References: Message-ID: Everyone please feel free to ignore this question. Sometimes if you drink a cup of coffee and ponder a bit, things become clear. On Jul 5, 2006, at 7:47 PM, Geoff Dougherty wrote: > Hi all. > > I'm working my way thru the shopping cart example in Agile Web > Development for Rails. My app is picking up the db tables correctly > and I can create/update/delete. However, I've made some changes to > my app/models/product.rb file to validate data input, and to the > stylesheet and views/admin/list.rhtml file to style the data, but > those changes aren't taking effect. I've tried restarting > locomotive and my app, and don't see anything in the error logs. > > Any help would be > appreciated._______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From loriolson at mac.com Thu Jul 6 17:31:50 2006 From: loriolson at mac.com (Lori M Olson) Date: Thu Jul 6 17:32:00 2006 Subject: [Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle In-Reply-To: References: <71B5AC60-3BD0-429D-B6AE-20BCFF1A3334@mac.com> <75BD58C3-EDD6-4D36-B783-3B8C546CBA6A@mac.com> Message-ID: On 5-Jul-06, at 9:18 PM, Ryan Raaum wrote: > Hi Lori, > > On 7/5/06, Lori M Olson wrote: Ok, that > worked. Thanks. Next problem... I copied the customized > bundle to a second machine, and tried running my application from > Locomotive, and now when RMagick is referenced in my application I > get: > > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib > Referenced from: /Users/lori/Applications/Locomotive2/Bundles/ > rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/ > powerpc-darwin7.9.0/RMagick.bundle > Reason: image not found > Trace/BPT trap > > Ideas? > > Again, running into the total lack of documentation. You need to > have X11 installed (either from your install DVD or download from > Apple). > > Best, > > -r > That did the trick. I was doing something I figured was pretty iffy, but it all seems to be working now, so I'll just be happy. I've been able to take a Rails+RMagick PPC bundle, customize it to add Oracle OCI8 using my Powerbook (my personal machine), and then copy the bundle to my Intel iMac (my work machine) and run it in Locomotive through the magic of Rosetta. Since Oracle only has PPC libraries for their driver, I needed to have an entirely PPC-based Rails stack to run with. Locomotive to the rescue! Thanks for the speedy answers! Lori From bjoern at lauschmusik.de Fri Jul 7 07:37:07 2006 From: bjoern at lauschmusik.de (=?ISO-8859-1?Q?Bj=F6rn_Wolf?=) Date: Fri Jul 7 07:37:24 2006 Subject: [Locomotive-users] Locomotive, Lighty and require Message-ID: <004A5649-1753-4730-B6FC-ECEC05206A38@lauschmusik.de> Hi there, i have a problem running one of my application with locomotive on lighty. In the environment.rb i require additional libraries via: --<< require 'lib/glue/generator/base' -->> at the end of the environment configuration. On lighty the application throws a "500 - Internal Application Error" but on webrick everything works as expected. I temporarily fixed this by extending this line: --<< require RAILS_ROOT + '/lib/glue/generator/base' -->> which explicitly sets the context path for the require function. So my question is whether this problem is related to lighty in locomotive (i dont have installed a standalone lighty yet), to the locomotive environment paths or maybe the custom_require function? The console throws following stack trace: --<< /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- /lib/glue/generator/base (MissingSourceFile) from /Applications/Locomotive2/Bundles/rails112.locobundle/ powerpc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/ powerpc/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ dependencies.rb:147:in `require' from /Users/bjoern/Projekte/glue/Entwicklung/public/../ config/environment.rb:54 from /Users/bjoern/Projekte/glue/Entwicklung/public/ dispatch.fcgi:21 -->> So any idea whats going wrong here? Many thanks! Greetings bjoern -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2425 bytes Desc: not available Url : http://one.textdrive.com/pipermail/locomotive-users/attachments/20060707/de7b80d2/smime.bin From ryan.raaum at gmail.com Fri Jul 7 15:24:34 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Jul 7 15:24:41 2006 Subject: [Locomotive-users] Locomotive, Lighty and require In-Reply-To: <004A5649-1753-4730-B6FC-ECEC05206A38@lauschmusik.de> References: <004A5649-1753-4730-B6FC-ECEC05206A38@lauschmusik.de> Message-ID: Hi, On 7/7/06, Bj?rn Wolf wrote: > Hi there, > > i have a problem running one of my application with locomotive on > lighty. In the environment.rb i require additional libraries via: > > --<< > require 'lib/glue/generator/base' > -->> > > at the end of the environment configuration. On lighty the > application throws a "500 - Internal Application Error" but on > webrick everything works as expected. > > I temporarily fixed this by extending this line: > > --<< > require RAILS_ROOT + '/lib/glue/generator/base' > -->> > > which explicitly sets the context path for the require function. > > So my question is whether this problem is related to lighty in > locomotive (i dont have installed a standalone lighty yet), to the > locomotive environment paths or maybe the custom_require function? > The console throws following stack trace: > > --<< > /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ > ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no > such file to load -- /lib/glue/generator/base (MissingSourceFile) > from /Applications/Locomotive2/Bundles/rails112.locobundle/ > powerpc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > from /Applications/Locomotive2/Bundles/rails112.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ > dependencies.rb:147:in `require' > from /Users/bjoern/Projekte/glue/Entwicklung/public/../ > config/environment.rb:54 > from /Users/bjoern/Projekte/glue/Entwicklung/public/ > dispatch.fcgi:21 > -->> > > So any idea whats going wrong here? Not really. But I'll throw some thoughts out there anyways. 1. This is in your rails application's lib directory? If so, what happens if you just do require 'glue/generator/base' (as lib is already part of the load path) 2. Do you really want to use lightttpd, or is mongrel good for you? If mongrel is ok, then try setting server: mongrel in the config/locomotive.yml file. Best, -r > Many thanks! > > Greetings > bjoern > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X From bjoern at lauschmusik.de Fri Jul 7 16:10:47 2006 From: bjoern at lauschmusik.de (=?ISO-8859-1?Q?Bj=F6rn_Wolf?=) Date: Fri Jul 7 16:11:16 2006 Subject: [Locomotive-users] Locomotive, Lighty and require In-Reply-To: References: <004A5649-1753-4730-B6FC-ECEC05206A38@lauschmusik.de> Message-ID: Hi Ryan, Am 07.07.2006 um 17:24 schrieb Ryan Raaum: > 1. This is in your rails application's lib directory? If so, what > happens if you just do > > require 'glue/generator/base' Woah, just changed the line and it works like a charme. Thanks for your thoughts! bjoern -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2425 bytes Desc: not available Url : http://one.textdrive.com/pipermail/locomotive-users/attachments/20060707/e0f2ff4e/smime.bin From noodlet at gmail.com Mon Jul 10 15:31:06 2006 From: noodlet at gmail.com (Vincent Bray) Date: Mon Jul 10 15:31:12 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised Message-ID: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> Hi, First, thanks for Locomotive. It's a pleasure to work with. I'm using Version 2.0.7 on a black macbook and trying to get the acts_as_versioned gem running. I used Locomotive to open a terminal window, verified that `which gem` showed the version in /Applications (though I don't have any other installation of it) and ran `gem install acts_as_versioned`. That all seemed to run smoothly, and indeed: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/acts_as_versioned-0.2.3 .. seems to be all present and correct. gem_server even shows it's docs. However, I can't get it to work with my RoR app. >> Team.find :first NameError: undefined local variable or method `acts_as_versioned' for Team:Class from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1129:in `method_missing' from script/../config/../config/../app/models/team.rb:4 from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in `require_dependency' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:98:in `const_missing' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing' from (irb):1 Am I missing something obvious? I believe that for non-loco installs, there's no need to explicitly load gems in to rails apps.. Thanks, noodl From ryan.raaum at gmail.com Mon Jul 10 16:04:59 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Jul 10 16:05:05 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> Message-ID: Hi , On 7/10/06, Vincent Bray wrote: > > Hi, > > First, thanks for Locomotive. It's a pleasure to work with. > > I'm using Version 2.0.7 on a black macbook and trying to get the > acts_as_versioned gem running. I used Locomotive to open a terminal > window, verified that `which gem` showed the version in /Applications > (though I don't have any other installation of it) and ran `gem > install acts_as_versioned`. That all seemed to run smoothly, and > indeed: > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/acts_as_versioned- > 0.2.3 > > .. seems to be all present and correct. gem_server even shows it's > docs. However, I can't get it to work with my RoR app. > > >> Team.find :first > NameError: undefined local variable or method `acts_as_versioned' for > Team:Class > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord- > 1.14.2/lib/active_record/base.rb:1129:in > `method_missing' > from script/../config/../config/../app/models/team.rb:4 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:140:in > `load' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:56:in > `require_or_load' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:30:in > `depend_on' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:85:in > `require_dependency' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:98:in > `const_missing' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:131:in > `const_missing' > from (irb):1 > > > Am I missing something obvious? I believe that for non-loco installs, > there's no need to explicitly load gems in to rails apps.. I _believe_ that the acts_as_versioned gem is depreciated and that you should now be using the acts_as_versioned plugin (see http://wesgarrison.us/2006/05/02/actsasversioned-in-ruby-on-rails/ on how to install that). The gem you would have to require somewhere, but not the plugin. I hope this is right - I've not actually used it :) Best, -r Thanks, > noodl > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060710/77aa3d78/attachment.htm From noodlet at gmail.com Mon Jul 10 16:16:58 2006 From: noodlet at gmail.com (Vincent Bray) Date: Mon Jul 10 16:17:03 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> Message-ID: <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> On 7/10/06, Ryan Raaum wrote: > Hi , > > I _believe_ that the acts_as_versioned gem is depreciated and that you > should now be using the acts_as_versioned plugin (see > http://wesgarrison.us/2006/05/02/actsasversioned-in-ruby-on-rails/ > on how to install that). > > The gem you would have to require somewhere, but not the plugin. > > I hope this is right - I've not actually used it :) > Thanks, http://wiki.rubyonrails.org/rails/pages/ActsAsVersioned .. seems to corroborate that. noodl From noodlet at gmail.com Mon Jul 10 18:15:20 2006 From: noodlet at gmail.com (Vincent Bray) Date: Mon Jul 10 18:15:25 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> Message-ID: <813716b60607101115n56e212d8v543f74d533d76921@mail.gmail.com> Just to complete the picture for anyone else having this issue.. ruby script/plugin discover appears to be broken in rails 1.1.2 and so can't register the location of this plugin. To work around that, calling this will install it directly: ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/acts_as_versioned So far it seems to be working just fine :) noodl From steve at talcottsystems.com Mon Jul 10 19:49:31 2006 From: steve at talcottsystems.com (Steven Talcott Smith) Date: Mon Jul 10 19:49:43 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: <813716b60607101115n56e212d8v543f74d533d76921@mail.gmail.com> References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> <813716b60607101115n56e212d8v543f74d533d76921@mail.gmail.com> Message-ID: <43271F3E-3C52-4BFB-A1F8-2338CAF809DB@talcottsystems.com> My script/plugin discover gets through about twenty-some sites and then chokes on one of them... did you see this problem too? On Jul 10, 2006, at 2:15 PM, Vincent Bray wrote: > Just to complete the picture for anyone else having this issue.. > ruby script/plugin discover appears to be broken in rails 1.1.2 and so > can't register the location of this plugin. To work around that, > calling this will install it directly: > > ruby script/plugin install > http://svn.techno-weenie.net/projects/plugins/acts_as_versioned > > So far it seems to be working just fine :) > noodl > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > From noodlet at gmail.com Mon Jul 10 19:52:56 2006 From: noodlet at gmail.com (Vincent Bray) Date: Mon Jul 10 19:53:00 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: <43271F3E-3C52-4BFB-A1F8-2338CAF809DB@talcottsystems.com> References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> <813716b60607101115n56e212d8v543f74d533d76921@mail.gmail.com> <43271F3E-3C52-4BFB-A1F8-2338CAF809DB@talcottsystems.com> Message-ID: <813716b60607101252x2ff82d00h4d088c22ee5af48e@mail.gmail.com> On 7/10/06, Steven Talcott Smith wrote: > My script/plugin discover gets through about twenty-some sites and > then chokes on one of them... did you see this problem too? That's right. Google shows plenty of over people with the same issue. I believe it's logged in the RoR trac. From noodlet at gmail.com Mon Jul 10 19:55:00 2006 From: noodlet at gmail.com (Vincent Bray) Date: Mon Jul 10 19:55:04 2006 Subject: [Locomotive-users] acts_as_versioned gem not recognised In-Reply-To: <43271F3E-3C52-4BFB-A1F8-2338CAF809DB@talcottsystems.com> References: <813716b60607100831q61331a3bg1d20a6329b2967ec@mail.gmail.com> <813716b60607100916t6029e8c1p676364f024aa3f2f@mail.gmail.com> <813716b60607101115n56e212d8v543f74d533d76921@mail.gmail.com> <43271F3E-3C52-4BFB-A1F8-2338CAF809DB@talcottsystems.com> Message-ID: <813716b60607101255v180e8f86le9ec48740e75f018@mail.gmail.com> http://dev.rubyonrails.org/ticket/5588 From aaron.hundley at extension.org Tue Jul 11 18:27:03 2006 From: aaron.hundley at extension.org (Aaron Hundley) Date: Tue Jul 11 18:47:49 2006 Subject: [Locomotive-users] dynamic libraries Message-ID: <49390.152.1.215.114.1152642423.squirrel@staff.extension.org> Hello, I am developing on a MacBook Pro. I was trying to install the gem for the ferret search engine, and I found out that I needed the gcc compiler to build the native libraries for it. When I installed the gem, it did the compile as part of the installation process for the gem and I received this error: dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib Referenced from: /usr/bin/gcc Reason: no suitable image found. Did find: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib: can't map make: *** [analysis.o] Trace/BPT trap dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib Referenced from: /usr/bin/gcc Reason: no suitable image found. Did find: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib: can't map It appears that it cannot find the dynamic library for the gcc compiler or it can't map to it. It looks like the directory that it searches to find that library is: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib I have seen others online that had this same problem, and they just get rid of the value for the DYLD_FALLBACK_LIBRARY_PATH environment variable: DYLD_FALLBACK_LIBRARY_PATH= Before it was set to /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib But, I can't do this before I install the gem b/c I also need the dynamic libraries in the /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib directory. Are there any ideas on how I can work around this? Thanks, Aaron From sam at teamlevine.net Tue Jul 11 22:00:30 2006 From: sam at teamlevine.net (Levine, Sam) Date: Tue Jul 11 22:00:44 2006 Subject: [Locomotive-users] saving application preferences Message-ID: When I run Locomotive, it brings up my application, but doesn't preserve the changes I made: it doesn't save the status of the 'Run at Locomotive Launch', nor does it save the Run Mode as 'development'. Does anyone have any ideas how to fix this, or to at least make the changes permanent in a configuration file? Thanks in advance! -sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060711/83920b5f/attachment.htm From geoff at geoffdougherty.com Wed Jul 12 00:17:50 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Wed Jul 12 00:17:58 2006 Subject: [Locomotive-users] Installing RMagick Message-ID: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> I've downloaded the RMagick bundle and put it in my "Bundles" folder and restarted Locomotive. Is there anything else I need to do to get RMagick working? I'm running the following code from within a RoR model, and getting an error: "uninitialized constant RMagick" def picture=(picture_field) self.name = base_part_of(picture_field.original_filename) self.content_type = picture_field.content_type.chomp self.data = picture_field.read img = RMagick::Image::read(self.data) Thanks much. From ryan.raaum at gmail.com Wed Jul 12 00:43:27 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 12 00:43:39 2006 Subject: [Locomotive-users] saving application preferences In-Reply-To: References: Message-ID: Hi Sam, Very odd. (When Locomotive is not running) make your changes in config/locomotive.yml in your app's directory. Best, -r On 7/11/06, Levine, Sam wrote: > > When I run Locomotive, it brings up my application, but doesn't preserve > the changes I made: it doesn't save the status of the 'Run at Locomotive > Launch', nor does it save the Run Mode as 'development'. Does anyone have > any ideas how to fix this, or to at least make the changes permanent in a > configuration file? Thanks in advance! > > -sam > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/ad4fdf69/attachment.htm From ryan.raaum at gmail.com Wed Jul 12 00:44:53 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 12 00:44:57 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> Message-ID: Hi, Have you selected the new bundle in your app's Info pane in Locomotive? If you've done that, are you requiring RMagick? Best, -r On 7/11/06, Geoff Dougherty wrote: > > I've downloaded the RMagick bundle and put it in my "Bundles" folder > and restarted Locomotive. > > Is there anything else I need to do to get RMagick working? > > I'm running the following code from within a RoR model, and getting > an error: "uninitialized constant RMagick" > > def picture=(picture_field) > self.name = base_part_of(picture_field.original_filename) > self.content_type = picture_field.content_type.chomp > self.data = picture_field.read > img = RMagick::Image::read(self.data) > > Thanks much. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/3ac266fe/attachment.htm From ryan.raaum at gmail.com Wed Jul 12 00:46:54 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 12 00:46:58 2006 Subject: [Locomotive-users] dynamic libraries In-Reply-To: <49390.152.1.215.114.1152642423.squirrel@staff.extension.org> References: <49390.152.1.215.114.1152642423.squirrel@staff.extension.org> Message-ID: Hi Aaron, Can you add it to DYLD_FALLBACK_LIBRARY_PATH, something like export DYLD_FALLBACK_LIBRARY_PATH=/usr/i686-apple-darwin8/lib:$DYLD_FALLBACK_LIBRARY_PATH (that should all be on one line.) Best, -r > On 7/11/06, Aaron Hundley wrote: > > Hello, > > I am developing on a MacBook Pro. > I was trying to install the gem for the ferret search engine, and I found > out that I needed the gcc compiler to build the native libraries for it. > When I installed the gem, it did the compile as part of the installation > process for the gem and I received this error: > > dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib > Referenced from: /usr/bin/gcc > Reason: no suitable image found. Did find: > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib: > can't map > make: *** [analysis.o] Trace/BPT trap > dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib > Referenced from: /usr/bin/gcc > Reason: no suitable image found. Did find: > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib: > can't map > > It appears that it cannot find the dynamic library for the gcc compiler or > it can't map to it. > It looks like the directory that it searches to find that library is: > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib > > I have seen others online that had this same problem, and they just get > rid of the value for the DYLD_FALLBACK_LIBRARY_PATH environment variable: > > DYLD_FALLBACK_LIBRARY_PATH= > > Before it was set to > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib > > But, I can't do this before I install the gem b/c I also need the dynamic > libraries in the > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib > directory. > > Are there any ideas on how I can work around this? > > Thanks, > > Aaron > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/e675bdd4/attachment.htm From geoff at geoffdougherty.com Wed Jul 12 00:57:50 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Wed Jul 12 00:57:57 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> Message-ID: <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> Ah, I overlooked the info pane. Have that fixed. Do I need to require RMagick, and if so where does the 'require' statement go? On Jul 11, 2006, at 7:44 PM, Ryan Raaum wrote: > Hi, > > Have you selected the new bundle in your app's Info pane in > Locomotive? If you've done that, are you requiring RMagick? > > Best, > > -r > > On 7/11/06, Geoff Dougherty wrote: > I've downloaded the RMagick bundle and put it in my "Bundles" folder > and restarted Locomotive. > > Is there anything else I need to do to get RMagick working? > > I'm running the following code from within a RoR model, and getting > an error: "uninitialized constant RMagick" > > def picture=(picture_field) > self.name = base_part_of(picture_field.original_filename) > self.content_type = picture_field.content_type.chomp > self.data = picture_field.read > img = RMagick::Image::read(self.data) > > Thanks much. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/19490682/attachment-0001.htm From ryan.raaum at gmail.com Wed Jul 12 01:19:05 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 12 01:19:09 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> Message-ID: On 7/11/06, Geoff Dougherty wrote: > > Ah, I overlooked the info pane. Have that fixed. > Do I need to require RMagick, and if so where does the 'require' statement > go? > > On Jul 11, 2006, at 7:44 PM, Ryan Raaum wrote: > > Hi, > > Have you selected the new bundle in your app's Info pane in Locomotive? > If you've done that, are you requiring RMagick? > > If you're only using RMagick in one model, you could require 'rmagick' at the top of that. Or if you're planning to use it all over the place, you might throw it into environment.rb Best, -r Best, > > -r > > On 7/11/06, Geoff Dougherty wrote: > > > > I've downloaded the RMagick bundle and put it in my "Bundles" folder > > and restarted Locomotive. > > > > Is there anything else I need to do to get RMagick working? > > > > I'm running the following code from within a RoR model, and getting > > an error: "uninitialized constant RMagick" > > > > def picture=(picture_field) > > self.name = base_part_of(picture_field.original_filename) > > self.content_type = picture_field.content_type.chomp > > self.data = picture_field.read > > img = RMagick::Image::read(self.data) > > > > Thanks much. > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/6bff1ea1/attachment.htm From geoff at geoffdougherty.com Wed Jul 12 02:30:11 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Wed Jul 12 02:30:20 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> Message-ID: <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> Ryan, Thanks for all your help. The app is now spinning for 5+ minutes w/ no result when I try to upload & resize a photo. No error messages, nothing amiss in the development log. I can't tell whether it's a problem w/ the way I've installed rmagick on Locomotive, my RoR code, or something else. Here's the method: def picture=(picture_field) require 'rmagick' self.name = base_part_of(picture_field.original_filename) self.content_type = picture_field.content_type.chomp self.data = picture_field.read img = RMagick::Image::read(self.data) @width=img.columns @height=img.rows @ratio=@width/@height @newheight=@width*@ratio @picture.thumb = img.scale(125, "#@newheight") end From loriolson at mac.com Wed Jul 12 02:37:51 2006 From: loriolson at mac.com (Lori M Olson) Date: Wed Jul 12 02:37:59 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> Message-ID: On 11-Jul-06, at 8:30 PM, Geoff Dougherty wrote: > Ryan, > > Thanks for all your help. The app is now spinning for 5+ minutes w/ > no result when I try to upload & resize a photo. No error messages, > nothing amiss in the development log. > > I can't tell whether it's a problem w/ the way I've installed > rmagick on Locomotive, my RoR code, or something else. > > Here's the method: > > def picture=(picture_field) > require 'rmagick' > self.name = base_part_of(picture_field.original_filename) > self.content_type = picture_field.content_type.chomp > self.data = picture_field.read > img = RMagick::Image::read(self.data) > @width=img.columns > @height=img.rows > @ratio=@width/@height > @newheight=@width*@ratio > @picture.thumb = img.scale(125, "#@newheight") > end > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users You can always sprinkle logging statements throughout this method, so you can narrow down which statement in particular is hanging on you. Regards, Lori From geoff at geoffdougherty.com Wed Jul 12 08:10:09 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Wed Jul 12 08:10:17 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> Message-ID: <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Okay, I added a breakpoint after require 'rmagick'. The script is spinning endlessly when it hits the require, never reaches the breakpoint. Ideas? On Jul 11, 2006, at 9:37 PM, Lori M Olson wrote: > On 11-Jul-06, at 8:30 PM, Geoff Dougherty wrote: > >> Ryan, >> >> Thanks for all your help. The app is now spinning for 5+ minutes >> w/ no result when I try to upload & resize a photo. No error >> messages, nothing amiss in the development log. >> >> I can't tell whether it's a problem w/ the way I've installed >> rmagick on Locomotive, my RoR code, or something else. >> >> Here's the method: >> >> def picture=(picture_field) >> require 'rmagick' >> self.name = base_part_of(picture_field.original_filename) >> self.content_type = picture_field.content_type.chomp >> self.data = picture_field.read >> img = RMagick::Image::read(self.data) >> @width=img.columns >> @height=img.rows >> @ratio=@width/@height >> @newheight=@width*@ratio >> @picture.thumb = img.scale(125, "#@newheight") >> end >> >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users > > You can always sprinkle logging statements throughout this method, > so you can narrow down which statement in particular is hanging on > you. > > Regards, Lori > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ryan.raaum at gmail.com Wed Jul 12 12:13:55 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 12 12:13:59 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Message-ID: On 7/12/06, Geoff Dougherty wrote: > > Okay, I added a breakpoint after require 'rmagick'. The script is > spinning endlessly when it hits the require, never reaches the > breakpoint. > > Ideas? Are you able to load and use RMagick from the console? ruby script/console > require 'rmagick' > etc... -r On Jul 11, 2006, at 9:37 PM, Lori M Olson wrote: > > > On 11-Jul-06, at 8:30 PM, Geoff Dougherty wrote: > > > >> Ryan, > >> > >> Thanks for all your help. The app is now spinning for 5+ minutes > >> w/ no result when I try to upload & resize a photo. No error > >> messages, nothing amiss in the development log. > >> > >> I can't tell whether it's a problem w/ the way I've installed > >> rmagick on Locomotive, my RoR code, or something else. > >> > >> Here's the method: > >> > >> def picture=(picture_field) > >> require 'rmagick' > >> self.name = base_part_of(picture_field.original_filename) > >> self.content_type = picture_field.content_type.chomp > >> self.data = picture_field.read > >> img = RMagick::Image::read(self.data) > >> @width=img.columns > >> @height=img.rows > >> @ratio=@width/@height > >> @newheight=@width*@ratio > >> @picture.thumb = img.scale(125, "#@newheight") > >> end > >> > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > You can always sprinkle logging statements throughout this method, > > so you can narrow down which statement in particular is hanging on > > you. > > > > Regards, Lori > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/1c4ed714/attachment.htm From mef1526 at earthlink.net Wed Jul 12 19:49:20 2006 From: mef1526 at earthlink.net (Moira Finley) Date: Wed Jul 12 19:49:24 2006 Subject: [Locomotive-users] Starting Message-ID: <26386541.1152733760853.JavaMail.root@elwamui-hybrid.atl.sa.earthlink.net> Hello everyone, I am a new user to locomotive. I am not sure how it works. Could someone give me some pointers on where to start? Thanks Moira From sam at teamlevine.net Wed Jul 12 20:46:48 2006 From: sam at teamlevine.net (Levine, Sam) Date: Wed Jul 12 20:46:56 2006 Subject: [Locomotive-users] saving application preferences Message-ID: The problem was that I had previously edited the config/locomotive.yml file on a PC (I know, silly me), so it wasn't being read by Locomotive. I deleted the file which was regenerated by Locomotive and everything is working fine now. -sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/e8b40ae9/attachment.htm From geoff at geoffdougherty.com Wed Jul 12 21:57:50 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Wed Jul 12 21:57:59 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Message-ID: Oy, I dunno what to say about this. irb(main):004:0> require 'RMagick' dyld: NSLinkModule() error dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib Referenced from: /Applications/Locomotive2/Bundles/ rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/ powerpc-darwin7.9.0/RMagick.bundle Reason: image not found Trace/BPT trap I'm running 10.4, have x11 installed, and I just installed the latest version of xcode dev tools from Apple. On Jul 12, 2006, at 7:13 AM, Ryan Raaum wrote: > > > On 7/12/06, Geoff Dougherty wrote: > Okay, I added a breakpoint after require 'rmagick'. The script is > spinning endlessly when it hits the require, never reaches the > breakpoint. > > Ideas? > > Are you able to load and use RMagick from the console? > > ruby script/console > > require 'rmagick' > > etc... > > -r > > On Jul 11, 2006, at 9:37 PM, Lori M Olson wrote: > > > On 11-Jul-06, at 8:30 PM, Geoff Dougherty wrote: > > > >> Ryan, > >> > >> Thanks for all your help. The app is now spinning for 5+ minutes > >> w/ no result when I try to upload & resize a photo. No error > >> messages, nothing amiss in the development log. > >> > >> I can't tell whether it's a problem w/ the way I've installed > >> rmagick on Locomotive, my RoR code, or something else. > >> > >> Here's the method: > >> > >> def picture=(picture_field) > >> require 'rmagick' > >> self.name = base_part_of(picture_field.original_filename) > >> self.content_type = picture_field.content_type.chomp > >> self.data = picture_field.read > >> img = RMagick::Image::read( self.data) > >> @width=img.columns > >> @height=img.rows > >> @ratio=@width/@height > >> @newheight=@width*@ratio > >> @picture.thumb = img.scale(125, "#@newheight") > >> end > >> > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > You can always sprinkle logging statements throughout this method, > > so you can narrow down which statement in particular is hanging on > > you. > > > > Regards, Lori > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of > Florida > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/4316dbc5/attachment.htm From loriolson at mac.com Thu Jul 13 01:58:55 2006 From: loriolson at mac.com (Lori M Olson) Date: Thu Jul 13 01:59:19 2006 Subject: [Locomotive-users] Can't start application Message-ID: Suddenly, on my Powerbook, I can't start my application using the Locomotive GUI. I can open a terminal from Locomotive, and run "script/server" and the application runs fine. Any ideas? Is there a log file somewhere I should be looking in? And yes, this application was running on this machine under Locomotive just fine a couple of days ago. Lori From steve at waits.net Thu Jul 13 03:52:19 2006 From: steve at waits.net (Stephen Waits) Date: Thu Jul 13 03:52:28 2006 Subject: [Locomotive-users] Can't start application In-Reply-To: References: Message-ID: <24A5736B-F21F-4166-A67B-D85562E2F4F3@waits.net> On Jul 12, 2006, at 6:58 PM, Lori M Olson wrote: > Is there a log file somewhere I should be looking in? Run Console.app, and try again. Let us know if anything's getting logged when you try to start your app. --Steve From aaron.hundley at extension.org Thu Jul 13 13:44:38 2006 From: aaron.hundley at extension.org (Aaron Hundley) Date: Thu Jul 13 13:44:49 2006 Subject: [Locomotive-users] dynamic libraries issue solved Message-ID: <50133.68.221.124.249.1152798278.squirrel@staff.extension.org> Hi Ryan, Thanks for your help on this. What I ended up doing was setting the DYLD_FALLBACK_LIBRARY_PATH environment variable like this: export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:/usr/lib and everything compiled fine. Thanks Again, Aaron > Hi Aaron, > > Can you add it to DYLD_FALLBACK_LIBRARY_PATH, something like > > export > DYLD_FALLBACK_LIBRARY_PATH=/usr/i686-apple-darwin8/lib:$DYLD_FALLBACK_LIBRARY_PATH > > (that should all be on one line.) > > Best, > > -r From ryan.raaum at gmail.com Thu Jul 13 14:24:38 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 13 14:24:43 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Message-ID: On 7/12/06, Geoff Dougherty wrote: > > Oy, I dunno what to say about this. > irb(main):004:0> require 'RMagick' > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib > Referenced from: > /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/powerpc- > darwin7.9.0/RMagick.bundle > Reason: image not found > Trace/BPT trap > > I'm running 10.4, have x11 installed, and I just installed the latest > version of xcode dev tools from Apple. > Hrm. Yes, very odd. You have the apple X11 installed? Can you tell if the libXext library is where it is expected? -r On Jul 12, 2006, at 7:13 AM, Ryan Raaum wrote: > > > > On 7/12/06, Geoff Dougherty wrote: > > > > Okay, I added a breakpoint after require 'rmagick'. The script is > > spinning endlessly when it hits the require, never reaches the > > breakpoint. > > > > Ideas? > > > Are you able to load and use RMagick from the console? > > ruby script/console > > require 'rmagick' > > etc... > > -r > > On Jul 11, 2006, at 9:37 PM, Lori M Olson wrote: > > > > > On 11-Jul-06, at 8:30 PM, Geoff Dougherty wrote: > > > > > >> Ryan, > > >> > > >> Thanks for all your help. The app is now spinning for 5+ minutes > > >> w/ no result when I try to upload & resize a photo. No error > > >> messages, nothing amiss in the development log. > > >> > > >> I can't tell whether it's a problem w/ the way I've installed > > >> rmagick on Locomotive, my RoR code, or something else. > > >> > > >> Here's the method: > > >> > > >> def picture=(picture_field) > > >> require 'rmagick' > > >> self.name = base_part_of(picture_field.original_filename) > > >> self.content_type = picture_field.content_type.chomp > > >> self.data = picture_field.read > > >> img = RMagick::Image::read( self.data) > > >> @width=img.columns > > >> @height=img.rows > > >> @ratio=@width/@height > > >> @newheight=@width*@ratio > > >> @picture.thumb = img.scale(125, "#@newheight") > > >> end > > >> > > >> _______________________________________________ > > >> Locomotive-users mailing list > > >> Locomotive-users@lists.raaum.org > > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > You can always sprinkle logging statements throughout this method, > > > so you can narrow down which statement in particular is hanging on > > > you. > > > > > > Regards, Lori > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060713/90e49ddc/attachment.htm From th-dev at onlinehome.de Thu Jul 13 16:24:50 2006 From: th-dev at onlinehome.de (Timo Hoepfner) Date: Thu Jul 13 16:25:24 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Message-ID: Am 12.07.2006 um 23:57 schrieb Geoff Dougherty: > I'm running 10.4, have x11 installed, and I just installed the > latest version of xcode dev tools from Apple. > Hi there, are you sure, the X11 Dev Kit was installed during XCode installation? If you install X11 first, then XCode, you should have it (check the Development Kits in the installer). If you installed XCode first and then X11, you almost certainly won't have the required X11 Development Kit. Timo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060713/607ee402/attachment.htm From geoff at geoffdougherty.com Thu Jul 13 18:38:03 2006 From: geoff at geoffdougherty.com (Geoff Dougherty) Date: Thu Jul 13 18:38:13 2006 Subject: [Locomotive-users] Installing RMagick In-Reply-To: References: <77CB77D9-58EA-4F2A-8C5D-6CDEF71CD21F@geoffdougherty.com> <5AB0FDDB-6FF5-446F-BEC1-192D0CCFE5DA@geoffdougherty.com> <41732D91-8B13-4B63-B5B0-1977B2599E95@geoffdougherty.com> <6FB501FC-90CC-476D-9514-EABF83B410FE@geoffdougherty.com> Message-ID: <3D6DEB81-7A10-45E1-8F2E-54CC998A352F@geoffdougherty.com> I've verified that the missing lib is, in fact, missing from the folder where the program is seeking it. I believe I installed x11 followed by the dev tools, although I did all that about nine months ago, so memory is foggy. On Jul 13, 2006, at 11:24 AM, Timo Hoepfner wrote: > > Am 12.07.2006 um 23:57 schrieb Geoff Dougherty: > >> I'm running 10.4, have x11 installed, and I just installed the >> latest version of xcode dev tools from Apple. >> > > > Hi there, > > are you sure, the X11 Dev Kit was installed during XCode > installation? If you install X11 first, then XCode, you should have > it (check the Development Kits in the installer). If you installed > XCode first and then X11, you almost certainly won't have the > required X11 Development Kit. > > Timo > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060713/5883cc97/attachment.htm From matuszek at cis.upenn.edu Fri Jul 14 15:29:12 2006 From: matuszek at cis.upenn.edu (David Matuszek) Date: Fri Jul 14 15:29:26 2006 Subject: [Locomotive-users] Using Locomotive with Apple's Rails tutorial In-Reply-To: <20060714120101.76F8346853@one.textdrive.com> References: <20060714120101.76F8346853@one.textdrive.com> Message-ID: I'd like to step through Apple's Rails tutorial (http://developer.apple.com/tools/rubyonrails.html) using Locomotive. That tutorial says: "If you already have MySQL, you can get everything else by using Locomotive, a drag-install of all the relevant pieces." (I have MySQL.) A little later the tutorial says to execute the line $ rails expenses which (of course) gives me the response rails: command not found I'm sure I can do this by installing rails separately, and making a symbolic link to it. What I cannot seem to do, however, is _find_ rails within the Locomotive bundle. I know it must be there somewhere! Advice, please? Dave Matuszek matuszek@cis.upenn.edu From loriolson at mac.com Fri Jul 14 15:48:39 2006 From: loriolson at mac.com (Lori M Olson) Date: Fri Jul 14 15:49:11 2006 Subject: [Locomotive-users] Using Locomotive with Apple's Rails tutorial In-Reply-To: References: <20060714120101.76F8346853@one.textdrive.com> Message-ID: <51764866-47B5-4782-8BA3-2366609D04A2@mac.com> On 14-Jul-06, at 9:29 AM, David Matuszek wrote: > I'd like to step through Apple's Rails tutorial > (http://developer.apple.com/tools/rubyonrails.html) > using Locomotive. That tutorial says: > > "If you already have MySQL, you can get everything else by > using Locomotive, a drag-install of all the relevant pieces." > > (I have MySQL.) A little later the tutorial says to execute > the line > $ rails expenses > which (of course) gives me the response > rails: command not found > > I'm sure I can do this by installing rails separately, and > making a symbolic link to it. What I cannot seem to do, > however, is _find_ rails within the Locomotive bundle. > I know it must be there somewhere! > > Advice, please? > If you are using Locomotive, then you need to let Locomotive do some of this work for you. In this case, instead of working from the command-line, let Locomotive create your rails app structure for you. Start Locomotive, and then from the menus, choose Applications | Create New. Name it "expenses", select the directory in which you want your new application to be created, and select the Rails bundle you want. All done. After that, Open a Terminal by Ctrl-Clicking on your application in Locomotive, and the Rails environment will be automatically configured for that Terminal, so you can do any other command-line things from there. Files you need to look in to customize this environment include the /config/locomotive.yml file, and the environment.plist file inside your chosen Rails bundle. As Ryan has told me a couple of times, the documentation is a little thin... But everything actually DOES work, so we'll have to forgive him. ;-) Regards, Lori From mark.m.fredrickson at gmail.com Sun Jul 16 20:45:57 2006 From: mark.m.fredrickson at gmail.com (Mark Fredrickson) Date: Sun Jul 16 20:46:01 2006 Subject: [Locomotive-users] Expanding loco Message-ID: <3db8a8970607161345t3d1cab98v346353141dad0263@mail.gmail.com> Hello, I just stumbled across Locomotive recently, and I've really been very easy to get a Rails install up and running. I have some ideas for extending the app to make my life (and I hope some others) easier: 1. Add a "Generate -> " option to the tools menu. Under this menu one would find "Model", "Scaffold", "Migration", "Web Service" and whatever other generate plugins are in the bundle/app. Mapping these to key commands (eg. command-M generates a model) would save me a fair amount of typing. 2. A menu item to open the app logs in Console.app 3. Include API documentation in the bundles, so I don't have to have an internet connection to visit api.rubyonrails.com 4. A rake migration menu command. By default it migrate to the newest schema, but could optionally take a parameter to migrate to VERSION=XXX 5. Loco includes sqlite, as does OS X 10.4. While I would continue to use mysql, other first time users might appreciate automatic creation of development, testing, and production databases in sqlite files. Perhaps in db/ ? I'm sending this message to the list to solicit input and implementation ideas. Also, I'm having trouble buidling the SVN locomotive checkout. It chokes on copying the bundles. If anyone has conquered this problem, let me know. Thanks, -Mark From loco at infoarts.info Wed Jul 19 04:17:47 2006 From: loco at infoarts.info (Richard Sandilands) Date: Wed Jul 19 04:18:00 2006 Subject: [Locomotive-users] Readline issue with RMagick bundle? Message-ID: <1F49947C-5D87-42F0-9294-2B33D08A3FC4@infoarts.info> After searching the archives I'm aware of a couple of posts which mention the readline error when using the RMagick bundle. I too am facing this issue, getting the following error when I attempt to launch the app via script/console: Loading development environment. dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/lib/libreadline.5.1.dylib Referenced from: /Applications/Locomotive2/Bundles/ rails112rmagick_x86.locobundle/framework/lib/ruby/1.8/i686- darwin8.6.1/readline.bundle One fix was to install Readline 5.1 from source. Before I do so, I wanted to confirm that this is in fact the best solution here. Any clues would be appreciated. BTW, it appears this error is only ocurring on Intel machines? I'm on a MacBook for what it is worth. -- Richard Sandilands From wulabs at gmail.com Wed Jul 19 19:06:48 2006 From: wulabs at gmail.com (Jack Wu) Date: Wed Jul 19 19:11:00 2006 Subject: [Locomotive-users] problem launching rails app Message-ID: Hi this is my first post. I'm having problems launching my rails app. Here is the error in console.app. I chmod'ed the dispatch.fcgi to 777. /Users/jackwu/Sites/la/public/dispatch.fcgi:21:in `require': No such file to load -- /Users/jackwu/Sites/la/public/../config/environment (LoadError) from /Users/jackwu/Sites/la/public/dispatch.fcgi:21 (mod_fastcgi.c.920) the fastcgi-backend /Users/jackwu/Sites/la/public/dispatch.fcgi failed to start: (mod_fastcgi.c.924) child exited with status 1 /Users/jackwu/Sites/la/public/dispatch.fcgi (mod_fastcgi.c.927) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version. You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli) For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing- php-as-a-fastcgi-program (mod_fastcgi.c.932) If this is PHP on Gentoo add fastcgi to the USE flags (mod_fastcgi.c.1217) [ERROR]: spawning fcgi failed. (server.c.670) Configuration of plugins failed. Going down. From ryan.raaum at gmail.com Wed Jul 19 19:40:52 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 19 19:40:57 2006 Subject: [Locomotive-users] problem launching rails app In-Reply-To: References: Message-ID: Hi Jack, You're going to have to give us a lot more information :) What kind of app is this? New or an existing one imported into Locomotive? What system (10.3, 10.4 ppc or 10.4 intel) are you on? Was it working before and now stopped working? Thanks! -r On 7/19/06, Jack Wu wrote: > > > > Hi this is my first post. > I'm having problems launching my rails app. > Here is the error in console.app. I chmod'ed the dispatch.fcgi to 777. > > /Users/jackwu/Sites/la/public/dispatch.fcgi:21:in `require': > No such file to load > -- /Users/jackwu/Sites/la/public/../config/environment (LoadError) > from /Users/jackwu/Sites/la/public/dispatch.fcgi:21 > (mod_fastcgi.c.920) the fastcgi-backend > /Users/jackwu/Sites/la/public/dispatch.fcgi failed to start: > (mod_fastcgi.c.924) child exited with status 1 > /Users/jackwu/Sites/la/public/dispatch.fcgi > (mod_fastcgi.c.927) if you try do run PHP as > FastCGI backend make sure you use the FastCGI enabled version. > You can find out if it is the right one by executing 'php -v' and it > should > display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli) > For more information check > http://www.lighttpd.net/documentation/fastcgi.html#preparing- > php-as-a-fastcgi-program > (mod_fastcgi.c.932) If this is PHP on Gentoo add fastcgi to the USE flags > (mod_fastcgi.c.1217) [ERROR]: spawning fcgi failed. > (server.c.670) Configuration of plugins failed. Going down. > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060719/37f97015/attachment.htm From wulabs at gmail.com Wed Jul 19 19:55:46 2006 From: wulabs at gmail.com (Jack Wu) Date: Wed Jul 19 19:56:21 2006 Subject: [Locomotive-users] Re: problem launching rails app References: Message-ID: Ryan Raaum writes: > > > Hi Jack,You're going to have to give us a lot more information :)What kind of app is this? New or an existing one imported into Locomotive?What system (10.3, 10.4 ppc or 10.4 intel) are you on?Was it working before and now stopped working?Thanks!-r > > On 7/19/06, Jack Wu > wrote:Hi this is my first post. > I'm having problems launching my rails app.Here is the error in console.app. I chmod'ed the dispatch.fcgi to 777./Users/jackwu/Sites/la/public/dispatch.fcgi:21:in `require':No such file to load-- /Users/jackwu/Sites/la/public/../config/environment (LoadError) > from /Users/jackwu/Sites/la/public/dispatch.fcgi:21(mod_fastcgi.c.920) the fastcgi-backend/Users/jackwu/Sites/la/public/dispatch.fcgi failed to start:(mod_fastcgi.c.924) child exited with status 1 > /Users/jackwu/Sites/la/public/dispatch.fcgi(mod_fastcgi.c.927) if you try do run PHP asFastCGI backend make sure you use the FastCGI enabled version.You can find out if it is the right one by executing 'php -v' and it should > display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)For more information checkhttp://www.lighttpd.net/documentation/fastcgi.html#preparing- > php-as-a-fastcgi-program(mod_fastcgi.c.932) If this is PHP on Gentoo add fastcgi to the USE flags(mod_fastcgi.c.1217) [ERROR]: spawning fcgi failed.(server.c.670) Configuration of plugins failed. Going down. > _______________________________________________Locomotive-users mailing listLocomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaumhttp://www.anthro.ufl.edu - Molecular Anthropology, University of Florida > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@... > http://lists.raaum.org/mailman/listinfo/locomotive-users > Hi Ryan, This is an app that my friend has been developing on in windows. I'm using 10.3.9 PPC. This app was never working before...this is my first time trying to get it to run...but note that if I create a new app in locomotive it will run properly. -Jack From ryan.raaum at gmail.com Wed Jul 19 20:26:33 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Jul 19 20:26:39 2006 Subject: [Locomotive-users] Re: problem launching rails app In-Reply-To: References: Message-ID: On 7/19/06, Jack Wu wrote: > > Ryan Raaum writes: > > > > > > > Hi Jack,You're going to have to give us a lot more information :)What > kind of > app is this? New or an existing one imported into Locomotive?What system > (10.3, > 10.4 ppc or 10.4 intel) are you on?Was it working before and now stopped > working?Thanks!-r > > > > On 7/19/06, Jack Wu > > wrote:Hi > this is > my first post. > > I'm having problems launching my rails app.Here is the error in > console.app. I chmod'ed the dispatch.fcgi to > 777./Users/jackwu/Sites/la/public/dispatch.fcgi:21:in `require':No such > file to > load-- /Users/jackwu/Sites/la/public/../config/environment (LoadError) > > from > /Users/jackwu/Sites/la/public/dispatch.fcgi:21(mod_fastcgi.c.920) > the fastcgi-backend/Users/jackwu/Sites/la/public/dispatch.fcgi failed to > start:(mod_fastcgi.c.924) child exited with status 1 > > /Users/jackwu/Sites/la/public/dispatch.fcgi(mod_fastcgi.c.927) if you > try do > run PHP asFastCGI backend make sure you use the FastCGI enabled > version.You can > find out if it is the right one by executing 'php -v' and it should > > display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)For more > information > checkhttp://www.lighttpd.net/documentation/fastcgi.html#preparing- > > php-as-a-fastcgi-program(mod_fastcgi.c.932) If this is PHP on Gentoo add > fastcgi to the USE flags(mod_fastcgi.c.1217) [ERROR]: spawning fcgi > failed.(server.c.670) Configuration of plugins failed. Going down. > > _______________________________________________Locomotive-users mailing > listLocomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- Ryan Raaumhttp://www.anthro.ufl.edu - Molecular Anthropology, > University of > Florida > > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS > X > > > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@... > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > Hi Ryan, > > This is an app that my friend has been developing on in windows. AHA! I suspect that you have line ending problems. http://en.wikipedia.org/wiki/Newline summarizes the problem and gives a few options on how to fix. Best, -r I'm using 10.3.9 PPC. > > This app was never working before...this is my first time trying to get it > to > run...but note that if I create a new app in locomotive it will run > properly. > > -Jack > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060719/cbd4640d/attachment.htm From wulabs at gmail.com Thu Jul 20 00:37:51 2006 From: wulabs at gmail.com (Jack Wu) Date: Thu Jul 20 00:38:14 2006 Subject: [Locomotive-users] Where can I get Rails-1.1.2-Max for Locomotive 1? Message-ID: I need to use Locomotive 1, right now I have Rails-1.1-Max. I need Rails 1.1.2 Max. I see rails1.1.2+rmagick_ppc.locobundle on sourceforge but it isn't the same format as the other *.bundle files. I renamed it and its still not right. Maybe I have to compile or something? Does anybody know where I can get rails-1.1.2-max for locomotive 1? I'm using OSX 10.3.9 on PPC. From ryan.raaum at gmail.com Thu Jul 20 01:36:51 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 20 01:36:57 2006 Subject: [Locomotive-users] Where can I get Rails-1.1.2-Max for Locomotive 1? In-Reply-To: References: Message-ID: Hi Jack, On 7/19/06, Jack Wu wrote: > > I need to use Locomotive 1, right now I have Rails-1.1-Max. > > I need Rails 1.1.2 Max. I see rails1.1.2+rmagick_ppc.locobundle on > sourceforge > but it isn't the same format as the other *.bundle files. I renamed it > and its > still not right. Maybe I have to compile or something? > > Does anybody know where I can get rails-1.1.2-max for locomotive 1? http://prdownloads.sourceforge.net/locomotive/Rails_1.1.1_Max.dmg?download (You'll have to update the rails in there manually - 'gem update rails') Best, -r I'm using OSX 10.3.9 on PPC. > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060720/c5348ed0/attachment-0001.htm From drackett at mac.com Thu Jul 20 04:21:02 2006 From: drackett at mac.com (Chris Drackett) Date: Thu Jul 20 04:21:09 2006 Subject: [Locomotive-users] Fwd: Installing "acts as taggable" References: <11E97334-96BA-4B71-AE0F-DFF64C34DF7B@mac.com> Message-ID: <83458BF4-C97B-4270-85ED-78B8EC033AD4@mac.com> > > I'm trying to install the acts_as_taggable gem into a new project > I'm working on. However, when trying to use "gem install > acts_as_taggable" I get the following message: > > Attempting local installation of 'acts_as_taggable' > Local gem file not found: acts_as_taggable*.gem > Attempting remote installation of 'acts_as_taggable' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (ArgumentError) > syntax error on line 152947, col 44: `dex.php?p=5 RSpec is > intended to provide ' > > I'm new to locomotive, and I'm not sure what to do at this point. > I'm on a macbook pro running an unmodified version of locomotive 2.0.7 > > any ideas? From wulabs at gmail.com Thu Jul 20 08:15:59 2006 From: wulabs at gmail.com (Jack Wu) Date: Thu Jul 20 08:16:42 2006 Subject: [Locomotive-users] Having problems running my first app Message-ID: OSX 10.3.9, creating an app with loco works fine, when I create one and copy over my external files and try to run I get errors. This is my friends app, I'm trying to get it to run. The localhost:3000/main page loads the header but doesn't load anything else. Here are the errors in dev.log. /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/actionpack-1.12.3/ lib/action_controller/routing.rb:521:in `recognition_failed' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/ action_controller/routing.rb:511:in `recognize!' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ lib/dispatcher.rb:38:in `dispatch' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ lib/fcgi_handler.rb:150:in `process_request' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ lib/fcgi_handler.rb:54:in `process!' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/ fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/ fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/ rails-1.1.4/lib/fcgi_handler.rb:53:in `process!' /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/ rails-1.1.4/lib/fcgi_handler.rb:23:in `process!' /Users/jackwu/Sites/LA/public/ dispatch.fcgi:24 Rendering /Applications/Locomotive/Bundles/ rails-1.1-max.bundle/Contents/Resources/ ports/lib/ruby/gems/1.8/gems/ actionpack-1.12.3/lib/action_controller/ templates/rescues/layout.rhtml (404 Page Not Found) I tried google searching and came up with permission errors but I chmod'ed eveyrhing to 777 and still same. From wulabs at gmail.com Thu Jul 20 08:21:15 2006 From: wulabs at gmail.com (Jack Wu) Date: Thu Jul 20 08:21:56 2006 Subject: [Locomotive-users] Re: Having problems running my first app References: Message-ID: Forgot to mention I started with Rails1.1.1Max package, did a gem update and now am at Ruby 1.8.4 and rails 1.1.2. I also already set up the DB and edited the routing file. From wulabs at gmail.com Thu Jul 20 08:30:38 2006 From: wulabs at gmail.com (Jack Wu) Date: Thu Jul 20 08:31:00 2006 Subject: [Locomotive-users] How do I get specifically 1.1.2? References: Message-ID: Originally I was at Ruby 1.8.2 and Rails 1.1.1. I updated but it gave me Ruby 1.8.4 and Rails 1.1.4. How do I specify specific versions? I need Ruby 1.8.2 and Rails 1.1.2. It was not in the help file. -Jack From wulabs at gmail.com Thu Jul 20 08:38:52 2006 From: wulabs at gmail.com (Jack Wu) Date: Thu Jul 20 08:39:06 2006 Subject: [Locomotive-users] Dispatch + Reaper problem Message-ID: Not sure what this is, but shows up in console.app when I try and start my app. --------- Locomotive[749] action is kill Locomotive[749] dispatch path is /Users/jackwu/Sites/LA /public/dispatch.fcgi Locomotive[749] launched reaper task Couldn't find any process matching: /Users/jackwu/Sites/ LA/public/dispatch.fcgi Locomotive[749] finished reaper task --------- From ryan.raaum at gmail.com Thu Jul 20 12:25:25 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 20 12:25:30 2006 Subject: [Locomotive-users] Fwd: Installing "acts as taggable" In-Reply-To: <83458BF4-C97B-4270-85ED-78B8EC033AD4@mac.com> References: <11E97334-96BA-4B71-AE0F-DFF64C34DF7B@mac.com> <83458BF4-C97B-4270-85ED-78B8EC033AD4@mac.com> Message-ID: On 7/20/06, Chris Drackett wrote: > > > > > I'm trying to install the acts_as_taggable gem into a new project > > I'm working on. However, when trying to use "gem install > > acts_as_taggable" I get the following message: > > > > Attempting local installation of 'acts_as_taggable' > > Local gem file not found: acts_as_taggable*.gem > > Attempting remote installation of 'acts_as_taggable' > > Updating Gem source index for: http://gems.rubyforge.org > > ERROR: While executing gem ... (ArgumentError) > > syntax error on line 152947, col 44: `dex.php?p=5 RSpec is > > intended to provide ' > > > > I'm new to locomotive, and I'm not sure what to do at this point. > > I'm on a macbook pro running an unmodified version of locomotive 2.0.7 > > > > any ideas? Maybe try the acts_as_taggable plugin? http://wiki.rubyonrails.com/rails/pages/Acts+As+Taggable+Plugin -r _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060720/d0698250/attachment.htm From ryan.raaum at gmail.com Thu Jul 20 12:26:54 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 20 12:26:58 2006 Subject: [Locomotive-users] Having problems running my first app In-Reply-To: References: Message-ID: On 7/20/06, Jack Wu wrote: > > OSX 10.3.9, creating an app with loco works fine, when I create one and > copy > over my external files and try to run I get errors. > > This is my friends app, I'm trying to get it to run. The > localhost:3000/main > page loads the header but doesn't load anything else. Here are the errors > in > dev.log. > > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/actionpack-1.12.3/ > lib/action_controller/routing.rb:521:in `recognition_failed' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/ > action_controller/routing.rb:511:in `recognize!' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ > lib/dispatcher.rb:38:in `dispatch' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ > lib/fcgi_handler.rb:150:in `process_request' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/rails-1.1.4/ > lib/fcgi_handler.rb:54:in `process!' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/ > fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/ > fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/ > rails-1.1.4/lib/fcgi_handler.rb:53:in `process!' > > /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/ > rails-1.1.4/lib/fcgi_handler.rb:23:in `process!' > > /Users/jackwu/Sites/LA/public/ > dispatch.fcgi:24 > > > Rendering /Applications/Locomotive/Bundles/ > rails-1.1-max.bundle/Contents/Resources/ > ports/lib/ruby/gems/1.8/gems/ > actionpack-1.12.3/lib/action_controller/ > templates/rescues/layout.rhtml > (404 Page Not Found) I still suspect you have line ending problems if this is an app originally developed on windows. Best, -r I tried google searching and came up with permission errors but I chmod'ed > eveyrhing to 777 and still same. > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060720/d2945af0/attachment.htm From ryan.raaum at gmail.com Thu Jul 20 12:28:44 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 20 12:28:48 2006 Subject: [Locomotive-users] Dispatch + Reaper problem In-Reply-To: References: Message-ID: On 7/20/06, Jack Wu wrote: > > Not sure what this is, but shows up in console.app when I try and start my > app. > > --------- > Locomotive[749] action is kill > > Locomotive[749] dispatch path is > /Users/jackwu/Sites/LA > /public/dispatch.fcgi > > Locomotive[749] launched reaper task > > Couldn't find any process matching: > /Users/jackwu/Sites/ > LA/public/dispatch.fcgi > > Locomotive[749] finished reaper task > --------- Locomotive tries to clean up errant fastcgi process when apps die. This is probably happening after your app has already died. What happens if you add/change server: mongrel to your config/locomotive.yml file? -r _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060720/f14b8db7/attachment.htm From ryan.raaum at gmail.com Thu Jul 20 12:32:38 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Jul 20 12:32:42 2006 Subject: [Locomotive-users] How do I get specifically 1.1.2? In-Reply-To: References: Message-ID: