Odd referrer issue

Posted Over 10 years ago by dncrht.

The request referrer is the URL you come from. It's set by the browser when you click a link...

Bundle install in parallel

Posted Over 10 years ago by Tadej.
github.com

Gave a shot to the new Bundler 1.4.0RC1 during the weekend and found out it now supports gem installation...

jQuery ajax success/done will not run callbacks if request is json but the response is empty (typical 200)

Posted Almost 11 years ago.

var onDone = function() {...

var onFail = function() {...

var params = {...

var url = ... $.ajax({ type: 'put', url: url, contentType: 'application/json; charset...

Killing wkhtmltopdf during cucumber

Posted Over 11 years ago by Nasir Jamal.

wkhtmltopdf hangs on mac during cucumber unless we click on it. The main reason is with the version we use...

To avoid using bundle exec or creating rvm gemsets

Posted Over 11 years ago by Nasir Jamal.

Add to the end your .bash_profile export PATH="./vendor/bundle/bin:$PATH" Also add alias bi="bundle install --path vendor/bundle --binstubs...

Creating a gem in lib folder

Posted Over 11 years ago by fragalla.
github.com

Go to lib folder and use bundler to generate main files for a gem: $ bundle gem test_gem create test...