Heather Frank, then a senior majoring in neuroscience at Colgate University, explains studies on neurogenesis that she worked on during an internship in the ...
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
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 ...
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 `'
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.
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>
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.
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.
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.
+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.
+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
+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?
+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.)
+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
+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?
+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.
+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
+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.
+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.
+Jonathan MacDonald Shows me Local Gems. things like 'bigdecimal' , 'io-console', 'json', 'minitest', 'psych', 'rake', 'rdoc', 'test-unit'. Minus the quotes,