similar to: MySQL setup question

Displaying 20 results from an estimated 8000 matches similar to: "MySQL setup question"

2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group, I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3. I''m able to use mysql tools like mysql, mysqladmin to converse with it. :} I use RVM''s scripts to fetch gems. I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi, I installed the "kwatch-mysql-ruby" gem on my Debian server but when I try to run the "db:migrate" task I get the following error: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant MysqlCompat::MysqlRes
2012 Apr 19
7
install Rails from terminal
I have been having trouble install Rails from the terminal on my new MacBook. I have tried to find a solution on both google and youtube, but I have not find a solution to the problem $ rails -v Rails is not currently installed on this system. To get the latest version, simply type: $ sudo gem install rails You can then rerun your "rails" command. $ sudo gem install rails
2009 Sep 10
2
undefined method `get_client_info' for Mysql:Class
after upgraded to Snow Leopard... (32bits arch) I re-installed the mysql gem (i386 architecture) , all gems and rails 2.3.4 testing in the console $ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''mysql'' => true Mysql.get_client_info NoMethodError: undefined method `get_client_info'' for Mysql:Class from
2010 Mar 07
5
Rails development processes running very slow
This is a problem I know other people have been having. I''m on Rails 2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+ inactive memory. Things should be fast. Sometimes things run slowly, but nothing nearly as slowly as rails. irb starts in milliseconds. Even Java maven tasks are pretty fast. Rails on the other hand takes a pitiful 1:30 minutes to start - the
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2011 Sep 19
27
Installing Rails Help!
Hi, I followed a Tutorial on Nettuts to install Ruby with RVM and this went well. I then tried to install Rails to follow the ''How to build a dropbox live service'' from Netttus but appear to get errors can anybody help?. Once I installed rails I created a new rails project using the command (Rails new sharebox -d mysql) This worked and created the folder structure. I then
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all, Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine with Rails 2.1.0. "which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in / usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder in /usr/local . Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2010 Sep 27
9
Rails 3 - Creating a comment and then returning the Partial with JUST the new comment
Here''s the flow I have... First, jquery posts the new comment to the server: $.post(this.action,$(this).serialize(),null,''script''); Then in the comments controller: def create @comment = lots of stuff going on here but it works... if @comment.save flash[:notice] = "Successfully created comment."
2009 Feb 15
12
Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1
Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1 WARNING: If you want to live on the edge, please continue with the steps below. Also, please be aware that all gems are not fully compatible with Ruby 1.9.1 stable release (i.e. 1.9.1p0). Furthermore, this installation requires you to remove ALL Ruby related gems and ports because we are performing a clean install.
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run bundle install, it only installs gems for that gemset. This way gems dont creep into the wrong projects. Now I just pulled a project from github. I made sure I was in the correct gemset, and then I run bundle install and it works fine. but then when I use rake to create the database "rake db:create". I get
2010 Aug 04
5
v2.0.rc4 released
http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz.sig I'm planning to release rc5 maybe this Friday or weekend, and if there are no serious bugs just change the version number to v2.0.0 a day or two later. Largest changes since rc3: + director: Added director_doveadm_port for accepting doveadm TCP connections. +
2010 Aug 04
5
v2.0.rc4 released
http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz.sig I'm planning to release rc5 maybe this Friday or weekend, and if there are no serious bugs just change the version number to v2.0.0 a day or two later. Largest changes since rc3: + director: Added director_doveadm_port for accepting doveadm TCP connections. +
2011 Aug 23
2
Where is WillPaginate::Finders ???
Hi All! It''s been a while since I had to ask for help, but I''m back! I''ve finished beta testing my big app and started the transition to production. Everything went fine and the production version was working till I was asked to add another model :-( (Almost a year of beta testing and they only come up with it after moving to production :-D ) I successfully
2010 Jul 24
23
How to disable ORM in Rails 3
Is there any way to prevent Rails 3 from using an ORM? In Rails 2, it used to have a description in environments.rb explaining how to do that. In Rails 3, is there any way to tell it to not use any database? I was trying to make some benchmarks from situations that don''t require a database... Thanks in advance, Rodrigo. -- You received this message because you are subscribed to
2008 Oct 24
1
[mysql gem] Failed to lookup Init function
Hi, with mysql.rb removed from rails 2.2 I need to install the mysql gem I have mac osx 10.5.5 I have mysql installed in /usr/local/mysql, so, after a bunch of try, I''ve installed the gem with: env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/ usr/local/mysql/bin/mysql_config the gem seems installed in /usr/local/lib/ruby/gems/1.8/gems/ mysql-2.7/ but
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily>bundle install Fetching gem metadata from https://rubygems.org/......... Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.3) Using builder (3.0.0) Using activemodel (3.2.3) Using erubis (2.7.0) Using journey
2011 Feb 12
10
GemFile error + General Help?
Hello, I''m a complete beginner in Ruby on Rails, so excuse me if this is a ridiculous question. Just to bare in mind, I''m using Mac OSX (Snow Leopard), Rails 3, and sqlite3 as a database. I''ve checked, and everything is up to date (Rails, Ruby, Gems). I am simply creating a test application, and I understand the way to run that is by running the ''rails