i nyoman gurnitha
How start using MySQL in Ruby on Rails?
I created a new app, using this command "
rails new myapp -d mysql
" as suggested, with no problem.
I setup the database by adding the password and run the server.
But it failed.
Any body can help?
Great tutorials. Many thanks.
Nyoman, Bali, Indonesia
Posted in Setup MacOS 10.10 Yosemite Discussion
I Installed Rails With No Problem, But Now It Disappears. Why?
I followed the guidance carefully and I successfully installed: Homebrew, Ruby, Git, Rails, and Setting Up Database.
I tried them by creating some testing apps with no problem, I went to bed, and left my computer on for downloading Xcode.
But the next morning, when wanted to practice using them, I found rails is no longer in my computer. Here is what it says:
ings-Mac:~ ing$ ruby -v
ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
ings-Mac:~ ing$ rails -v
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
I made another installation of rails with:
$ sudo gem install rails (with no problem)
It installed Rails 4.2.5.
I made some testing with and without mysql. It DONE WELL.
Will rails disappear again? Let see...
Oh yeh, there are similar problems in Stackoverflow...