search for: metaspot

Displaying 6 results from an estimated 6 matches for "metaspot".

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''
2006 May 26
4
Using ''validates_inclusion_of'' to validate foreign key
...ef test_validates_inclusion_of_order_id_in_orders orderitem = OrderItem.new(:order_id => 1) assert( orderitem.save, orderitem.errors.full_messages.join(''\n'')) end end The fixture: first: id: 1 sid: ''ON001'' All of the code can be found at http://metaspot.net/dev/browser/?rev=46 -- Posted via http://www.ruby-forum.com/.
2006 May 03
3
Validations Doubt
Hi to Ruby and Rails group! I am new to the ROR . I ahev some doubts 1.Can we write the reguller expressions controller! 2.I have added the some controles in the rhtml file.(with out database fileds) I want to wirte the validations for these text fields in the model Is it Possible? Give me any reference? 3.In how many ways can we write the validations? Thanks and Regards, Kumar
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 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