search for: music_library

Displaying 9 results from an estimated 9 matches for "music_library".

2007 Dec 03
1
install and mysql issues
...2000-2006 MySQL AB Default options are read from the following files in the given order: C:\my.ini C:\my.cnf C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\Program Files\MySQL\M ySQL Server 5.0\my.ini C:\Program Files\MySQL\MySQL Server 5.0\my.cnf I have followed the tutorial videos on lynda.com for the music_library video tutorial and i created a database with mysql that i downloaded seperately from the mysql website. I created a music_library and created the work folder and rails app. I created the database in mysql called music_library_development and a few tables inside that database. but when i run rake db...
2013 Feb 02
2
rake db:migrate problem
mini@mini:~/Sites/music_library$ rake db:migrate rake aborted! couldn''t parse YAML at line 28 column 6 /home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration'' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in `block (2 levels) in &...
2010 Jan 20
4
Rake Aborted wont Migrate mysql
...file, my mysql bin is included in my path, I have the mysql gem installed. Everytime I try to run: rake db:migrate I get this error, I''d appreciate any help I can get, thank you: -------------- Error ------------- ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] C:\Ruby\projects\music_library>rake db:migrate (in C:/Ruby/projects/music_library) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task with --trace) C:/Ruby/bin/rake:19: [BUG] Segmentation fault ruby 1.8.6 (2009-08-...
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3
2008 Jan 15
2
Installing Ruby on Rails - missing the "Components" folder.
...get up and running on rails. I''m on Vista 32 and have installed instant rails on C:\InstantRails from: http://instantrails.rubyforge.org/wiki/wiki.pl I''ve done the "gem update --system" and "gem install rails --include- dependencies" When I run the "rails music_library" command from rails_apps directory I get the default directory structure for a Rails application EXCEPT the "components" folder. I''m having trouble with the schema.rb not transferring the MySQL table''s field names when I run rake db:migrate I thought this might b...
2010 Mar 23
3
NoMethodError in AdminController#index
I am newb in ror. I''ve googled and found no concrete answer to my problem below: NoMethodError in AdminController#index undefined method `scaffold'' for AdminController:Class RAILS_ROOT: /home/darwin/Sites/music_library Application Trace | Framework Trace | Full Trace /home/darwin/Sites/music_library/app/controllers/admin_controller.rb:3 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:380:in `load_without_new_constant_marking'' /usr/lib/ruby/gems/1.8/gems/activesupport...
2008 Apr 21
7
undefined method `partial_updates='
Hello When I try the command: rake db:migrate I get the following: rello@calimero:~/Sites/music_library/config$ rake db:migrate (in /home/rello/Sites/music_library) rake aborted! undefined method `partial_updates='' for ActiveRecord::Base:Class I googled with no results. Anybody can help me? Thankyou -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~...
2010 Aug 08
1
help me
...t ''0000-00-00 00:00:00'', image_path varchar(255) NOT NULL default '''', artist_id int(11) NOT NULL default ''0'', PRIMARY KEY (id)); when i am running scaffold then it not generating albums_controller.rb file C:\InstantRails-2.0-win_2\rails_apps\music_library>ruby script/generate scaffold Album id:int title:varchar artist_old:varchar release_date:datetime genre:varchar created _at:datetime updated_at:datetime image_path:varchar artist_id:int exists app/models/ exists app/controllers/ exists app/helpers/ exists app/views/al...
2010 Aug 08
5
Ruby 1.8.7 and openssl failed compile
I got this error: ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?: ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this function) ossl_ssl.c:626:19: note: each undeclared identifier is reported only once for each function it appears in ossl_ssl.c:626:25: error: expected expression before ?)? token ossl_ssl.c:629:47: error: expected expression before ?)? token