Enter your query, example: how not cry when slicing onion or how to enter an Free Italian Sex Webcams?

Android sdk rdoc Videos

Unearthing secrets of new neurons

Heather Frank, then a senior majoring in neuroscience at Colgate University, explains studies on neurogenesis that she worked on during an internship in the ...

User Comments

https://lh5.googleusercontent.com/-nBniPMYvWYk/AAAAAAAAAAI/AAAAAAAAAzU/5Z3pSm7jpnE/photo.jpg?sz=64
Over the past decade, evidence has emerged suggesting that the birth of new neurons in the adult brain’s memory hub, or hippocampus, may play a key role in the action of antidepressants, resilience to stress, the benefits of exercise and enriched environments, and preventing memory loss. NIMH researchers are following up leads: //1.usa.gov/1rvQILJ
https://lh3.googleusercontent.com/-vfPOdKAw1zY/AAAAAAAAAAI/AAAAAAAAAUo/BlD35kuKhYg/photo.jpg?sz=64
Do "The Secret of the Rats of NIMH" know?  lol JK

Rails on Windows, Part 3/4: MySQL2 gem

Part 3 in a 4 part beginner level series covering a Windows 7 installation of Ruby on Rails 4 with the MySQL2 gem. Part 3 focuses on installing the mysql2 gem ...

User Comments

