similar to: '$ rake db:create' don't work!

Displaying 20 results from an estimated 1000 matches similar to: "'$ rake db:create' don't work!"

2013 Oct 23
9
rails generate scaffold - ERROR
Hi, I just installed ROR using the rvm using these instructions: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ Using Ubuntu 12 on VirtualBox I''m trying to create a demo_app rails generate scaffold User name:string email:string gives me this error: -- /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect'': Could not
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my pc. Do I need to ran something in the ruby to use MySQL? C:\>rails new MySQLRestaurant --database=mysql C:\>cd MySQLRestaurant C:\MySQLRestaurant>rails generate scaffold review poster:string date:datetime ar ticle:text C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when I try to restart Unicorn I get the following error. /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems /core_ext/kernel_require.rb:45:in
2012 Feb 08
3
An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
error information occurred when I execute "rails new demo1 -- database=mysql" MY environment below: Mac OS 10.4.11, Ruby 1.8.7 Rails 3.2.1, Gem 1.8.15 mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using readline 6.2 mysql (2.8.1) Please help me, thx! more detail message as follows: Installing mysql2 (0.3.11) with native extensions
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys, I''m having an issue with deploying my application and the mysql2 gem. I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3. On my local machine in development environment the application runs just fine. But when I want to deploy it on our production server I get an error message from passenger. "Please install the mysql2 adapter: `gem install activerecord-mysql2-
2013 Apr 13
2
running rails on my linux mint
Hi i cannot start my rails server webrick and i m just start learning rails .. the error i get is: > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 => Booting WEBrick
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing mysql2 gem on my windows 7 OS. I checked several forums for solutions but still couldn''t get that installed. can someone help my out please? below is the error: c:\>gem install mysql2 Building native extensions. This could take a while. ERROR: Error installing mysql2: ERROR: Failed to build gem native
2011 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got error An error occurred while installing mysql (0.3.7), and Bundler cannot continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before bundling. Please help me i want to codding with rails :) -- Posted via http://www.ruby-forum.com/. -- You received this message because
2011 Feb 28
1
Regression with many independent variables
Hi, I am trying use lm() on some data, the code works fine but I would like to use a more efficient way to do this. The data looks like this (the data is very sparse with a few 1s, -1s and the rest 0s): > head(adj0708) MARGIN Poss P235 P247 P703 P218 P430 P489 P83 P307 P337.... 1 64.28571 29 0 0 0 0 0 0 0 0 0 0 0 0 0 2 -100.00000 6 0 0
2012 Dec 25
3
ERROR : An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue.
I am a php programmer, learning ruby on rails I am using ubuntu 10.10. i am not so fine with linux. i have installed ruby, gems etc. I want to make app with using mysql. I have used *$ rails new clogs_web_app -d mysql* to make app but the process stops with this statement *Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.* it give me error : * An error occurred
2012 Jan 14
2
mysql2 error in production
As I need to upgrade a Rails app to 3.1 , I am trying to deploy it on a remote production server ( Linux Debian, after installing Rails 3.0.9 under rvm with all needed gems including mysql2 version 0.2.18 used by the app) after deployment, starting the app, I get a Load error w mysql2... ** [out :: www.mydomain.com] /var/www/vhosts/mydomain.com/rails/
2013 Aug 29
5
Problem when using bundle exec rake with Launchd
Dear all, I am developing a web harvesting server which requires regularly website parsing. Since I use Mac 10.8 as my development environment, I try to use Launchd to routinely wake up my parser. My parser was a bash script which has only two lines: 1. cd $HOME/ProjectFolder 2. bundle exec rake dailyTask:dataParse When directly execute the script under Terminal, there is no problem.
2011 Dec 08
3
Problem with running "WEbrick"
Hi After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and connected MySQL to it ( I checked it and it worked ) I installed rails then I create a project on "C:\Users\Amiref\Documents\Sites\simple_cms" with this order : "rails new simple_cms -d mysql" then when I use "rails server" to run webrick I saw this error on command prompt : "rails.bat :
2011 Mar 14
3
error during installing gem named mysql2
*hello everyone,* * * *im getting this error when im installing a gem via command prompt * *can any one help me out? please* * * *thanks.* * * *C:\>gem i mysql2* *Temporarily enhancing PATH to include DevKit...* *Building native extensions. This could take a while...* *ERROR: Error installing mysql2:* * ERROR: Failed to build gem native extension.* * * * C:/Ruby192/bin/ruby.exe
2011 Apr 21
1
GEMFile gem 'mysql2' and mysql version is 4.1.2
Hi all I have a Gemfile with this value gem ''mysql2'' but when I run this command ''$ bundle install'' on my host they said that "The command "bundle install --local" seems to be returning mysql2 dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ ( refer: https://github.com/brianmario/mysql2/issues/109 ) whereas the server mysql
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi, My system has the following : MacOs Leopard Rails 3 Ruby 1.9 Mysql 5.1.58 mysql2 ruby gems My problem is that when i give "rails server", the task aborts with the foll error rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby versions separate. After some initial difficulties with MySql2 gem installation, following <a href=http://rorguide.blogspot.com/2011/03/installing- mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7 installed. My problem
2011 Jul 15
1
Rails 3 app has strange behaviour with Mysql2 database
Hi, I have developed a little web app with a sqlite3 database in development environment. Now I switched over to mysql2 for production environment. At a first look everthing looks good! BUT, I have delayed_jobs that run methods in the background, where two nested active records were compared with "if hash1 == hash2", then it should just show whether they are the same or not. With
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know if any one needs some more details. I followed instruction from "https://github.com/oneclick/rubyinstaller/wiki/Development-Kit". I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32]. E:\work_desk\trunk>gem install mysql2 -v 0.2.4 Temporarily enhancing PATH to include DevKit... Building native extensions. This