From djdarkchaz at gmail.com Wed Dec 5 05:03:33 2007 From: djdarkchaz at gmail.com (Chaz) Date: Wed Dec 5 23:45:17 2007 Subject: [Locomotive-users] Error with localhost, then with gems Message-ID: Tried to add an existing project, it would always say localhost server not found. I typed "mongrel_rails start" into terminal and it suggested that I update my gems. I tri /Applications/Locomotive2/Bundles/ standardRailsMar2007.locobundle/i386/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- aws/s3 (MissingSourceFile) From justin at ljs.nl Thu Dec 6 22:09:44 2007 From: justin at ljs.nl (Justin Case Schilder) Date: Thu Dec 6 22:09:55 2007 Subject: [Locomotive-users] Error with localhost, then with gems Message-ID: <50085.83.84.170.200.1196978984.squirrel@mail.ljs.nl> Adding/running a new project from scratch not created in locomotive works fine? When you get the update error, you did do "gem update"? OS version? Intel/PPC? My apologies if this mail messes up some threading in the list, having some mail issues. ========= On Dec 5, 2007, at 06:03, Chaz wrote: ========= Tried to add an existing project, it would always say localhost server not found. I typed "mongrel_rails start" into terminal and it suggested that I update my gems. I tri /Applications/Locomotive2/Bundles/ standardRailsMar2007.locobundle/i386/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- aws/s3 (MissingSourceFile) _______________________________________________ Locomotive-users mailing list Locomotive-users@lists.raaum.org http://lists.raaum.org/mailman/listinfo/locomotive-users From nathan at fullsteam.com Fri Dec 7 17:15:12 2007 From: nathan at fullsteam.com (Nathan Hyde) Date: Fri Dec 7 17:15:17 2007 Subject: [Locomotive-users] Re: Error with localhost, then with gems In-Reply-To: 20071207120024.33E504E200@one.textdrive.com Message-ID: <20071207171512.c322c0b9@mail.fullsteam.com> Chaz, It appears that your app requires the Amazon Web Services - S3 gem. You can either unpack it into your application's plugins directory or install it into the locomotive bundle your app runs in. To install it in the Locomotive bundle, right-click the application in Locomotive's app list and select to "Open in Terminal". (This will load the bundle's environment in a new Terminal window.) Then, at the prompt, type: sudo gem install aws-s3 BTW, I find tailing the development and mongrel logs to be quite helpful in debugging why an app won't start. HTH Nathan _____ Date: Thu, 6 Dec 2007 23:09:44 +0100 (CET) From: "Justin Case Schilder" Subject: Re: [Locomotive-users] Error with localhost, then with gems To: locomotive-users@lists.raaum.org Message-ID: <50085.83.84.170.200.1196978984.squirrel@mail.ljs.nl> Content-Type: text/plain;charset=iso-8859-1 Adding/running a new project from scratch not created in locomotive works fine? When you get the update error, you did do "gem update"? OS version? Intel/PPC? My apologies if this mail messes up some threading in the list, having some mail issues. ========= On Dec 5, 2007, at 06:03, Chaz wrote: ========= Tried to add an existing project, it would always say localhost server not found. I typed "mongrel_rails start" into terminal and it suggested that I update my gems. I tri /Applications/Locomotive2/Bundles/ standardRailsMar2007.locobundle/i386/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- aws/s3 (MissingSourceFile) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20071207/1028a4f4/attachment.htm From chris.d.williams at gmail.com Sun Dec 9 15:11:24 2007 From: chris.d.williams at gmail.com (Chris Williams) Date: Sun Dec 9 15:11:27 2007 Subject: [Locomotive-users] How to change locomotive to accept outside http connections Message-ID: I am trying to test my rails app from parallels but I am unable to connect to it running in locomotive on the Mac. I am assuming that whatever web server is running limits it to connections from localhost. I know with webbrick, you pass a -b 0.0.0.0. I poked around some to look at the startup scripts but didn't want to mess things up. Any suggestions of what I should change to enable external connections? Thanks Chris From contact at gilgam.com Sun Dec 9 15:51:02 2007 From: contact at gilgam.com (NG) Date: Sun Dec 9 15:51:11 2007 Subject: [Locomotive-users] How to change locomotive to accept outside http connections In-Reply-To: References: Message-ID: Le 9 d?c. 07 ? 16:11, Chris Williams a ?crit : > I am trying to test my rails app from parallels but I am unable to > connect to it running in locomotive on the Mac. I am assuming that > whatever web server is running limits it to connections from > localhost. I know with webbrick, you pass a -b 0.0.0.0. I poked > around some to look at the startup scripts but didn't want to mess > things up. Any suggestions of what I should change to enable external > connections? > > Thanks > Chris bizarre ... I have an acces via fusion (vmware) to my locomotive run application. Locomotive doesn't limits from localhost, i've used it in production with five computers in an intranet (not recommended though ;-) ) what kind of Ip do you give to your Win browser ? > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From chris.d.williams at gmail.com Sun Dec 9 16:05:07 2007 From: chris.d.williams at gmail.com (Chris Williams) Date: Sun Dec 9 16:05:15 2007 Subject: [Locomotive-users] How to change locomotive to accept outside http connections In-Reply-To: References: Message-ID: I figured it out. It was the firewall settings on the mac that was blocking the rails ports. Of course I figured it out as soon as I sent the email :) Thanks! CW On Dec 9, 2007 10:51 AM, NG wrote: > > Le 9 d?c. 07 ? 16:11, Chris Williams a ?crit : > > > > I am trying to test my rails app from parallels but I am unable to > > connect to it running in locomotive on the Mac. I am assuming that > > whatever web server is running limits it to connections from > > localhost. I know with webbrick, you pass a -b 0.0.0.0. I poked > > around some to look at the startup scripts but didn't want to mess > > things up. Any suggestions of what I should change to enable external > > connections? > > > > Thanks > > Chris > > bizarre ... > > I have an acces via fusion (vmware) to my locomotive run application. > > Locomotive doesn't limits from localhost, i've used it in production > with five computers in an intranet (not recommended though ;-) ) > > what kind of Ip do you give to your Win browser ? > > > > _______________________________________________ > > 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 > From ronald.fischer at fusshuhn.de Mon Dec 10 17:26:33 2007 From: ronald.fischer at fusshuhn.de (Ronald Fischer) Date: Mon Dec 10 17:26:45 2007 Subject: [Locomotive-users] Locomotive Terminal destroys my PATH Message-ID: <7B15F272-7FAC-487E-9309-EF09E1A02E59@fusshuhn.de> I'm using Locomotive 2.0.8 on the Mac. My .bash_profile - in its essence - looks like this: export PATH=.:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$PATH Now I found that when I open a Terminal from within Locomotive (i.e. Applications/OpenTerminal), /usr/local/mysql/bin is missing from my PATH (although ~/bin is there). I traced what happens (set -x in .bash_profile) and found the following: First, my PATH is set in the expected way, i.e. + export PATH=.:/Users/fusshuhn/bin:/usr/local/bin:/usr/local/mysql/ bin:/bin:/sbin:/usr/bin:/usr/sbin But after that, I see the following statement in the trace: source /private/var/tmp/folders.501/TemporaryItems/2A10481D-7F30-4633- A1DA-2EBB84EC987A-260-00000575DDDFE4E0.environment.bash It seems that Locomotive has created a temporary file containing bash commands, which are now source (after my .bash_profile). During this process, I see the execution of the following command: ++ export PATH=/Applications/Locomotive2/Bundles/ standardRailsMar2007.locobundle/i386/bin:/Applications/Locomotive2/ Bundles/standardRailsMar2007.locobundle/i386/sbin:/Users/fusshuhn/ bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: It is at this place, where my PATH is changed. Interestingly, Locomotive *does* include my $HOME/bin. Historically, my first version of .bash_profile included only $HOME/bin in my PATH. Then I installed Locomotive, then I ran the Tools/Terminal.appStartupFixTool, and finally I installed MySql and updated .bash_profile so that it now contains also the directory /usr/ local/mysql/bin. Could it be that Locomotive, does not recognized the changes I did in my profile? Well, I run the StarupFix Tool again, but no change: I still don't have my MySql directory included in my PATH... Is this a bug in Locomotive? Ronald -- Ronald Fischer http://www.fusshuhn.de/ From justin at ljs.nl Mon Dec 10 23:56:51 2007 From: justin at ljs.nl (Justin Case Schilder) Date: Mon Dec 10 23:57:03 2007 Subject: [Locomotive-users] Locomotive Terminal destroys my PATH In-Reply-To: <7B15F272-7FAC-487E-9309-EF09E1A02E59@fusshuhn.de> References: <7B15F272-7FAC-487E-9309-EF09E1A02E59@fusshuhn.de> Message-ID: <16244.195.241.127.202.1197331011.squirrel@mail.ljs.nl> Open locomotive's preferences pane. Under the terminal tab you can add additional paths. On Mon, December 10, 2007 6:26 pm, Ronald Fischer wrote: > I'm using Locomotive 2.0.8 on the Mac. > > My .bash_profile - in its essence - looks like this: > > export PATH=.:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$PATH > > Now I found that when I open a Terminal from within Locomotive (i.e. > Applications/OpenTerminal), /usr/local/mysql/bin is missing from my > PATH (although ~/bin is there). > > I traced what happens (set -x in .bash_profile) and found the > following: > > First, my PATH is set in the expected way, i.e. > > + export PATH=.:/Users/fusshuhn/bin:/usr/local/bin:/usr/local/mysql/ > bin:/bin:/sbin:/usr/bin:/usr/sbin > > But after that, I see the following statement in the trace: > > source /private/var/tmp/folders.501/TemporaryItems/2A10481D-7F30-4633- > A1DA-2EBB84EC987A-260-00000575DDDFE4E0.environment.bash > > It seems that Locomotive has created a temporary file containing bash > commands, > which are now source (after my .bash_profile). During this process, I > see the > execution of the following command: > > ++ export PATH=/Applications/Locomotive2/Bundles/ > standardRailsMar2007.locobundle/i386/bin:/Applications/Locomotive2/ > Bundles/standardRailsMar2007.locobundle/i386/sbin:/Users/fusshuhn/ > bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: > > It is at this place, where my PATH is changed. > > Interestingly, Locomotive *does* include my $HOME/bin. Historically, > my first version > of .bash_profile included only $HOME/bin in my PATH. Then I installed > Locomotive, > then I ran the Tools/Terminal.appStartupFixTool, and finally I > installed MySql and > updated .bash_profile so that it now contains also the directory /usr/ > local/mysql/bin. > Could it be that Locomotive, does not recognized the changes I did in > my profile? > > Well, I run the StarupFix Tool again, but no change: I still don't > have my MySql > directory included in my PATH... > > Is this a bug in Locomotive? > > Ronald > > -- > Ronald Fischer > http://www.fusshuhn.de/ > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > From ronald.fischer at fusshuhn.de Thu Dec 13 15:55:56 2007 From: ronald.fischer at fusshuhn.de (Ronald Fischer) Date: Thu Dec 13 15:56:04 2007 Subject: [Locomotive-users] Locomotive Terminal destroys my PATH In-Reply-To: <16244.195.241.127.202.1197331011.squirrel@mail.ljs.nl> References: <7B15F272-7FAC-487E-9309-EF09E1A02E59@fusshuhn.de> <16244.195.241.127.202.1197331011.squirrel@mail.ljs.nl> Message-ID: <28152546-30A7-468F-9A4F-FC2CFEDB6416@fusshuhn.de> On 11.12.2007, at 00:56, Justin Case Schilder wrote: > Open locomotive's preferences pane. Under the terminal tab you can add > additional paths. Thank you! That fixed it! Ronald -- Ronald Fischer http://www.fusshuhn.de/ From leonardofaria at gmail.com Tue Dec 18 00:17:45 2007 From: leonardofaria at gmail.com (Leonardo Faria) Date: Tue Dec 18 00:17:49 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? Message-ID: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> hi dudes it's my first message here. i live in brazil and use Locomotive since february. my first question: is there any problem in use locomotive with rails manually installed? my second question: last week rails 2.0 was release. is there any prevision of release a new bundle with rails 2? i manually upgrade my system using gem install rails -y --source http://gems.rubyonrails.org and after gem update --system, in a blank application off locomotive (i wrote a recipe in http://leonardofaria.net/2007/12/16/locomotive-com-rails-20/). after this, in terminal, executed "rails _2.0.1_ test" and added this application in locomotive list. it's works fine! the problems appear with executed rake rails:freeze:gems to upload my application to server. after this, my application don't worked more. i created a new application and returned fine. chears, -- Leonardo Faria leonardofaria.net From grail at goldweb.com.au Tue Dec 18 00:34:31 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue Dec 18 00:34:55 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> Message-ID: On 18/12/2007, at 11:17 , Leonardo Faria wrote: > my second question: > last week rails 2.0 was release. is there any prevision of release a > new bundle with rails 2? > i manually upgrade my system using gem install rails -y --source > http://gems.rubyonrails.org This is the method I use to manage multiple applications that rely on different versions of various packages. I simply duplicate the Locomotive Bundle, configure the application to use the duplicate, then update from the command line. It works fine for me. Alex From leonardofaria at gmail.com Tue Dec 18 00:43:18 2007 From: leonardofaria at gmail.com (Leonardo Faria) Date: Tue Dec 18 00:43:23 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> Message-ID: <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> On 17/12/2007, Alex Satrapa wrote: > This is the method I use to manage multiple applications that rely on > different versions of various packages. I simply duplicate the > Locomotive Bundle, configure the application to use the duplicate, > then update from the command line. your bundle is running with rails 2? can you publish your bundle? thanks. chears. -- Leonardo Faria leonardofaria.net From adam at rokslide.com Tue Dec 18 03:13:58 2007 From: adam at rokslide.com (Adam Salter) Date: Tue Dec 18 03:14:06 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> Message-ID: <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> Perhaps the Locomotive app could be updated to default use the system version - i.e. default Rails on Leopard - i.e. current MacPorts bundle... Then other bundles could be made as needed by individuals... On 18/12/2007, at 11:43 AM, Leonardo Faria wrote: > On 17/12/2007, Alex Satrapa wrote: >> This is the method I use to manage multiple applications that rely on >> different versions of various packages. I simply duplicate the >> Locomotive Bundle, configure the application to use the duplicate, >> then update from the command line. > > your bundle is running with rails 2? can you publish your bundle? > thanks. chears. > > -- > Leonardo Faria > leonardofaria.net > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From contact at gilgam.com Tue Dec 18 08:05:54 2007 From: contact at gilgam.com (NG) Date: Tue Dec 18 08:06:02 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> Message-ID: <42755403-485B-4876-BFF2-2F72BE487D7E@gilgam.com> As i see there is a method to upgrade the bundle to rails 2.1 ... How can i do this , in the terminal ? via gem install rails ? thanks for your answer by the way how can i see which code is deprecated in my web app ? NG Gilgam Conseil, Webdesign & Formation sur Gilgam - Blog contact - contact@gilgam.com From adam at rokslide.com Tue Dec 18 09:48:15 2007 From: adam at rokslide.com (Adam Salter) Date: Tue Dec 18 09:49:11 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: <42755403-485B-4876-BFF2-2F72BE487D7E@gilgam.com> References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> <42755403-485B-4876-BFF2-2F72BE487D7E@gilgam.com> Message-ID: NG, Essentially correct. Use the terminal in Locomotive (Cmd-T) and do a gem update deprecations will show up if you use the terminal and run the mongrel instance with: mongrel_rails start On 18/12/2007, at 7:05 PM, NG wrote: > > > As i see there is a method to upgrade the bundle to rails 2.1 ... > > How can i do this , in the terminal ? via gem install rails ? > > thanks for your answer > > by the way how can i see which code is deprecated in my web app ? > > > NG > > > > > Gilgam > Conseil, Webdesign & Formation sur Gilgam - Blog > contact - contact@gilgam.com > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From leonardofaria at gmail.com Tue Dec 18 12:31:19 2007 From: leonardofaria at gmail.com (Leonardo Faria) Date: Tue Dec 18 12:31:24 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> <42755403-485B-4876-BFF2-2F72BE487D7E@gilgam.com> Message-ID: <9355d8c0712180431g64e65f75ybba30ecc8645a68e@mail.gmail.com> and my another question: i running still tiger. can you install rails, ruby and others gems without problems with locomotive? or is there any conflict? thanks so much. chears. -- Leonardo Faria leonardofaria.net From grail at goldweb.com.au Tue Dec 18 13:13:31 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue Dec 18 13:13:56 2007 Subject: [Locomotive-users] 2 questions: manual installation and rails 2? In-Reply-To: <9355d8c0712180431g64e65f75ybba30ecc8645a68e@mail.gmail.com> References: <9355d8c0712171617r38af84eeu68b0f22e227d3a67@mail.gmail.com> <9355d8c0712171643u28fc37cfldefe681b05d9087e@mail.gmail.com> <3426AAA3-AFFE-49F3-A79D-FE42CE5D1AFD@rokslide.com> <42755403-485B-4876-BFF2-2F72BE487D7E@gilgam.com> <9355d8c0712180431g64e65f75ybba30ecc8645a68e@mail.gmail.com> Message-ID: <5A1FA091-A6CE-4DE2-8F4E-8F5CFE21F2CE@goldweb.com.au> On 18/12/2007, at 23:31 , Leonardo Faria wrote: > i running still tiger. can you install rails, ruby and others gems > without problems with locomotive? or is there any conflict? As long as you use the Terminal as opened up by Locomotive, you can upgrade gems to your heart's content - it's all packaged up within the Locomotive bundle that you selected for that application. What I would suggest first is making a copy of the bundle, renaming it after the webapp you're supporting, then in Locomotive set your webapp to use that new bundle, then open the Terminal window to start upgrading gems. This has no effect on the system, as far as I've seen - the Locomotive bundles include everything from ruby itself through to the rails gems. Alex From echo65 at delirium.ch Tue Dec 25 23:09:51 2007 From: echo65 at delirium.ch (Sven Schwyn) Date: Tue Dec 25 23:15:45 2007 Subject: [Locomotive-users] Ruby 1.9 and Rails 2 Bundle Message-ID: <42E1B790-07F2-43EA-85A7-6522E3F2F860@delirium.ch> Hi I'm trapped in a Ruby 1.8 issue, however, my knowledge is only good enough to update existing bundles to Rails 2, but not to Ruby 1.9. Is anybody working on a "Ruby 1.9 and Rails 2" bundle at this point? Cheers, -sven From stephen.bannasch at deanbrook.org Thu Dec 27 22:20:19 2007 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Thu Dec 27 22:21:51 2007 Subject: [Locomotive-users] New Locomotive bundle? In-Reply-To: <2C482E85-CC80-4E71-B3AF-8DC737C27DBC@agorapr.com> References: <51896.24.132.23.217.1196004959.squirrel@service.opendomein.nl> <33D01729-8368-49FE-A680-CD6827239558@mac.com> <2C482E85-CC80-4E71-B3AF-8DC737C27DBC@agorapr.com> Message-ID: >I tried it and got some errors but eventually it installed successfully. >See below >Bulk updating Gem source index for: >http://gems.rubyforge.org >Install required dependency activesupport? [Yn] Y >Install required dependency activerecord? [Yn] Y >Install required dependency actionpack? [Yn] Y >Install required dependency actionmailer? [Yn] Y >ERROR: While executing gem ... (OpenURI::HTTPError) > 404 Not Found >ron-binghams-computer:~/thought_log ron$ gem install rails >Install required dependency actionmailer? [Yn] Y >Install required dependency actionwebservice? [Yn] Y >ERROR: While executing gem ... (OpenURI::HTTPError) > 404 Not Found >ron-binghams-computer:~/thought_log ron$ gem install rails >ERROR: While executing gem ... (OpenURI::HTTPError) > 404 Not Found >ron-binghams-computer:~/thought_log ron$ gem install rails >Successfully installed rails-1.2.6 >ron-binghams-computer:~/thought_log ron$ >Ron Bingham I think those are just network errors. I'm not sure why gem install it appears to be more fragile to network issues than previously. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20071227/82dc7c7b/attachment.htm From ol1barn3s at gmail.com Fri Dec 28 22:14:02 2007 From: ol1barn3s at gmail.com (Oliver Barnes) Date: Fri Dec 28 22:14:08 2007 Subject: [Locomotive-users] ERROR: Failed to build gem native extension Message-ID: <2650f8c00712281414n4e16235r2e27ef60420fa28f@mail.gmail.com> Hello, I'm not sure this is a problem related directly to locomotive, but since it's about gem installs while using locomotive bundles, I figured somebody here might have a clue to what's going on... I've been trying to install two gems that require native C extensions, hpricot and unicode, without success, though I do have xcode tools installed with gcc etc. I get similar errors for both, about not finding header files: for hpricot: ~/Sites/soma $gem install hpricot Building native extensions. This could take a while... ERROR: Error installing hpricot: ERROR: Failed to build gem native extension. /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/ruby extconf.rb install hpricot checking for main() in -lc... no creating Makefile make gcc -I. -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include -fno-common -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include -pipe -fno-common -c hpricot_scan.c In file included from ext/hpricot_scan/hpricot_scan.rl:9: /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:40:21: error: stdlib.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:44:21: error: string.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:54:19: error: stdio.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:71:20: error: alloca.h: No such file or directory In file included from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/syslimits.h:7, from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:11, from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:91, from ext/hpricot_scan/hpricot_scan.rl:9: /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:122:61: error: limits.h: No such file or directory In file included from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:718, from ext/hpricot_scan/hpricot_scan.rl:9: /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:16:24: error: sys/time.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:25:25: error: sys/types.h: No such file or directory make: *** [hpricot_scan.o] Error 1 and for unicode: ~/Sites/soma $gem install unicode Building native extensions. This could take a while... ERROR: Error installing unicode: ERROR: Failed to build gem native extension. /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/ruby extconf.rb install unicode creating Makefile make gcc -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include -fno-common -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include -pipe -fno-common -c unicode.c In file included from unicode.c:7: /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:40:21: error: stdlib.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:44:21: error: string.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:54:19: error: stdio.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:71:20: error: alloca.h: No such file or directory In file included from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/syslimits.h:7, from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:11, from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:91, from unicode.c:7: /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:122:61: error: limits.h: No such file or directory In file included from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:718, from unicode.c:7: /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:16:24: error: sys/time.h: No such file or directory /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:25:25: error: sys/types.h: No such file or directory In file included from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:719, from unicode.c:7: make: *** [unicode.o] Error 1 I'm using the rmagick march 2007 bundle, and I have xcode 2.4.1 installed on tiger, mac os 10.4.11. I'm downloading xcode tools 2.5, just in case there are any tools I'm missing to compile extensions for ruby 1.8.6. Does anybody have any suggestions for what I could be missing? thanks in advance, Oliver From ol1barn3s at gmail.com Sat Dec 29 03:59:14 2007 From: ol1barn3s at gmail.com (Oliver Barnes) Date: Sat Dec 29 03:59:21 2007 Subject: [Locomotive-users] Re: ERROR: Failed to build gem native extension In-Reply-To: <2650f8c00712281414n4e16235r2e27ef60420fa28f@mail.gmail.com> References: <2650f8c00712281414n4e16235r2e27ef60420fa28f@mail.gmail.com> Message-ID: <2650f8c00712281959g28f007eaoe4884becb5d04265@mail.gmail.com> answering my own question: I upgraded my XCode Tools install to 2.5, and the gems installed just fine... sorry for the noise 2007/12/28, Oliver Barnes : > Hello, > > I'm not sure this is a problem related directly to locomotive, but > since it's about gem installs while using locomotive bundles, I > figured somebody here might have a clue to what's going on... > > I've been trying to install two gems that require native C extensions, > hpricot and unicode, without success, though I do have xcode tools > installed with gcc etc. I get similar errors for both, about not > finding header files: > > for hpricot: > > ~/Sites/soma $gem install hpricot > Building native extensions. This could take a while... > ERROR: Error installing hpricot: > ERROR: Failed to build gem native extension. > > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/ruby > extconf.rb install hpricot > checking for main() in -lc... no > creating Makefile > > make > gcc -I. -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 > -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include > -fno-common -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include > -pipe -fno-common -c hpricot_scan.c > In file included from ext/hpricot_scan/hpricot_scan.rl:9: > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:40:21: > error: stdlib.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:44:21: > error: string.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:54:19: > error: stdio.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:71:20: > error: alloca.h: No such file or directory > In file included from > /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/syslimits.h:7, > from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:11, > from > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:91, > from ext/hpricot_scan/hpricot_scan.rl:9: > /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:122:61: error: > limits.h: No such file or directory > In file included from > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:718, > from ext/hpricot_scan/hpricot_scan.rl:9: > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:16:24: > error: sys/time.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:25:25: > error: sys/types.h: No such file or directory > > make: *** [hpricot_scan.o] Error 1 > > and for unicode: > > ~/Sites/soma $gem install unicode > Building native extensions. This could take a while... > ERROR: Error installing unicode: > ERROR: Failed to build gem native extension. > > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/ruby > extconf.rb install unicode > creating Makefile > > make > gcc -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 > -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1 > -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include > -fno-common -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include > -pipe -fno-common -c unicode.c > In file included from unicode.c:7: > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:40:21: > error: stdlib.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:44:21: > error: string.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:54:19: > error: stdio.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:71:20: > error: alloca.h: No such file or directory > In file included from > /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/syslimits.h:7, > from /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:11, > from > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:91, > from unicode.c:7: > /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/limits.h:122:61: error: > limits.h: No such file or directory > In file included from > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:718, > from unicode.c:7: > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:16:24: > error: sys/time.h: No such file or directory > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/missing.h:25:25: > error: sys/types.h: No such file or directory > In file included from > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:719, > from unicode.c:7: > > make: *** [unicode.o] Error 1 > > > I'm using the rmagick march 2007 bundle, and I have xcode 2.4.1 > installed on tiger, mac os 10.4.11. > > I'm downloading xcode tools 2.5, just in case there are any tools I'm > missing to compile extensions for ruby 1.8.6. > > Does anybody have any suggestions for what I could be missing? > > thanks in advance, > Oliver >