https://lh3.googleusercontent.com/-CgBXd_zmhtU/AAAAAAAAAAI/AAAAAAAAAA0/f0y0GrXW-i8/photo.jpg?sz=64
When writing the test.rb Do I need to change the "localhost"? How is that configured? Do I need to change the apache/mysql config settings within xampp? I am getting the error: C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/client.rb:58:in `connect': Can't connect to MySQL server on 'localhost' (10061) (Mysql2::Error) from C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/client.rb:58:in `initialize' from test.rb:3:in `new' from test.rb:3:in `'
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+stephen burke awesome -- that's an interesting point.  I'll be sure to mention it when I update these videos.
https://lh3.googleusercontent.com/-CgBXd_zmhtU/AAAAAAAAAAI/AAAAAAAAAA0/f0y0GrXW-i8/photo.jpg?sz=64
no worries I figured it out! had to change the "localhost" to 127.0.0.1
https://lh6.googleusercontent.com/-KHb3fi3xIyA/AAAAAAAAAAI/AAAAAAAAAUQ/NXa4IGgb2_k/photo.jpg?sz=64
If I made a mistake during the installation, will it work if I repeat the steps from the very beginning? 
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
To start over, you'll want to uninstall ruby.  Then, make sure to remove the c:\Ruby200 directory as well as c:\devkit.  That should get you back to the beginning.  However, if you're encountering an error, let me know, I'm happy to troubleshoot with you.
https://lh3.googleusercontent.com/-yt-SwzL1NYA/AAAAAAAAAAI/AAAAAAAAGVs/9i-R5gJB_0Q/photo.jpg?sz=64
I guess that everything is fine up to 6:31 in your video. Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\aaron>cd c:\dev c:\dev>mysql --user root -p 'mysql' is not recognized as an internal or external command, operable program or batch file. c:\dev>
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
Hey +aaron moskowitz, this video assumes you have MySQL installed.  I've made instructions on doing so here:  //youtu.be/-cHS4HoEFV8
https://lh3.googleusercontent.com/-yt-SwzL1NYA/AAAAAAAAAAI/AAAAAAAAGVs/9i-R5gJB_0Q/photo.jpg?sz=64
Johnathan, thank you so much. I finally feel like I am moving forward with this series. By any chance, could you elaborate on the part where we set and establish the mysql password that you use when you are testing the installation here? Thanks.
https://lh3.googleusercontent.com/-yt-SwzL1NYA/AAAAAAAAAAI/AAAAAAAAGVs/9i-R5gJB_0Q/photo.jpg?sz=64
+Jonathan MacDonald Thanks for your help.  I will go through this video this evening.
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
You're most welcome Aaron!  Not sure if you saw my reply earlier but I have a link in description for the MySQL installation instructions.  Good luck!  If you have any questions, don't hesitate to ask.
https://lh6.googleusercontent.com/-DQplTgGjBY4/AAAAAAAAAAI/AAAAAAAAACM/Vp8SlkkJnMY/photo.jpg?sz=64
I just get 4 or 5 blank lines in cmd prompt when I run for show databases
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
Do you mind copy and pasting the code here?  You might want to remove your password from the code.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
I get an error a that last part when I try to run the .rb file C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require': c annot load such file -- ./mysql2 (LoadError) from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require' from Test.rb:1:in `' I had no trouble until this step. 
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw sounds good -- that should work.  Just send me a message and we'll continue on here.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
Sure can we set up like a time because for the rest of the night I have to get off the computer and hit the books. I can do Thursday 7:30
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw you're very close to getting Rails installed.  I'd recommend persevering (especially with me willing to walk you through this).  If you want to try something else, give it a shot.  If you want to continue, I'll do my best to help you.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald If i use this website to download a package with everything in it. //railsinstaller.org/en Would everything be setup for me ready to use or would I have to manually do some of the setting up
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw ok, what I mean by directory is also referred to as a folder.  If you click on your folder icon in the taskbar, you should be able to find c:.  Off the root of c: should be a folder called 'mysql-connector-c-noinstall-6.0.2-win32'  In an earlier screenshot, I could see it partially.  Does that folder exist?
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald It does not exist. //imgur.com/dM69sy6
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw ok, I assume you mean where I walk through adding the mysql bin directory to the PATH?  You might have an issue there but the error you're getting now isn't related.Can you confirm this directory exists?   c:\mysql-connector-c-noinstall-6.0.2-win32  (I can almost see it in your screenshot but can't confirm completely that the directory name is correct.  As well, I need to see the contents of the directory.)
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald Does it have anything to do with my Path being C;/Ruby200/bin in my computer settings. They step where you go into the computer properties and add the line you copy and past in the path. I pasted it in the environmental variables and left the path at C:\Ruby/bin. Take a look //imgur.com/q8ZYfuY
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald after i tried to install the first command
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw thanks.  Ok, so, it looks like it's having trouble finding the mysql connector.  Is it for sure installed here?  c:\mysql-connector-c-noinstall-6.0.2-win32If that directory exists, can you get me a screenshot of it and its contents?
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald This is my result //imgur.com/30wUwyf
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw you know, the step that you're going through there, I'm going to skip when I update the videos.  So, yeah, lets skip this part.  Run the first command that you see here:  https://gist.github.com/lakelse/8115205If it says that it installed, double check by running 'gem list' to confirm that you see 'mysql2' listed.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald In the step where you do the git checkout 0.3.13. I don't get the entire paragraph you go a get 1 line of text saying. HEAD is now at b5ab12c... bump version for 0.3.13 release
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw looks good.  I think you might have missed the step of installing the gem.  Or, if you did run the command, it didn't install.  You should see 'mysql2' in the gem list.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald Here is picture that might help. //imgur.com/q8ZYfuY
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw ok, it looks like the gem didn't get installed.  Try running the command here:  https://gist.github.com/lakelse/18d918a0530da24c162c  (change the path to the mysql connector if it's different)Let me know how it goes.  If that doesn't work, we'll try something different.  Note the instructions are a bit dated and should update them.  I'm happy to walk you through this though.
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald Shows me Local Gems. things like 'bigdecimal' , 'io-console', 'json', 'minitest', 'psych', 'rake', 'rdoc', 'test-unit'. Minus the quotes,
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw thanks.  When you type 'gem list' (minus the quotes) do you see mysql2 listed?
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
+Jonathan MacDonald require 'mysql2'client = Mysql2::Client.new(host: 'localhost', username: 'root', password: 'adiga')sql = 'select now() as timestamp'result = client.query(sql)result.each do |row| puts row['timestamp']end
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
+Danny Kataw from the error you've sent, it indicates a problem with the 'require' line in your code.  Can you paste it here so I can take a look?
https://lh6.googleusercontent.com/-AgW020lefPM/AAAAAAAAAAI/AAAAAAAAExk/lCDOeCMfDDQ/photo.jpg?sz=64
When you show the step in when your adding the path. One of my existing paths is C:\Ruby200/bin. that is my only path
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
Hey Danny, can you copy and paste the line that has the require?
Sign up for free to join this conversation on fsaved.com.
Already have an account? Sign in to comment