Setup Ubuntu 15.04 Vivid Vervet Discussion
Works great, I only had a problem with the mysql2 gem. I fixed that by doing a downgrade to version 0.3.18.
gem 'mysql2', '~> 0.3.18'
"Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your MySQL installation" - getting this message when run "rake db:create" I have set the password in databases.yml password to my root password file but show this problem. Thanks in advance. (Note: I am newbie in CLI environment)
I just googled and found this:
https://github.com/nodejs/n...
Since it is part of the repositories it is no longer required to add the ppa. I am using Ubuntu 15.04
I'm getting this error on
$ rake db:create
Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
Gem::LoadError: can't activate mysql2 (~> 0.3.13), already activated mysql2-0.4.2. Make sure all dependencies are added to Gemfile.
Tasks: TOP => db:create
(See full trace by running task with --trace)
[EDIT]
Fixed it by adding
gem 'mysql2', '~> 0.3.18'
instead of
gem 'mysql2'
in Gemfile of the app.
## Great post Thanks.
Hi thevaliantx, you have to modify the Gemfile with that version for mysql2 gem.Then run "bundle install".
That's nice! I'm trying to be a full stack web developer, so HTML and CSS is mandatory, besides much more things to learn. But I'm not following the Ruby path, I was just trying to know how it works, but instead I'm really focused in Node.js. I'm not a professional programmer too, but maybe someday.
A JavaScript book that I always recommend is: "Eloquent JavaScript - second edition". It's divided in three parts, the last one is about Node.js. I thinks i'ts a good book for new comers to the language. You can read it online for free: http://eloquentjavascript.net/