First of all you must update ruby-build to update definitions list.
brew update
And update ruby-build
require 'savon' | |
# Get wsdl | |
client = Savon.client(wsdl: "http://localhost:8080/axis/services/USD_R11_WebService?wsdl") | |
#login | |
response = client.call(:login, message: {username: "servicedesk", password: ""}) | |
sid = response.body[:login_response][:login_return] |
https://github.com/bugsnag/bugsnag-api-ruby
gem install bugsnag-api-gem
On a specific rails application (4.2), when a developper call reload!
method on a console he'll see:
Engine Load (0.3ms) SELECT `engines`.* FROM `engines` WHERE `engines`.`label` = 'influencer' LIMIT 1
Engine Load (0.3ms) SELECT `engines`.* FROM `engines` WHERE `engines`.`label` = 'speaker' LIMIT 1
Engine Load (0.3ms) SELECT `engines`.* FROM `engines` WHERE `engines`.`label` = 'animator' LIMIT 1
Engine Load (0.2ms) SELECT `engines`.* FROM `engines` WHERE `engines`.`label` = 'ambassador' LIMIT 1
Engine Load (0.2ms) SELECT `engines`.* FROM `engines` WHERE `engines`.`label` = 'private_show' LIMIT 1
To sync changes you make in a fork with the original repository, you must configure a remote that points to the upstream repository in Git.
git remote -v
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
To untrack a single file that has already been added/initialized to your repository, i.e., stop tracking the file but not delete it from your system use: git rm --cached filename
To untrack every file that is now in your .gitignore:
First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
This removes any changed files from the index(staging area), then just run:
When you encounter
/Users/kernel/.gem/ruby/2.0.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in
`require': dlopen(/Users/kernel/.gem/ruby/2.0.0/gems/mysql2-0.3.16/lib/mysql2/mysql2.bundle, 9):
Library not loaded:
/usr/local/lib/libmysqlclient.18.dylib (LoadError)
Try gem pristine mysql2
, this command restores installed gems to pristine condition from files located in the gem cache