From malavoi at gmail.com Fri Sep 1 22:50:04 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Fri Sep 1 22:50:08 2006 Subject: [Locomotive-users] Install problem Message-ID: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> Hello, When i use locomotive with a account user with no power i have this message error pc-mq-dsi3:~/Documents/Coding-Dev/demo root# gem install rspec /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match executable version (1.8.2) (RuntimeError) from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 Can u help me ? tks -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060901/1935aa21/attachment.htm From rmarples at gmail.com Sat Sep 2 06:38:11 2006 From: rmarples at gmail.com (Ryan) Date: Sat Sep 2 06:40:14 2006 Subject: [Locomotive-users] Problem creating application Message-ID: Hi folks - I have myself a brand spanking new MacBook Pro and I've installed MySQL today on it and have just downloaded and attempted to work with Locomotive. The app runs fine but when I attempt to create an application, it hangs. Checking the System Console reveals the following: 2006-09-01 23:32:00.197 Locomotive[4265] *** NSTask: Task create for path /Applications/Locomotive2/Bundles/rails112.locobundle/bin/environment failed: 2, "No such file or directory". Sep 1 23:32:00 rmbook crashdump[4266]: Locomotive crashed 2006-09-01 23:32:00.885 Locomotive[4264] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value Sep 1 23:32:01 rmbook crashdump[4266]: crash report written to: /Users/ryan/Library/Logs/CrashReporter/Locomotive.crash.log Any ideas? Ryan From ryan.raaum at gmail.com Sat Sep 2 12:52:15 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 2 12:52:21 2006 Subject: [Locomotive-users] Can't start application In-Reply-To: <47E43A6F-3B16-41F0-94D8-E914C19668BE@mac.com> References: <24A5736B-F21F-4166-A67B-D85562E2F4F3@waits.net> <47E43A6F-3B16-41F0-94D8-E914C19668BE@mac.com> Message-ID: On 8/31/06, Lori M Olson wrote: > > > On 28-Aug-06, at 5:19 PM, Ryan Raaum wrote: > > What happens if you open a shell (normally, not from Locomotive), navigate > to the bundle bin directory, start irb, and do: > > require 'open4' > pid, stdin, stdout, stderr = Open4.popen4("./environment --format ruby") > env_dict = eval(stdout.read) > > > This happens. Looks right. I'm really puzzled now. > Me as well. What happens if you use a different user account? -r lori@kirin~/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/bin > $ irb > irb(main):001:0> require 'open4' > => true > irb(main):002:0> pid, stdin, stdout, stderr = Open4.popen4("./environment > --format ruby") > => [732, #, #, #] > irb(main):003:0> env_dict = eval(stdout.read) > => {"GS_FONTPATH"=>"/usr/lib/X11/fonts/Type1:/usr/lib/X11/fonts/TTF", > "GS_LIB"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/share/ghostscript/8.50/lib:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/share/ghostscript/fonts", > "MAGICK_CODER_MODULE_PATH"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ImageMagick- > 6.2.6/modules-Q16/coders", > "RUBYLIB"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ruby/site_ruby/1.8:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/powerpc- > darwin7.9.0:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ruby/1.8:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ruby/1.8/powerpc-darwin7.9.0", > "PATH"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/bin:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/lori/bin:/Developer/Applications/Oracle/instantclient10_1", > "HOME"=>"/Users/lori", > "DYLD_FALLBACK_LIBRARY_PATH"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib:/Developer/Applications/Oracle/instantclient10_1", > "MAGICK_CONFIGURE_PATH"=>"/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/lib/ImageMagick- > 6.2.6 > /config:/Users/lori/Applications/Locomotive2/Bundles/rails112rmagickoci8_ppc.locobundle/framework/share/ImageMagick- > 6.2.6/config"} > irb(main):004:0> > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060902/e164b2f9/attachment.htm From ryan.raaum at gmail.com Sat Sep 2 12:53:43 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 2 12:54:09 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> Message-ID: On 9/1/06, Bolo Michelin wrote: > > Hello, > > When i use locomotive with a account user with no power i have this > message error > > pc-mq-dsi3:~/Documents/Coding-Dev/demo root# gem install rspec > If your user has no admin power, you have to install gems using sudo. Also, did you open this Terminal from Locomotive? Best, -r /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match > executable version (1.8.2) (RuntimeError) > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 > > Can u help me ? > > tks > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060902/ac0c6e14/attachment.htm From ryan.raaum at gmail.com Sat Sep 2 12:58:25 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 2 12:58:30 2006 Subject: [Locomotive-users] Problem creating application In-Reply-To: References: Message-ID: On 9/2/06, Ryan wrote: > > Hi folks - I have myself a brand spanking new MacBook Pro and I've > installed > MySQL today on it and have just downloaded and attempted to work with > Locomotive. The app runs fine but when I attempt to create an application, > it > hangs. Checking the System Console reveals the following: Hm. Not sure. Does reinstalling Locomotive help at all? Best, -r 2006-09-01 23:32:00.197 Locomotive[4265] *** NSTask: Task create for path > /Applications/Locomotive2/Bundles/rails112.locobundle/bin/environment > failed: 2, > "No such file or directory". > Sep 1 23:32:00 rmbook crashdump[4266]: Locomotive crashed > 2006-09-01 23:32:00.885 Locomotive[4264] *** -[NSCFDictionary > setObject:forKey:]: attempt to insert nil value > Sep 1 23:32:01 rmbook crashdump[4266]: crash report written to: > /Users/ryan/Library/Logs/CrashReporter/Locomotive.crash.log > > Any ideas? > > Ryan > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060902/f912dd57/attachment.htm From malavoi at gmail.com Sat Sep 2 15:08:14 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Sat Sep 2 15:08:18 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> Message-ID: <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> Hello Ryan > If your user has no admin power, you have to install gems using sudo. > yes my user don't have no admin power Also, did you open this Terminal from Locomotive? > yes also i open this terminal from locomtive Thanks -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060902/228973e4/attachment.htm From steve.odom at gmail.com Sat Sep 2 17:13:15 2006 From: steve.odom at gmail.com (Steve Odom) Date: Sat Sep 2 17:13:24 2006 Subject: [Locomotive-users] respond_to strangeness Message-ID: <222C3B7D-26BB-4127-A9B3-FD76E10E8B85@gmail.com> Hi, I'm using Locomotive with the 1.1.2 bundle and in the process of RESTifying my site. I'm having a strange problem and wonder if it is related to Locomotive somehow. because I'm out of troubleshooting ideas in rails. Part of my confusion is how whether I can run edge_rails stuff, or at least upgrade my vendor/rails directory and how that effects locomotive. Here is my problem.. In my controller if I have something like.... def show @question = Question.find(2) end It displays my show.rhtml file with no problems. If I add respond_to like.... def show @question = Question.find(2) respond_to do |type| type.html type.js type.xml { render :xml => @question.to_xml } end ..then it starts throwing a "No rhtml, rxml, rjs or delegate template found for questions/show.rhtml" Despite the fact that my show.rhtml file is there. But it will successfully show questions/2.xml in xml format. I can get the html to work if I change the type.html line to: type.html { render :action => 'show'}, but I shouldn't have to do that. The complete error log it generates is: No rhtml, rxml, rjs or delegate template found for questions/ show.rhtml in /Users/steveodom/Documents/trivionomy/trunk/app/views RAILS_ROOT: /Users/steveodom/Documents/trivionomy/trunk/public/../ config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:390:in `find_template_extension_for' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:324:in `pick_template_extension' #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: 29:in `locate_globalize_path' #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: 10:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 747:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 669:in `render_with_no_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 790:in `render_without_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 739:in `render_action' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 691:in `render_with_no_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb: 244:in `render_without_benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:50:in `render' /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ 1.8/benchmark.rb:293:in `measure' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:50:in `render' #{RAILS_ROOT}/app/controllers/questions_controller.rb:69:in `show' #{RAILS_ROOT}/app/controllers/questions_controller.rb:69:in `show' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:390:in `find_template_extension_for' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:324:in `pick_template_extension' #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: 29:in `locate_globalize_path' #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: 10:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 747:in `render_file' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 669:in `render_with_no_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 790:in `render_without_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 739:in `render_action' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 691:in `render_with_no_layout' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb: 244:in `render_without_benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:50:in `render' /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ 1.8/benchmark.rb:293:in `measure' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:50:in `render' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ mime_responds.rb:164:in `respond' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ mime_responds.rb:158:in `respond' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ mime_responds.rb:106:in `respond_to' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 982:in `perform_action_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ filters.rb:363:in `perform_action_without_benchmark' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:66:in `perform_action_without_rescue' /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ 1.8/benchmark.rb:293:in `measure' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:66:in `perform_action_without_rescue' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb: 80:in `perform_action' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 410:in `process_without_filters' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ filters.rb:372:in `process_without_session_management_support' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ session_management.rb:114:in `process' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: 321:in `process' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!' /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:600:in `each_cgi' /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:597:in `each_cgi' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!' #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!' /Users/steveodom/Documents/trivionomy/trunk/public/dispatch.fcgi:24 I've got a windows machine I could set up to run rails to see if it works outside of locomotive, but I'd like to not do that if I don't have to. Thanks, Steve Odom From ryan.raaum at gmail.com Sat Sep 2 18:00:40 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 2 18:00:46 2006 Subject: [Locomotive-users] respond_to strangeness In-Reply-To: <222C3B7D-26BB-4127-A9B3-FD76E10E8B85@gmail.com> References: <222C3B7D-26BB-4127-A9B3-FD76E10E8B85@gmail.com> Message-ID: Hi Steve, On 9/2/06, Steve Odom wrote: > > Hi, I'm using Locomotive with the 1.1.2 bundle and in the process of > RESTifying my site. > > I'm having a strange problem and wonder if it is related to > Locomotive somehow. because I'm out of troubleshooting ideas in > rails. Part of my confusion is how whether I can run edge_rails > stuff, or at least upgrade my vendor/rails directory and how that > effects locomotive. You should be able to run edge rails following the standard methods for setting that up. There shouldn't be any particular problems with doing that in Locomotive. Looking at your trace, I don't know that I have anything stunning to offer. Maybe cut out your benchmarking code as it seems like that is throwing some errors. Also, I have no idea if there are any issues with lighttpd/fastcgi and any of these issues; you could try adding a line with "server = mongrel" in your config/locomotive.yml file to see if switching to mongrel changes anything. Best, -r Here is my problem.. > > In my controller if I have something like.... > > def show > @question = Question.find(2) > end > > It displays my show.rhtml file with no problems. > > If I add respond_to like.... > > def show > @question = Question.find(2) > respond_to do |type| > type.html > type.js > type.xml { render :xml => @question.to_xml } > end > > > ..then it starts throwing a "No rhtml, rxml, rjs or delegate template > found for questions/show.rhtml" Despite the fact that my show.rhtml > file is there. > > But it will successfully show questions/2.xml in xml format. > > I can get the html to work if I change the type.html line to: > type.html { render :action => 'show'}, but I shouldn't have to do that. > > The complete error log it generates is: > No rhtml, rxml, rjs or delegate template found for questions/ > show.rhtml in /Users/steveodom/Documents/trivionomy/trunk/app/views > > RAILS_ROOT: /Users/steveodom/Documents/trivionomy/trunk/public/../ > config/.. > Application Trace | Framework Trace | Full Trace > > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:390:in > `find_template_extension_for' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:324:in > `pick_template_extension' > #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: > 29:in `locate_globalize_path' > #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: > 10:in `render_file' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 747:in `render_file' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 669:in `render_with_no_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 790:in `render_without_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 739:in `render_action' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 691:in `render_with_no_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb: > 244:in `render_without_benchmark' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:50:in `render' > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > 1.8/benchmark.rb:293:in `measure' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:50:in `render' > #{RAILS_ROOT}/app/controllers/questions_controller.rb:69:in `show' > #{RAILS_ROOT}/app/controllers/questions_controller.rb:69:in `show' > > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:390:in > `find_template_extension_for' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:324:in > `pick_template_extension' > #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: > 29:in `locate_globalize_path' > #{RAILS_ROOT}/vendor/plugins/trunk/lib/globalize/rails/action_view.rb: > 10:in `render_file' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 747:in `render_file' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 669:in `render_with_no_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 790:in `render_without_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 739:in `render_action' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 691:in `render_with_no_layout' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb: > 244:in `render_without_benchmark' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:50:in `render' > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > 1.8/benchmark.rb:293:in `measure' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:50:in `render' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > mime_responds.rb:164:in `respond' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > mime_responds.rb:158:in `respond' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > mime_responds.rb:106:in `respond_to' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 982:in `perform_action_without_filters' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > filters.rb:363:in `perform_action_without_benchmark' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:66:in `perform_action_without_rescue' > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > 1.8/benchmark.rb:293:in `measure' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:66:in `perform_action_without_rescue' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb: > 80:in `perform_action' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 410:in `process_without_filters' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > filters.rb:372:in `process_without_session_management_support' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ > session_management.rb:114:in `process' > #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb: > 321:in `process' > #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch' > #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in > `process_request' > #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!' > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:600:in `each_cgi' > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/ > gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:597:in `each_cgi' > #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!' > #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!' > /Users/steveodom/Documents/trivionomy/trunk/public/dispatch.fcgi:24 > > I've got a windows machine I could set up to run rails to see if it > works outside of locomotive, but I'd like to not do that if I don't > have to. > > Thanks, > > Steve Odom > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060902/599f67b8/attachment.htm From laurie at ljd-tech.com Sat Sep 2 22:06:40 2006 From: laurie at ljd-tech.com (Laurie Davis) Date: Sun Sep 3 00:06:01 2006 Subject: [Locomotive-users] TextMate Integration Message-ID: I am using both Locomotive and TextMate. Most things work just fine, but there are a couple of nagging problems. Hours searching through mailing lists and blogs have suggested that others have seen the problem, but I have not seen a solution posted. When I try to use the TextMate bundle to run scripts, they appear to run correctly (I get all the correct prompts), but nothing actually happens. For example, if I run "Call Generate Script", I get asked what I want to generate (e.g. controller) and then asked for the name of the controller and the actions. Unfortunately nothing actually gets done. The second problem is "Show DB Schema for Current Class" . In this case I get the following error: ... config/boot.rb:18:in 'require': No such file to load -- rubygems (Load Error). This suggests to me that TextMate does not know the path to the Locomotive files. I am sure that there is a simple solution to this, but I have not been able to find it. Thanks, Laurie From malavoi at gmail.com Sun Sep 3 12:07:58 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Sun Sep 3 12:08:02 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> Message-ID: <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> No body ? 2006/9/2, Bolo Michelin : > > Hello Ryan > > > > If your user has no admin power, you have to install gems using sudo. > > > > yes my user don't have no admin power > > Also, did you open this Terminal from Locomotive? > > > > yes also i open this terminal from locomtive > > Thanks > > > -- > Bolo Michelin > web: http://www.independza.com > -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060903/c470f1ff/attachment.htm From ray at warmroom.com Sun Sep 3 13:45:23 2006 From: ray at warmroom.com (Ray Baxter) Date: Sun Sep 3 13:45:35 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> Message-ID: <44FADC73.7000200@warmroom.com> Bolo Michelin wrote: > No body ? Did you try using sudo? Ray > > 2006/9/2, Bolo Michelin >: > > Hello Ryan > > > If your user has no admin power, you have to install gems > using sudo. > > > yes my user don't have no admin power > > Also, did you open this Terminal from Locomotive? > > > yes also i open this terminal from locomtive > > Thanks > > > -- > Bolo Michelin > web: http://www.independza.com > > > > > -- > Bolo Michelin > web: http://www.independza.com > ------------------------------------------------------------------------ > > _______________________________________________ > 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/20060903/74fed445/attachment.htm From ryan.raaum at gmail.com Sun Sep 3 15:24:41 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sun Sep 3 15:24:48 2006 Subject: [Locomotive-users] TextMate Integration In-Reply-To: References: Message-ID: Hi, On 9/2/06, Laurie Davis wrote: > > I am using both Locomotive and TextMate. Most things work just fine, > but there are a couple of nagging problems. Hours searching through > mailing lists and blogs have suggested that others have seen the > problem, but I have not seen a solution posted. > > When I try to use the TextMate bundle to run scripts, they appear to > run correctly (I get all the correct prompts), but nothing actually > happens. For example, if I run "Call Generate Script", I get asked > what I want to generate (e.g. controller) and then asked for the name > of the controller and the actions. Unfortunately nothing actually > gets done. > > The second problem is "Show DB Schema for Current Class" . In this > case I get the following error: ... config/boot.rb:18:in 'require': > No such file to load -- rubygems (Load Error). This suggests to me > that TextMate does not know the path to the Locomotive files. > > I am sure that there is a simple solution to this, but I have not > been able to find it. Unfortunately, there is no simple solution. It would be awesome to have Locomotive and TextMate fully integrated, but that requires significant modification of the TM Rails bundle. -r Thanks, > > Laurie > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060903/224d345d/attachment.htm From sistex at planet.nl Sun Sep 3 18:17:03 2006 From: sistex at planet.nl (justincase) Date: Sun Sep 3 18:17:11 2006 Subject: [Locomotive-users] TextMate Integration In-Reply-To: References: Message-ID: <5E7461CB-30FB-4D36-8B26-96F7BDBC4ACA@planet.nl> On Sep 3, 2006, at 12:06 AM, Laurie Davis wrote: > ... > > When I try to use the TextMate bundle to run scripts, they appear > to run correctly (I get all the correct prompts), but nothing > actually happens. For example, if I run "Call Generate Script", I > get asked what I want to generate (e.g. controller) and then asked > for the name of the controller and the actions. Unfortunately > nothing actually gets done. > > ... This works for me, but it seems to use the 'local' rails and not the Locomotive one. My iBook has a lot of weird settings though. So I tried it on a fairly fresh system. And indeed it didn't work. The only way I *could* get it to work was adding the $PATH Locomotive uses to .profile (so the default terminal also uses it). It's far from ideal and it probably produces unexpected behavior when you have a local version of rails. I never used the DB Schema Command, but that doesn't work on both machines. Even with the search path to Locomotive included. From steenvoorden at tribal-bingo.com Sun Sep 3 23:04:49 2006 From: steenvoorden at tribal-bingo.com (Ruud Steenvoorden) Date: Sun Sep 3 23:02:14 2006 Subject: [Locomotive-users] installing goldberg. Where do generators go? Message-ID: <0DF607A4-DF88-44B4-9C40-9C3293F0FA6A@tribal-bingo.com> Hi all, I'm trying to install Goldberg 0.1.2. (http://goldberg.240gl.org/) I'm using Locomotive2 on OS X 10.4.7 with 2 bundles: the rails112.locobundle and the rails112rmagick_ppc.locobundle. (I downloaded rails112rmagick_ppc.locobundle because it contains the RedCloth and BlueCloth gems that are required.) According to instructions I need to copy the goldberg directory to the directory containing the generators. From the directory structure from the bundles it is not directly clear where it should go. Any advice? cheers, Ruudcho -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060903/3856142a/attachment.htm From malavoi at gmail.com Mon Sep 4 10:51:46 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Mon Sep 4 10:51:50 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <44FADC73.7000200@warmroom.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> Message-ID: <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> Yes :) U don't see my firt messge "When i use locomotive with a account user with no power i have this message error pc-mq-dsi3:~/Documents/Coding-Dev/demo root# gem install rspec /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match executable version (1.8.2) (RuntimeError) from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 " 2006/9/3, Ray Baxter : > > Bolo Michelin wrote: > No body ? > Did you try using sudo? > > Ray > > > > > > 2006/9/2, Bolo Michelin : > > > > Hello Ryan > > > > > > > > > > > > > > > > > > > > > If your user has no admin power, you have to install gems using sudo. > > > > > > > > yes my user don't have no admin power > > > > > > > > > > > > > > > > > > Also, did you open this Terminal from Locomotive? > > > > > > > > yes also i open this terminal from locomtive > > > > Thanks > > > > > > -- > > Bolo Michelin > > web: http://www.independza.com > > > > -- > Bolo Michelin > web: http://www.independza.com > ________________________________ > > _______________________________________________ > 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 > > > -- Bolo Michelin web: http://www.independza.com From sistex at planet.nl Mon Sep 4 11:57:01 2006 From: sistex at planet.nl (justincase) Date: Mon Sep 4 11:57:05 2006 Subject: [Locomotive-users] installing goldberg. Where do generators go? In-Reply-To: <0DF607A4-DF88-44B4-9C40-9C3293F0FA6A@tribal-bingo.com> References: <0DF607A4-DF88-44B4-9C40-9C3293F0FA6A@tribal-bingo.com> Message-ID: <5785562C-0BBE-407E-8CB2-D0D081F006CE@planet.nl> On Sep 4, 2006, at 1:04 AM, Ruud Steenvoorden wrote: > Hi all, > > I'm trying to install Goldberg 0.1.2. (http://goldberg.240gl.org/) > > I'm using Locomotive2 on OS X 10.4.7 with 2 bundles: the > rails112.locobundle and the rails112rmagick_ppc.locobundle. > > (I downloaded rails112rmagick_ppc.locobundle because it contains > the RedCloth and BlueCloth gems that are required.) Locomotive 1.0 required a 'max' bundles for RedCloth/BlueCloth. In locomotive 2, both are included in the standard install. > > According to instructions I need to copy the goldberg directory to > the directory containing the generators. From the directory > structure from the bundles it is not directly clear where it should > go. > > Any advice? > > cheers, > > Ruudcho I would go with (replace 'PLATFORM' with either i386 or powerpc): / Applications/Locomotive2/Bundles/rails112.locobundle/PLATFORM/lib/ ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/generators/ Let us know if it works :) From steenvoorden at tribal-bingo.com Mon Sep 4 20:49:45 2006 From: steenvoorden at tribal-bingo.com (Ruud Steenvoorden) Date: Mon Sep 4 20:47:13 2006 Subject: [Locomotive-users] Re: installing goldberg. Where do generators go? (solved) In-Reply-To: <20060904120021.87ACE4AE4D@one.textdrive.com> References: <20060904120021.87ACE4AE4D@one.textdrive.com> Message-ID: <3F16F152-8D2C-466E-8D11-657EAAE93693@tribal-bingo.com> Thank for the help, justincase. I had to put it one level deeper. Apparently the path has to be: /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/generators/components Thanks, Ruud > > From: justincase > Date: September 4, 2006 1:57:01 PM GMT+02:00 > To: locomotive-users@lists.raaum.org > Subject: Re: [Locomotive-users] installing goldberg. Where do > generators go? > Reply-To: locomotive-users@lists.raaum.org > > > > On Sep 4, 2006, at 1:04 AM, Ruud Steenvoorden wrote: > >> Hi all, >> >> I'm trying to install Goldberg 0.1.2. (http://goldberg.240gl.org/) >> >> I'm using Locomotive2 on OS X 10.4.7 with 2 bundles: the >> rails112.locobundle and the rails112rmagick_ppc.locobundle. >> >> (I downloaded rails112rmagick_ppc.locobundle because it contains >> the RedCloth and BlueCloth gems that are required.) > > Locomotive 1.0 required a 'max' bundles for RedCloth/BlueCloth. In > locomotive 2, both are included in the standard install. > >> >> According to instructions I need to copy the goldberg directory to >> the directory containing the generators. From the directory >> structure from the bundles it is not directly clear where it >> should go. >> >> Any advice? >> >> cheers, >> >> Ruudcho > > I would go with (replace 'PLATFORM' with either i386 or > powerpc): /Applications/Locomotive2/Bundles/rails112.locobundle/ > PLATFORM/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/ > generators/ > > Let us know if it works :) > > > > _______________________________________________ > 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/20060904/204f3b3b/attachment.htm From malavoi at gmail.com Mon Sep 4 22:57:26 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Mon Sep 4 22:57:38 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> Message-ID: <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> Hello, Anybody can help me, ? When i use locomotive with a account user with no power i have this message error pc-mq-dsi3:~/Documents/Coding > > -Dev/demo root# gem install rspec > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: > ruby lib version (1.8.4) doesn't match executable version (1.8.2) > (RuntimeError) > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060904/d5f79d60/attachment.htm From ryan.raaum at gmail.com Tue Sep 5 01:55:18 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Sep 5 01:55:24 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> Message-ID: On 9/4/06, Bolo Michelin wrote: > > Hello, > > Anybody can help me, ? > Hi, I don't really understand what you are asking. To install gems, you _must_ have some sort of admin rights. Other information you could provide to help us help you includes what exactly you are trying to accomplish, what exact version of OS X you are running, what architecture you are on, what you have tried so far to solve the problem on your own, whether or not you are opening your terminal from within Locomotive, and so on. Best, -Ryan When i use locomotive with a account user with no power i have this > message error > > pc-mq-dsi3:~/Documents/Coding > > > > -Dev/demo root# gem install rspec > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > > darwin8.6.1/rbconfig.rb:7: > > ruby lib version (1.8.4) doesn't match executable version (1.8.2) > > (RuntimeError) > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > > > > `require' > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > > `require' > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 > > > > -- > > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060905/f1d5dac1/attachment.htm From mark at mark-s.net Tue Sep 5 02:18:44 2006 From: mark at mark-s.net (Mark S.) Date: Tue Sep 5 02:12:23 2006 Subject: [Locomotive-users] Rails 1.1.2++? In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> Message-ID: <49471.24.27.11.33.1157422724.squirrel@mail.mark-s.net> Is it possible to have Locomotive running Rails 1.1.6, for example? Thanks, Mark -- Mark Aaron S. mark@mark-s.net +1.512.826.7004 From ryan.raaum at gmail.com Tue Sep 5 03:20:02 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Sep 5 03:20:08 2006 Subject: [Locomotive-users] Rails 1.1.2++? In-Reply-To: <49471.24.27.11.33.1157422724.squirrel@mail.mark-s.net> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <49471.24.27.11.33.1157422724.squirrel@mail.mark-s.net> Message-ID: On 9/4/06, Mark S. wrote: > > Is it possible to have Locomotive running Rails 1.1.6, for example? Hi Mark, Just run "sudo gem update rails --include-dependencies" from a Locomotive-opened terminal and you are good to go (be sure to check the RAILS_GEM_VERSION variable in your config/environment.rb file). -r Thanks, > > Mark > > -- > Mark Aaron S. > mark@mark-s.net > +1.512.826.7004 > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060905/ca4145da/attachment-0001.htm From pama at netcabo.pt Tue Sep 5 09:16:13 2006 From: pama at netcabo.pt (Paulo Abreu) Date: Tue Sep 5 09:17:28 2006 Subject: [Locomotive-users] How to update ruby? Message-ID: Hi There! In locomotive website we can read: "(...) Locomotive uses "Bundles", each of which is a self-contained installation of Ruby, Rails, and all the necessary support software and libraries (as well as many useful optional tools!)." How do I update ruby on locomotive? I would like to use 1.8.5 ruby version. Thank you for your attention, Paulo Abreu From ryan.raaum at gmail.com Tue Sep 5 11:17:10 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Sep 5 11:17:48 2006 Subject: [Locomotive-users] How to update ruby? In-Reply-To: References: Message-ID: On 9/5/06, Paulo Abreu wrote: > > Hi There! > > In locomotive website we can read: > > "(...) Locomotive uses "Bundles", each of which is a self-contained > installation of Ruby, Rails, and all the necessary support software > and libraries (as well as many useful optional tools!)." > > How do I update ruby on locomotive? I would like to use 1.8.5 ruby > version. Why? Ruby 1.8.5 breaks parts of rails with (as far as I can tell), few to no benefits to rails developers. In any case, there is no simple way for you to update ruby to 1.8.5. And I am not inclined to spend the time making bundles including 1.8.5 as there seems to be no clear benefit to you. Does anyone know of a good reason to run 1.8.5 in a development environment? Best, -r Thank you for your attention, > > Paulo Abreu > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060905/e8259d5e/attachment.htm From malavoi at gmail.com Tue Sep 5 13:35:55 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Tue Sep 5 13:36:06 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> Message-ID: <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> Hello Ryan, I don't really understand what you are asking. To install gems, you _must_ > have some sort of admin rights., > my user "bmichelin" is a standard account however i edited sudoers file and now "bmichelin" have admin rights # User privilege specification root ALL=(ALL) ALL bmichelin ALL=(ALL) ALL Other information you could provide to help us help you includes what > exactly you are trying to accomplish, > I try to install rspec. http://rspec.rubyforge.org/documentation/index.html what exact version of OS X you are running, what architecture you are on, > mac os X 10.4.. + mac book pro (intel) whether or not you are opening your terminal from within Locomotive, and so > on. > I was opening my terminal from Locomotive See ya Bm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060905/a5cdfd09/attachment.htm From ryan.raaum at gmail.com Tue Sep 5 14:56:16 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Sep 5 14:56:20 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> Message-ID: On 9/5/06, Bolo Michelin wrote: > > Hello Ryan, > > > I don't really understand what you are asking. To install gems, you > > _must_ have some sort of admin rights., > > > > my user "bmichelin" is a standard account however i edited sudoers file > and now "bmichelin" have admin rights > > # User privilege specification > root ALL=(ALL) ALL > bmichelin ALL=(ALL) ALL > Other information you could provide to help us help you includes what > > exactly you are trying to accomplish, > > > > I try to install rspec. > http://rspec.rubyforge.org/documentation/index.html > > what exact version of OS X you are running, what architecture you are on, > > > > mac os X 10.4.. + mac book pro (intel) > > whether or not you are opening your terminal from within Locomotive, and > > so on. > > > I was opening my terminal from Locomotive > Ok. Do you have the Apple Development Tools installed? (Without these, you will only be able to install pure ruby gems). Are you using "sudo"? (i.e. "sudo gem install rspec") -r See ya > Bm > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060905/9827efae/attachment.htm From malavoi at gmail.com Wed Sep 6 00:47:58 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Wed Sep 6 00:48:02 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> Message-ID: <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> > Do you have the Apple Development Tools installed? (Without these, you > will only be able to install pure ruby gems). > No i don't have Apple Develoment Tools . pure ruby gems ? Are you using "sudo"? (i.e. "sudo gem install rspec") > I don't really understand. :) If i don't use "sudo" i can't install rspec .My user is a standard user only, So for install rspec used "sudo" and i have this error message. Thanks again ryan for your help -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060906/1149d8ee/attachment.htm From ryan.raaum at gmail.com Wed Sep 6 10:15:48 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Sep 6 10:15:56 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> Message-ID: On 9/5/06, Bolo Michelin wrote: > > > > > Do you have the Apple Development Tools installed? (Without these, you > > will only be able to install pure ruby gems). > > > > No i don't have Apple Develoment Tools . > pure ruby gems ? > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > I don't really understand. :) > If i don't use "sudo" i can't install rspec .My user is a standard user > only, > So for install rspec used "sudo" and i have this error message. > In the error message you showed at the beginning of this thread, it did not appear that you were using sudo. To me, it looked as if you had su'ed to root, then ran gem, which is not quite the same thing. Try doing: 1. Open Locomotive. 2. Open a Terminal from Locomotive. 3. On the terminal, run "sudo gem install rspec" 4. Show us what happens then... :) Best, -r Thanks again ryan for your help > > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060906/1ea84c8a/attachment.htm From ryan.raaum at gmail.com Wed Sep 6 10:19:09 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Sep 6 10:19:14 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609020808s1fed63efqab60be5b5682099e@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> Message-ID: On 9/5/06, Bolo Michelin wrote: > > > > > Do you have the Apple Development Tools installed? (Without these, you > > will only be able to install pure ruby gems). > > > > No i don't have Apple Develoment Tools . > pure ruby gems ? > Some gems are written in only ruby ("pure ruby gems"), but many (most?) include some functionality written in (usually) C for improved performance. You need to have a compiler toolchain installed to build and use these gems. I have no idea where rspec falls, but if it does include non-ruby portions, you will not be able to install it without having the Apple Developmer Tools installed. -r Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > I don't really understand. :) > If i don't use "sudo" i can't install rspec .My user is a standard user > only, > So for install rspec used "sudo" and i have this error message. > > Thanks again ryan for your help > > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060906/a05dfcc2/attachment-0001.htm From malavoi at gmail.com Wed Sep 6 14:42:32 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Wed Sep 6 14:42:37 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609030507x16a30e41r3a17de6efe3caced@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> Message-ID: <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> In the error message you showed at the beginning of this thread, it did not appear that you were using sudo. To me, it looked as if you had su'ed to root, then ran gem, which is not quite the same thing. Try doing: 1. Open Locomotive. 2. Open a Terminal from Locomotive. 3. On the terminal, run "sudo gem install rspec" 4. Show us what happens then... :) pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ sudo gem install rspec Password: /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match executable version (1.8.2 ) (RuntimeError) from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. Some gems are written in only ruby ("pure ruby gems"), but many (most?) include some functionality written in (usually) C for improved performance. You need to have a compiler toolchain installed to build and use these gems. I have no idea where rspec falls, but if it does include non-ruby portions, you will not be able to install it without having the Apple Developmer Tools installed. ok i understand however before i changed my user's rights ( it was a user admin) , this user could install rspec with no error message. 2006/9/6, Ryan Raaum : > > > > On 9/5/06, Bolo Michelin wrote: > > > > > > > > Do you have the Apple Development Tools installed? (Without these, you > > > will only be able to install pure ruby gems). > > > > > > > No i don't have Apple Develoment Tools . > > pure ruby gems ? > > > > Some gems are written in only ruby ("pure ruby gems"), but many (most?) > include some functionality written in (usually) C for improved performance. > You need to have a compiler toolchain installed to build and use these > gems. I have no idea where rspec falls, but if it does include non-ruby > portions, you will not be able to install it without having the Apple > Developmer Tools installed. > > -r > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > I don't really understand. :) > If i don't use "sudo" i can't install rspec .My user is a standard user > only, > So for install rspec used "sudo" and i have this error message. > > Thanks again ryan for your help > > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://raaum.org > 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 > > > -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060906/337b5703/attachment.htm From ryan.raaum at gmail.com Wed Sep 6 14:54:02 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Sep 6 14:54:11 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <44FADC73.7000200@warmroom.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> Message-ID: On 9/6/06, Bolo Michelin wrote: > > In the error message you showed at the beginning of this thread, it did > not appear that you were using sudo. To me, it looked as if you had su'ed > to root, then ran gem, which is not quite the same thing. Try doing: > > 1. Open Locomotive. > 2. Open a Terminal from Locomotive. > 3. On the terminal, run > > "sudo gem install rspec" > > 4. Show us what happens then... :) > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ sudo gem install rspec > Password: > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match > executable version (1.8.2 ) (RuntimeError) > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > Hrm. Ok. From a Locomotive-opened Terminal, what does "which ruby" show you? Also, if you do "less `which gem`" what does the shebang (the first line in the file, starting with #!) read? -r Some gems are written in only ruby ("pure ruby gems"), but many (most?) > include some functionality written in (usually) C for improved performance. > You need to have a compiler toolchain installed to build and use these > gems. I have no idea where rspec falls, but if it does include non-ruby > portions, you will not be able to install it without having the Apple > Developmer Tools installed. > > ok i understand however before i changed my user's rights ( it was a user > admin) , this user could install rspec with no error message. > > 2006/9/6, Ryan Raaum : > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without these, > > > > you will only be able to install pure ruby gems). > > > > > > > > > > No i don't have Apple Develoment Tools . > > > pure ruby gems ? > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many (most?) > > include some functionality written in (usually) C for improved performance. > > You need to have a compiler toolchain installed to build and use these > > gems. I have no idea where rspec falls, but if it does include non-ruby > > portions, you will not be able to install it without having the Apple > > Developmer Tools installed. > > > > -r > > > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > > > > I don't really understand. :) > > If i don't use "sudo" i can't install rspec .My user is a standard user > > only, > > So for install rspec used "sudo" and i have this error message. > > > > Thanks again ryan for your help > > > > -- > > Bolo Michelin > > web: http://www.independza.com > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > -- > > Ryan Raaum > > http://raaum.org > > 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 > > > > > > > > > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060906/6f3f4f41/attachment-0001.htm From malavoi at gmail.com Wed Sep 6 23:00:49 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Wed Sep 6 23:00:53 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609040351o5ca00728mf6173fdad547ad0@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> Message-ID: <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> "which ruby" pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ which ruby /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby show you? Also, if you do "less `which gem`" pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ less `which gem` #!/usr/bin/env ruby require 'rubygems' Gem.manage_gems required_version = Gem::Version::Requirement.new(">= 1.8.0") unless required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}" exit(1) end # We need to preserve the original ARGV to use for passing gem options # to source gems. If there is a -- in the line, strip all options after # it...its for the source building process. args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] Gem::GemRunner.new.run(args) /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem (END) voila 2006/9/6, Ryan Raaum : > > > > On 9/6/06, Bolo Michelin wrote: > > > > In the error message you showed at the beginning of this thread, it did > > not appear that you were using sudo. To me, it looked as if you had su'ed > > to root, then ran gem, which is not quite the same thing. Try doing: > > > > 1. Open Locomotive. > > 2. Open a Terminal from Locomotive. > > 3. On the terminal, run > > > > "sudo gem install rspec" > > > > 4. Show us what happens then... :) > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ sudo gem install > > rspec > > Password: > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > > darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match > > executable version (1.8.2 ) (RuntimeError) > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > > `require' > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > > `require' > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > > > > Hrm. Ok. From a Locomotive-opened Terminal, what does > > "which ruby" > > show you? Also, if you do > > "less `which gem`" > > what does the shebang (the first line in the file, starting with #!) read? > > -r > > Some gems are written in only ruby ("pure ruby gems"), but many (most?) > > include some functionality written in (usually) C for improved performance. > > You need to have a compiler toolchain installed to build and use these > > gems. I have no idea where rspec falls, but if it does include non-ruby > > portions, you will not be able to install it without having the Apple > > Developmer Tools installed. > > > > ok i understand however before i changed my user's rights ( it was a > > user admin) , this user could install rspec with no error message. > > > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without these, > > > > > you will only be able to install pure ruby gems). > > > > > > > > > > > > > No i don't have Apple Develoment Tools . > > > > pure ruby gems ? > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > > (most?) include some functionality written in (usually) C for improved > > > performance. You need to have a compiler toolchain installed to build and > > > use these gems. I have no idea where rspec falls, but if it does include > > > non-ruby portions, you will not be able to install it without having the > > > Apple Developmer Tools installed. > > > > > > -r > > > > > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > > > > > > > I don't really understand. :) > > > If i don't use "sudo" i can't install rspec .My user is a standard > > > user only, > > > So for install rspec used "sudo" and i have this error message. > > > > > > Thanks again ryan for your help > > > > > > -- > > > Bolo Michelin > > > web: http://www.independza.com > > > > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > -- > > > Ryan Raaum > > > http://raaum.org > > > 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 > > > > > > > > > > > > > > > -- > > Bolo Michelin > > web: http://www.independza.com > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > -- > Ryan Raaum > http://raaum.org > 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 > > > -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060906/e3c76748/attachment.htm From ryan.raaum at gmail.com Wed Sep 6 23:19:48 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Sep 6 23:19:52 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609041557l616392c5y5c27d679c79d56bc@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> Message-ID: On 9/6/06, Bolo Michelin wrote: > > "which ruby" > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ which ruby > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby > > > show you? Also, if you do > > "less `which gem`" > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ less `which gem` > > > #!/usr/bin/env ruby > > require 'rubygems' > Gem.manage_gems > > required_version = Gem::Version:: Requirement.new(">= 1.8.0") > unless required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) > puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}" > exit(1) > end > > # We need to preserve the original ARGV to use for passing gem options > # to source gems. If there is a -- in the line, strip all options after > # it...its for the source building process. > args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] > > Gem::GemRunner.new.run(args) > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem (END) > > voila > Hm. I have no idea. What happens if you log in as a different user and try it? 2006/9/6, Ryan Raaum < ryan.raaum@gmail.com>: > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > In the error message you showed at the beginning of this thread, it > > > did not appear that you were using sudo. To me, it looked as if you had > > > su'ed to root, then ran gem, which is not quite the same thing. Try doing: > > > > > > 1. Open Locomotive. > > > 2. Open a Terminal from Locomotive. > > > 3. On the terminal, run > > > > > > "sudo gem install rspec" > > > > > > 4. Show us what happens then... :) > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ sudo gem install > > > rspec > > > Password: > > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > > > darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match > > > executable version (1.8.2 ) (RuntimeError) > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > > > `require' > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > > > `require' > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > > > > > > > Hrm. Ok. From a Locomotive-opened Terminal, what does > > > > "which ruby" > > > > show you? Also, if you do > > > > "less `which gem`" > > > > what does the shebang (the first line in the file, starting with #!) > > read? > > > > -r > > > > Some gems are written in only ruby ("pure ruby gems"), but many (most?) > > > include some functionality written in (usually) C for improved performance. > > > You need to have a compiler toolchain installed to build and use these > > > gems. I have no idea where rspec falls, but if it does include non-ruby > > > portions, you will not be able to install it without having the Apple > > > Developmer Tools installed. > > > > > > ok i understand however before i changed my user's rights ( it was a > > > user admin) , this user could install rspec with no error message. > > > > > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without > > > > > > these, you will only be able to install pure ruby gems). > > > > > > > > > > > > > > > > No i don't have Apple Develoment Tools . > > > > > pure ruby gems ? > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > > > (most?) include some functionality written in (usually) C for improved > > > > performance. You need to have a compiler toolchain installed to build and > > > > use these gems. I have no idea where rspec falls, but if it does include > > > > non-ruby portions, you will not be able to install it without having the > > > > Apple Developmer Tools installed. > > > > > > > > -r > > > > > > > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > > > > > > > > > > I don't really understand. :) > > > > If i don't use "sudo" i can't install rspec .My user is a standard > > > > user only, > > > > So for install rspec used "sudo" and i have this error message. > > > > > > > > Thanks again ryan for your help > > > > > > > > -- > > > > Bolo Michelin > > > > web: http://www.independza.com > > > > > > > > _______________________________________________ > > > > Locomotive-users mailing list > > > > Locomotive-users@lists.raaum.org > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Ryan Raaum > > > > http://raaum.org > > > > 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 > > > > > > > > > > > > > > > > > > > > > -- > > > Bolo Michelin > > > web: http://www.independza.com > > > > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > -- > > Ryan Raaum > > http://raaum.org > > 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 > > > > > > > > > -- > Bolo Michelin > web: http://www.independza.com > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060906/fe084887/attachment-0001.htm From malavoi at gmail.com Thu Sep 7 00:48:18 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Thu Sep 7 00:48:22 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> Message-ID: <5fa283580609061748n3199f82ma102f56309c57bd7@mail.gmail.com> Hm. I have no idea. What happens if you log in as a different user and try it? I have got two accounts on my mac. one admin user and on standard user When i was testing with my admin user it's working. I would like to use a standard account with sudo powers. It's not possible ? tks 2006/9/6, Ryan Raaum : > > > > On 9/6/06, Bolo Michelin wrote: > > > > "which ruby" > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ which > ruby > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby > > > > > > show you? Also, if you do > > > > "less `which gem`" > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ less > `which gem` > > > > > > #!/usr/bin/env ruby > > > > require 'rubygems' > > Gem.manage_gems > > > > required_version = Gem::Version:: Requirement.new(">= 1.8.0") > > unless > required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) > > puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}" > > exit(1) > > end > > > > # We need to preserve the original ARGV to use for passing gem options > > # to source gems. If there is a -- in the line, strip all options after > > # it...its for the source building process. > > args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] > > > > Gem::GemRunner.new.run(args) > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem > (END) > > > > voila > > > > Hm. I have no idea. What happens if you log in as a different user and try > it? > > > > > > > 2006/9/6, Ryan Raaum < ryan.raaum@gmail.com>: > > > > > > > > > > > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > > > > > > > In the error message you showed at the beginning of this thread, it > did not appear that you were using sudo. To me, it looked as if you had > su'ed to root, then ran gem, which is not quite the same thing. Try doing: > > > > > > > > 1. Open Locomotive. > > > > 2. Open a Terminal from Locomotive. > > > > 3. On the terminal, run > > > > > > > > "sudo gem install rspec" > > > > > > > > 4. Show us what happens then... :) > > > > > > > > > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ > sudo gem install rspec > > > > Password: > > > > > > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1/rbconfig.rb:7: > ruby lib version (1.8.4) doesn't match executable version (1.8.2 ) > (RuntimeError) > > > > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > > > > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > > > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > > > > > > > > > > > > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > > > > > > > > > > > > Hrm. Ok. From a Locomotive-opened Terminal, what does > > > > > > "which ruby" > > > > > > show you? Also, if you do > > > > > > "less `which gem`" > > > > > > what does the shebang (the first line in the file, starting with #!) > read? > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > (most?) include some functionality written in (usually) C for improved > performance. You need to have a compiler toolchain installed to build and > use these gems. I have no idea where rspec falls, but if it does include > non-ruby portions, you will not be able to install it without having the > Apple Developmer Tools installed. > > > > > > > > > > > > ok i understand however before i changed my user's rights ( it was a > user admin) , this user could install rspec with no error message. > > > > > > > > > > > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without > these, you will only be able to install pure ruby gems). > > > > > > > > > > > > > > > > > > > > > > > > No i don't have Apple Develoment Tools . > > > > > > pure ruby gems ? > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > (most?) include some functionality written in (usually) C for improved > performance. You need to have a compiler toolchain installed to build and > use these gems. I have no idea where rspec falls, but if it does include > non-ruby portions, you will not be able to install it without having the > Apple Developmer Tools installed. > > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > > > > > > > > > > > > > > > > > I don't really understand. :) > > > > > If i don't use "sudo" i can't install rspec .My user is a standard > user only, > > > > > So for install rspec used "sudo" and i have this error message. > > > > > > > > > > Thanks again ryan for your help > > > > > > > > > > -- > > > > > Bolo Michelin > > > > > web: http://www.independza.com > > > > > > > > > > _______________________________________________ > > > > > Locomotive-users mailing list > > > > > Locomotive-users@lists.raaum.org > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Ryan Raaum > > > > > http://raaum.org > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Bolo Michelin > > > > web: http://www.independza.com > > > > _______________________________________________ > > > > Locomotive-users mailing list > > > > Locomotive-users@lists.raaum.org > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Ryan Raaum > > > http://raaum.org > > > 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 > > > > > > > > > > > > > > > > > -- > > Bolo Michelin > > web: http://www.independza.com > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > -- > Ryan Raaum > http://raaum.org > 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 > > > -- Bolo Michelin web: http://www.independza.com From ryan.raaum at gmail.com Thu Sep 7 00:53:13 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Sep 7 00:53:21 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609061748n3199f82ma102f56309c57bd7@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609050635v36b6be20wf808b479fecb603f@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> <5fa283580609061748n3199f82ma102f56309c57bd7@mail.gmail.com> Message-ID: On 9/6/06, Bolo Michelin wrote: > > Hm. I have no idea. What happens if you log in as a different user and > try it? > > I have got two accounts on my mac. > one admin user and on standard user > > When i was testing with my admin user it's working. I would like to > use a standard account with sudo powers. It's not possible ? It should be. Can you try creating another standard user to make sure there's not something odd happening with your current non-admin user? tks > 2006/9/6, Ryan Raaum : > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > "which ruby" > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ which > > ruby > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby > > > > > > > > > show you? Also, if you do > > > > > > "less `which gem`" > > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ less > > `which gem` > > > > > > > > > #!/usr/bin/env ruby > > > > > > require 'rubygems' > > > Gem.manage_gems > > > > > > required_version = Gem::Version:: Requirement.new(">= 1.8.0") > > > unless > > required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) > > > puts "Expected Ruby Version #{required_version}, was > #{RUBY_VERSION}" > > > exit(1) > > > end > > > > > > # We need to preserve the original ARGV to use for passing gem options > > > # to source gems. If there is a -- in the line, strip all options > after > > > # it...its for the source building process. > > > args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] > > > > > > Gem::GemRunner.new.run(args) > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem > > (END) > > > > > > voila > > > > > > > > Hm. I have no idea. What happens if you log in as a different user and > try > > it? > > > > > > > > > > > 2006/9/6, Ryan Raaum < ryan.raaum@gmail.com>: > > > > > > > > > > > > > > > > > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > > > > > > > > > > In the error message you showed at the beginning of this thread, > it > > did not appear that you were using sudo. To me, it looked as if you had > > su'ed to root, then ran gem, which is not quite the same thing. Try > doing: > > > > > > > > > > 1. Open Locomotive. > > > > > 2. Open a Terminal from Locomotive. > > > > > 3. On the terminal, run > > > > > > > > > > "sudo gem install rspec" > > > > > > > > > > 4. Show us what happens then... :) > > > > > > > > > > > > > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ > > sudo gem install rspec > > > > > Password: > > > > > > > > > > > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: > > ruby lib version (1.8.4) doesn't match executable version (1.8.2 ) > > (RuntimeError) > > > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > > `require' > > > > > from > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > > > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > > `require' > > > > > > > > > > > > > > > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > > > > > > > > > > > > > > > > Hrm. Ok. From a Locomotive-opened Terminal, what does > > > > > > > > "which ruby" > > > > > > > > show you? Also, if you do > > > > > > > > "less `which gem`" > > > > > > > > what does the shebang (the first line in the file, starting with #!) > > read? > > > > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > (most?) include some functionality written in (usually) C for improved > > performance. You need to have a compiler toolchain installed to build > and > > use these gems. I have no idea where rspec falls, but if it does > include > > non-ruby portions, you will not be able to install it without having the > > Apple Developmer Tools installed. > > > > > > > > > > > > > > > ok i understand however before i changed my user's rights ( it > was a > > user admin) , this user could install rspec with no error message. > > > > > > > > > > > > > > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without > > these, you will only be able to install pure ruby gems). > > > > > > > > > > > > > > > > > > > > > > > > > > > > No i don't have Apple Develoment Tools . > > > > > > > pure ruby gems ? > > > > > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > (most?) include some functionality written in (usually) C for improved > > performance. You need to have a compiler toolchain installed to build > and > > use these gems. I have no idea where rspec falls, but if it does > include > > non-ruby portions, you will not be able to install it without having the > > Apple Developmer Tools installed. > > > > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Are you using "sudo"? (i.e. "sudo gem install rspec") > > > > > > > > > > > > > > > > > > > > > > > > I don't really understand. :) > > > > > > If i don't use "sudo" i can't install rspec .My user is a > standard > > user only, > > > > > > So for install rspec used "sudo" and i have this error message. > > > > > > > > > > > > Thanks again ryan for your help > > > > > > > > > > > > -- > > > > > > Bolo Michelin > > > > > > web: http://www.independza.com > > > > > > > > > > > > _______________________________________________ > > > > > > Locomotive-users mailing list > > > > > > Locomotive-users@lists.raaum.org > > > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Ryan Raaum > > > > > > http://raaum.org > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Bolo Michelin > > > > > web: http://www.independza.com > > > > > _______________________________________________ > > > > > Locomotive-users mailing list > > > > > Locomotive-users@lists.raaum.org > > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Ryan Raaum > > > > http://raaum.org > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Bolo Michelin > > > web: http://www.independza.com > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > -- > > Ryan Raaum > > http://raaum.org > > 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 > > > > > > > > > -- > Bolo Michelin > web: http://www.independza.com > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060907/bebb9c9e/attachment-0001.htm From malavoi at gmail.com Thu Sep 7 01:09:19 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Thu Sep 7 01:09:23 2006 Subject: [Locomotive-users] Install problem In-Reply-To: References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> <5fa283580609061748n3199f82ma102f56309c57bd7@mail.gmail.com> Message-ID: <5fa283580609061809p3dd532c3m4e4ed2526bccd5b6@mail.gmail.com> another user with sudo power ? 2006/9/6, Ryan Raaum : > > > > On 9/6/06, Bolo Michelin wrote: > > Hm. I have no idea. What happens if you log in as a different user and > try it? > > > > I have got two accounts on my mac. > > one admin user and on standard user > > > > When i was testing with my admin user it's working. I would like to > > use a standard account with sudo powers. It's not possible ? > > > > It should be. Can you try creating another standard user to make sure > there's not something odd happening with your current non-admin user? > > > > tks > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > > > "which ruby" > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ > which > > > ruby > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby > > > > > > > > > > > > show you? Also, if you do > > > > > > > > "less `which gem`" > > > > > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ > less > > > `which gem` > > > > > > > > > > > > #!/usr/bin/env ruby > > > > > > > > require 'rubygems' > > > > Gem.manage_gems > > > > > > > > required_version = Gem::Version:: Requirement.new(">= 1.8.0") > > > > unless > > > > required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) > > > > puts "Expected Ruby Version #{required_version}, was > #{RUBY_VERSION}" > > > > exit(1) > > > > end > > > > > > > > # We need to preserve the original ARGV to use for passing gem options > > > > # to source gems. If there is a -- in the line, strip all options > after > > > > # it...its for the source building process. > > > > args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] > > > > > > > > Gem::GemRunner.new.run(args) > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem > > > (END) > > > > > > > > voila > > > > > > > > > > > > Hm. I have no idea. What happens if you log in as a different user and > try > > > it? > > > > > > > > > > > > > > > 2006/9/6, Ryan Raaum < ryan.raaum@gmail.com>: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/6/06, Bolo Michelin wrote: > > > > > > > > > > > > > > > > > > In the error message you showed at the beginning of this thread, > it > > > did not appear that you were using sudo. To me, it looked as if you had > > > su'ed to root, then ran gem, which is not quite the same thing. Try > doing: > > > > > > > > > > > > 1. Open Locomotive. > > > > > > 2. Open a Terminal from Locomotive. > > > > > > 3. On the terminal, run > > > > > > > > > > > > "sudo gem install rspec" > > > > > > > > > > > > 4. Show us what happens then... :) > > > > > > > > > > > > > > > > > > > > > > > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ > > > sudo gem install rspec > > > > > > Password: > > > > > > > > > > > > > > > > > > > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1/rbconfig.rb:7: > > > ruby lib version (1.8.4) doesn't match executable version ( 1.8.2 ) > > > (RuntimeError) > > > > > > from > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > > > `require' > > > > > > from > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > > > > > > from > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > > > `require' > > > > > > > > > > > > > > > > > > from > > > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3. > > > > > > > > > > > > > > > > > > > > Hrm. Ok. From a Locomotive-opened Terminal, what does > > > > > > > > > > "which ruby" > > > > > > > > > > show you? Also, if you do > > > > > > > > > > "less `which gem`" > > > > > > > > > > what does the shebang (the first line in the file, starting with #!) > > > read? > > > > > > > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > > (most?) include some functionality written in (usually) C for improved > > > performance. You need to have a compiler toolchain installed to build > and > > > use these gems. I have no idea where rspec falls, but if it does > include > > > non-ruby portions, you will not be able to install it without having the > > > Apple Developmer Tools installed. > > > > > > > > > > > > > > > > > > ok i understand however before i changed my user's rights ( it > was a > > > user admin) , this user could install rspec with no error message. > > > > > > > > > > > > > > > > > > 2006/9/6, Ryan Raaum : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/5/06, Bolo Michelin < malavoi@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Do you have the Apple Development Tools installed? (Without > > > these, you will only be able to install pure ruby gems). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > No i don't have Apple Develoment Tools . > > > > > > > > pure ruby gems ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > Some gems are written in only ruby ("pure ruby gems"), but many > > > (most?) include some functionality written in (usually) C for improved > > > performance. You need to have a compiler toolchain installed to build > and > > > use these gems. I have no idea where rspec falls, but if it does > include > > > non-ruby portions, you will not be able to install it without having the > > > Apple Developmer Tools installed. > > > > > > > > > > > > > > -r > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Are you using "sudo"? ( i.e. "sudo gem install rspec") > > > > > > > > > > > > > > > > > > > > > > > > > > > > I don't really understand. :) > > > > > > > If i don't use "sudo" i can't install rspec .My user is a > standard > > > user only, > > > > > > > So for install rspec used "sudo" and i have this error message. > > > > > > > > > > > > > > Thanks again ryan for your help > > > > > > > > > > > > > > -- > > > > > > > Bolo Michelin > > > > > > > web: http://www.independza.com > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Locomotive-users mailing list > > > > > > > Locomotive-users@lists.raaum.org > > > > > > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Ryan Raaum > > > > > > > http://raaum.org > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Bolo Michelin > > > > > > web: http://www.independza.com > > > > > > _______________________________________________ > > > > > > Locomotive-users mailing list > > > > > > Locomotive-users@lists.raaum.org > > > > > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Ryan Raaum > > > > > http://raaum.org > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Bolo Michelin > > > > web: http://www.independza.com > > > > _______________________________________________ > > > > Locomotive-users mailing list > > > > Locomotive-users@lists.raaum.org > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Ryan Raaum > > > http://raaum.org > > > 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 > > > > > > > > > > > > > > > -- > > Bolo Michelin > > web: http://www.independza.com > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > -- > Ryan Raaum > http://raaum.org > 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 > > > -- Bolo Michelin web: http://www.independza.com From ryan.raaum at gmail.com Thu Sep 7 03:03:28 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Sep 7 03:03:32 2006 Subject: [Locomotive-users] Install problem In-Reply-To: <5fa283580609061809p3dd532c3m4e4ed2526bccd5b6@mail.gmail.com> References: <5fa283580609011550n71bba500mb92b08edb807c333@mail.gmail.com> <5fa283580609051747x552f4c67oc8b71bdf8c006e45@mail.gmail.com> <5fa283580609060742q4851ffcfj65462b530a0e0a8e@mail.gmail.com> <5fa283580609061600g6a5e3bbfr195ffa9af38ca9f8@mail.gmail.com> <5fa283580609061748n3199f82ma102f56309c57bd7@mail.gmail.com> <5fa283580609061809p3dd532c3m4e4ed2526bccd5b6@mail.gmail.com> Message-ID: On 9/6/06, Bolo Michelin wrote: > > another user with sudo power ? Perhaps you can try. I don't really have any ideas here. It may be that it's just not going to work out the way you would like it to. Best, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060907/baf0f921/attachment.htm From winton at stu.dicio.us Fri Sep 8 04:16:15 2006 From: winton at stu.dicio.us (Winton Welsh) Date: Fri Sep 8 04:16:20 2006 Subject: [Locomotive-users] Installing Hpricot Message-ID: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> I am having issues installing hpricot and I need to make sure I'm not just being stupid. First, I ran gem install hpricot. I then added the following to my environment file: require "rubygems" require "hpricot" I am continually getting a 500 - Internal Server Error with no telling messages in console.app. Am I missing something? Thanks, Winton -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060908/389db892/attachment.htm From ryan.raaum at gmail.com Fri Sep 8 11:20:12 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Sep 8 11:20:19 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> Message-ID: On 9/8/06, Winton Welsh wrote: > > I am having issues installing hpricot and I need to make sure I'm not just > being stupid. > > First, I ran gem install hpricot. I then added the following to my > environment file: > > require "rubygems" > Don't require rubygems (it's already loaded.). require "hpricot" > > I am continually getting a 500 - Internal Server Error with no telling > messages in console.app. Am I missing something? > > Thanks, > Winton > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060908/71faac88/attachment.htm From winton at stu.dicio.us Fri Sep 8 15:59:37 2006 From: winton at stu.dicio.us (Winton Welsh) Date: Fri Sep 8 15:59:41 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> Message-ID: <10700b610609080859y156e8ab5iad4c6fa15c9cf0ca@mail.gmail.com> I took it out and still get the same 500 error. I tried the code out last night on my PC (ugh) and webrick loaded up ok. I'm stumped. - Winton On 9/8/06, Ryan Raaum wrote: > > > > On 9/8/06, Winton Welsh wrote: > > > > I am having issues installing hpricot and I need to make sure I'm not > > just being stupid. > > > > First, I ran gem install hpricot. I then added the following to my > > environment file: > > > > require "rubygems" > > > > Don't require rubygems (it's already loaded.). > > require "hpricot" > > I am continually getting a 500 - Internal Server Error with no telling > messages in console.app. Am I missing something? > > Thanks, > Winton > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://raaum.org > 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/20060908/7a89440c/attachment.htm From ryan.raaum at gmail.com Fri Sep 8 16:26:33 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Sep 8 16:26:37 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: <10700b610609080859y156e8ab5iad4c6fa15c9cf0ca@mail.gmail.com> References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> <10700b610609080859y156e8ab5iad4c6fa15c9cf0ca@mail.gmail.com> Message-ID: On 9/8/06, Winton Welsh wrote: > > I took it out and still get the same 500 error. I tried the code out last > night on my PC (ugh) and webrick loaded up ok. I'm stumped. > > - Winton > > > On 9/8/06, Ryan Raaum wrote: > > > > > > > > On 9/8/06, Winton Welsh < winton@stu.dicio.us> wrote: > > > > > > I am having issues installing hpricot and I need to make sure I'm not > > > just being stupid. > > > > > > First, I ran gem install hpricot. I then added the following to my > > > environment file: > > > > > > require "rubygems" > > > > > > > Don't require rubygems (it's already loaded.). > > > > require "hpricot" > > > Have you tried using hpricot by itself in a simpler test case? What happens if you try to load it from irb? What happens if you try to load it from the rails script/console? Best, -r I am continually getting a 500 - Internal Server Error with no telling > > messages in console.app. Am I missing something? > > > > Thanks, > > Winton > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > -- > > Ryan Raaum > > http://raaum.org > > 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://raaum.org 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/20060908/1b2920d2/attachment.htm From mark at mark-s.net Sat Sep 9 03:36:44 2006 From: mark at mark-s.net (Mark S.) Date: Sat Sep 9 03:29:15 2006 Subject: [Locomotive-users] GEM PROBLEM? Message-ID: <52435.24.27.11.33.1157773004.squirrel@mail.sentiensystems.net> I am trying to install something with gem, and am seemingly unable... anyone else get similar results? mark-s-computer:/Users/mark/forms root# gem /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match executable version (1.8.2) (RuntimeError) from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in `require' from /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 does locomotive have an IRC channel? -- Mark Aaron S. mark@mark-s.net Working for: SentienSystems (Previously VPSes.net) :: Virtual Private Server Provider From winton at stu.dicio.us Sat Sep 9 05:03:10 2006 From: winton at stu.dicio.us (Winton Welsh) Date: Sat Sep 9 05:03:15 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> <10700b610609080859y156e8ab5iad4c6fa15c9cf0ca@mail.gmail.com> Message-ID: <10700b610609082203v1ebcb591v2a45d53536d79cd9@mail.gmail.com> Seems to be more of an Hpricot on darwin issue. I get this from script/console: /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require__': no such file to load -- hpricot_scan (MissingSourceFile) Anybody had experience loading Hpricot on their machine? Thanks for the help, Ryan. - Winton On 9/8/06, Ryan Raaum wrote: > > > > On 9/8/06, Winton Welsh wrote: > > > > I took it out and still get the same 500 error. I tried the code out > > last night on my PC (ugh) and webrick loaded up ok. I'm stumped. > > > > - Winton > > > > > > On 9/8/06, Ryan Raaum wrote: > > > > > > > > > > > > On 9/8/06, Winton Welsh < winton@stu.dicio.us> wrote: > > > > > > > > I am having issues installing hpricot and I need to make sure I'm > > > > not just being stupid. > > > > > > > > First, I ran gem install hpricot. I then added the following to my > > > > environment file: > > > > > > > > require "rubygems" > > > > > > > > > > Don't require rubygems (it's already loaded.). > > > > > > require "hpricot" > > > > > > > Have you tried using hpricot by itself in a simpler test case? What > happens if you try to load it from irb? What happens if you try to load it > from the rails script/console? > > Best, > > -r > > I am continually getting a 500 - Internal Server Error with no telling > > > messages in console.app. Am I missing something? > > > > > > Thanks, > > > Winton > > > > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > > > > > > > > > > -- > > > Ryan Raaum > > > http://raaum.org > > > 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://raaum.org > 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/20060909/071457c6/attachment-0001.htm From malavoi at gmail.com Sat Sep 9 11:14:22 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Sat Sep 9 11:14:28 2006 Subject: [Locomotive-users] GEM PROBLEM? In-Reply-To: <52435.24.27.11.33.1157773004.squirrel@mail.sentiensystems.net> References: <52435.24.27.11.33.1157773004.squirrel@mail.sentiensystems.net> Message-ID: <5fa283580609090414x29bb799cq127990d57497b571@mail.gmail.com> I have same problem ... for the moment i don't find a solution 2006/9/8, Mark S. : > > I am trying to install something with gem, and am seemingly unable... > > anyone else get similar results? > > mark-s-computer:/Users/mark/forms root# gem > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: > ruby lib version (1.8.4) doesn't match executable version (1.8.2) > (RuntimeError) > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 > > does locomotive have an IRC channel? > -- > Mark Aaron S. > mark@mark-s.net > Working for: SentienSystems (Previously VPSes.net) :: Virtual Private > Server Provider > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Bolo Michelin web: http://www.independza.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060909/2a1a350f/attachment.htm From ryan.raaum at gmail.com Sat Sep 9 15:55:44 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 9 15:55:57 2006 Subject: [Locomotive-users] GEM PROBLEM? In-Reply-To: <52435.24.27.11.33.1157773004.squirrel@mail.sentiensystems.net> References: <52435.24.27.11.33.1157773004.squirrel@mail.sentiensystems.net> Message-ID: On 9/8/06, Mark S. wrote: > > I am trying to install something with gem, and am seemingly unable... > > anyone else get similar results? > > mark-s-computer:/Users/mark/forms root# gem > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686- > darwin8.6.1/rbconfig.rb:7: > ruby lib version (1.8.4) doesn't match executable version (1.8.2) > (RuntimeError) > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in > `require' > from > > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1 > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in > `require' > from > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3 > > does locomotive have an IRC channel? > -- > Mark Aaron S. > mark@mark-s.net > Working for: SentienSystems (Previously VPSes.net) :: Virtual Private > Server Provider What does "/usr/bin/env ruby -v" report? _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org 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/20060909/5b6adff9/attachment.htm From chilaquil at gmail.com Sat Sep 9 17:45:07 2006 From: chilaquil at gmail.com (chilaquil) Date: Sat Sep 9 20:21:34 2006 Subject: [Locomotive-users] locomotive on a server Message-ID: <15d778d10609091045u7f9ee9f3h373c2a13c19988c0@mail.gmail.com> Hi there, I am new to rubyonrials and locomotive. I wonder if locomotive can be used on a server to run (manage) rubyonrails or it is only aimed for development environment. Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060909/b976be86/attachment.htm From ryan.raaum at gmail.com Sat Sep 9 22:58:43 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Sep 9 22:58:46 2006 Subject: [Locomotive-users] locomotive on a server In-Reply-To: <15d778d10609091045u7f9ee9f3h373c2a13c19988c0@mail.gmail.com> References: <15d778d10609091045u7f9ee9f3h373c2a13c19988c0@mail.gmail.com> Message-ID: On 9/9/06, chilaquil wrote: > > Hi there, > > I am new to rubyonrials and locomotive. > I wonder if locomotive can be used on a server to run (manage) > rubyonrails or it is only aimed for development environment. > It is a development helper, not a production tool. Best, -r Many thanks > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org 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/20060909/c3b4c345/attachment.htm From halostatue at gmail.com Mon Sep 11 16:59:04 2006 From: halostatue at gmail.com (Austin Ziegler) Date: Mon Sep 11 16:59:15 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> Message-ID: <9e7db9110609110959y488ff514tfddf727d29776e05@mail.gmail.com> On 9/8/06, Ryan Raaum wrote: > > require "rubygems" > Don't require rubygems (it's already loaded.). This shouldn't be a problem as the rubygems should be in the appropriate loaded path and require should just silently return false. Try this: $stderr.puts require "rubygems" It should print "false" in the stderr output. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca From halostatue at gmail.com Mon Sep 11 17:00:27 2006 From: halostatue at gmail.com (Austin Ziegler) Date: Mon Sep 11 17:00:32 2006 Subject: [Locomotive-users] Installing Hpricot In-Reply-To: <10700b610609082203v1ebcb591v2a45d53536d79cd9@mail.gmail.com> References: <10700b610609072116g73ca6f6fj4eba3bec65494f3d@mail.gmail.com> <10700b610609080859y156e8ab5iad4c6fa15c9cf0ca@mail.gmail.com> <10700b610609082203v1ebcb591v2a45d53536d79cd9@mail.gmail.com> Message-ID: <9e7db9110609111000y146c8444m9d66d53a670c97d0@mail.gmail.com> On 9/9/06, Winton Welsh wrote: > Seems to be more of an Hpricot on darwin issue. I get this from > script/console: /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require__': no such file to load -- hpricot_scan (MissingSourceFile) > > Anybody had experience loading Hpricot on their mach