This is the error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/likewise-open/VISIONAMOS/jvidal/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
| If you have a method or attribute in a class, you could invoke the send() method in order to call those | |
| methods or attributes. | |
| In my case, I was confused when I was trying to do a validator for my class Transaction which has | |
| another class associated Account, and there is a class called Entity. | |
| I needed validate that an specific account was created in the Account model and belonged to the | |
| same entity. | |
| ==== |
This is the error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/likewise-open/VISIONAMOS/jvidal/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
| - Descomprimir .tgz | |
| ``` | |
| $ tar -xvzf archivo.tgz | |
| ``` | |
| - Descomprimir .tar | |
| ``` | |
| $ tar -xvf archivo.tar |
mysqldump -u [username] -p --no-create-db --no-create-info [database_name]+ [table_name]* > [filename]+.sql
mysqldump -u [username] -p --no-data [database_name]+ [table_name]* > [filename]+.sql
scp -P [port_number] [files_to_send] [user]@[ip_server]:[folder_in_server]
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| Problem topic: postgres | |
| -> Error: psql: could not connect to server: No such file or directory | |
| -> The solution which worked for me: | |
| a pid file was blocking postgres from starting up. To fix it: | |
| rm /usr/local/var/postgres/postmaster.pid | |
| and then all is well. | |
iTerm2
http://iterm2.com/
Oh my ZSH
https://github.com/robbyrussell/oh-my-zsh
HomeBrew