I'm just starting to learn Ruby on Rails, and I'm developing on Mac. I'm new to Mac and Linux, and I'm already trying to use the commands that I need in order for everything to be done. For example, I started the rails with the help of a team :> rails server -d, and I could not figure out how to stop it. Ctrl-c, as mentioned in the tutorials, does not work, because it was a separate process using the -d switch. After google search, I found that it lsof|grep rubyhelped me find the process that was running andkill -9 pidstopped him. For the past twelve years I have been developing Windows, and I have never used or seen any of these Linux commands before. It makes me nervous trying to develop, such an unfamiliar environment. The big problem is that I don’t know the path to the server after deploying and running the application, and I have to start troubleshooting.
:> rails server -d
lsof|grep ruby
kill -9 pid
I'm going to try to read on linux and learn more about the OS, but I wanted to ask which Linux commands should I be familiar with when I start learning Ruby on Rails?
Many thanks for your help!
2 , asp.net Visual Studio. , unix. , VIM , IDE (RadRails, Aptana ..). , ! IDE, , . IMHO:)
, , vim , rails.vim, fuzzyfinder, snippets, NERDTree. MacVim, visor . , Git . MacPort rvm. , , Windows, , .
, Ruby , , , : ls, mv, cd .. : http://linuxcommand.org/
ls
mv
cd
: , , . gui, , , - , - CLI.
Linux Ruby. Rail . , - . , , .
, linux, Pocman ( Linux)
"find" "-mtime", , . , , , , , 2 :
find . -mtime -2
, RoR cd, ls, mv cp, .
cp
, . , / .
, , Rails- , Linux.
, , (rake ..), git
Source: https://habr.com/ru/post/1769382/More articles:Есть ли легко взломанный медиа-сервер Tivo с открытым исходным кодом? - javaOracle 11g jdbc driver compatible with oracle 10g database? - databaseSilverlight validation does not work with data annotations - validationPhp function headers_sent not working - phpMy watch never misses 8 seconds - jquerySuggested IIS Settings for WCF Web Service? - iisAsp.Net weird name? - asp.netSpring - как обрабатывать исключение - springHow can I verify that two relational databases are identical regardless of primary keys? - databasehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1769387/ways-to-collect-a-physical-signature-with-a-web-site-on-ios&usg=ALkJrhjYGlNsRQDDQBOtCnBixWhd5UaWhQAll Articles