search for: mgreen

Displaying 11 results from an estimated 11 matches for "mgreen".

Did you mean: green
2006 May 18
4
Install Glitch
Ubuntu 5.10, Ruby 1.8.3. I installed rubygems, then tried rails, and get a tragic looking error at the end. Is this a problem? It looks related to rdoc. root@bonus:/usr/local/rubygems-0.8.11# gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails''
2006 Apr 19
3
help! installing rubygems in ubuntu... problems with zlib
Hi, I am trying to install Ruby on Rails on a Linux Ubuntu PC. I already installed manually ruby 1.8.4. But when I try to install rubygems, I get the error: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
2013 Oct 02
2
C++ debugging help needed
..._M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f7fffff7f7fffff <Address 0x7f7fffff7f7fffff out of bounds>}}, mShapeColor = {mRed = -1.4044474254567505e+306, mGreen = -1.4044477603031902e+306, mBlue = 4.24399170841135e-314, mTransparent = 0}, mSpecularReflectivity = 0.0078125, mSpecularSize = 1065353216, mDiffuseReflectivity = 0.007812501848093234, mAmbientReflectivity = 0} The things displayed in *this are all wrong. Those field names come from...
2006 May 13
3
Non-customizable parts in the routes hierarchy-chain.
Hi I created a custom route that looks like this: map.connect '':controller/:table/:action/:id'' Hierarchically, :table is above :action and :id. So, if we call ActionController::Base#url_for with an argument :table=>nil, we''re supposed to get a url with :action and :id set to nil as well. However, this is not the case: url_for(:table=>nil) from
2006 Apr 20
2
Which Rails revision am I using ?
I have an old Rails release frozen in /vendor... but can''t for the life of me find out which revision it actually is. I just froze edge, and noticed a "REVISION ####" file in the apps root, which is a nice addition ;) Any insight into this would be great. Thanks ! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 22
3
Gems installation into custom directory
I it possible to install gems into custom directory (user dir)? There no any specific parameters in setup.rm I don''t wanna see unpackaged binaries into my Debian system ;) Or maybe someone can send me a link with .deb''s? Thanks in advance.
2006 May 26
4
Using ''validates_inclusion_of'' to validate foreign key
I seem to be missing something trying to use ''validates_inclusion_of'' to validate a foreign key and was hoping some one could piont out my mistake? The problem seems to be that Order.find_all.collect is not returning an array that contains the order_id, if I replace it with a hardcoded array everything works as expected. The model: class OrderItem < ActiveRecord::Base
2006 May 16
3
Installing the Postgres gem on Ubuntu
Hi, I''m having difficulty installing the "postgres" gem. postgres-pr installed fine, but whenever I run: sudo gem install postgres I get: ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/postgres-0.7.1 for inspection. I''ve had a bit of a poke around, and
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed Rails 1.1.2 to my vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method
2006 May 29
2
foreign keys and referential integrity
Sans rails my normal approach to handling this would be to enforce it in the database and when a database operation failed I''d try to validate the model to produce an error message. It''s always served me pretty well. Rails expects you to validate before commiting but of course this does nothing to guarantee referential integrity. It''s perfectly possible for one
2005 Jul 19
3
CPU Usage with R 2.1.0 in Windows
Hi, I'm using a fairly simple HP Compaq desktop PC running Windows 2K. When running a large process in R, the process "RGUI.exe" will never exceed 50% of the CPU usage. The program used to be able to use more of the computer, but does not now. I don't believe this is a multiple processor machine. Can anyone give any advice on how to solve the problem? Thanks, Michael