I have installed ruby and rails and my application gives me an error when I am trying to run rake db:migrate
I have a simple question. I have a join table which has an index that ensure that (col 1, col 2) is unique.
I\'m trying to set up my RubyOnRails development enviroment with MySQL. I have XAMPP installed, so I decided to use the XAMPP\'s MySQL installation, (therefore I installed the XAMPP dev package).
I\'m using activerecord with em_mysql2 under Goliath (eventmachine). The oddest thing is happening with my User model. When I do a POST to /users the first time, it all works just find as expected. Wh
Newbie to rails here. I\'m running Snow Leopard with 10.6.4 with rails (3.0.7), mysql2 (0.3.2) gem & mysql-5.5.12 (64 bit version).
I have a ruby script that requires \'mysql2\' and uses 开发者_C百科query statements to mysql like
I\'ve read through numerous posts here regarding mysql2, but although the gem seems to install fine, I still get error when running any rake db tasks or rails commands. In my Gemfile:
Hi I just started on Ruby on Rails. I try to launch my first \'HelloWorld\' app using WebRick and MySQL 5.5, Windows XP
frustrated. Is this wrong? env ARCHFLAGS=\"-arch x86_64\" sudo gem install mysql2 --version \'0.2.6\' -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Step 1:-- rails s/usr/local/rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/lib/mysql2.rb:8:in `require\': dlopen(/usr/local/rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle, 9): Librar