So ruby-debug is still broken for 2.0, but someone came up with a package called byebug. Check it out.
current transaction is aborted, commands ignored until end of transaction block
Can occur if you’re using PostgreSQL and forget to run your south migration.
Reason: Incompatible library version: libMagickCore.5.dylib requires version 16.0.0 or later, but libfreetype.6.dylib provides version 15.0.0
$ brew uninstall freetype $ brew install freetype $ brew link -f freetype
Since I used RVM and only had one Ruby on Rails project I was working on, doing so is easy, though not intuitive.
To uninstall all the gems:
$ rvm gemset empty
Then install them the regular way:
$ bundle install
You might get an error that looks like this: “There was an error in your Gemfile, and Bundler cannot continue.”. If that’s the case, run:
$ gem install bundler
I started getting this error in OS X after I switched my Terminal shell from bash to zsh (with oh-my-zsh).
~/.rvm/scripts/initialize:50: __rvm_cleanse_variables: function definition file not found
To fix, run:
$ rm -f ~/.zcompdump
Similar to a previous Android issue, except this time for iOS. It’s not really a problem per-se, but it can make your UI look less clean. What happens by default in mobile webkit is that when you hold your finger on an element, a grey transparent box is overlayed on it. To remove this, use the following CSS property:
What really matters is the last value in the 4 values, which sets the opacity to 0, in other words, makes it transparent.
In the middle of a `brew update`, I killed the process with ctrl+c. This left the git repo in a broken state.
Please move or remove them before you can merge. Aborting Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
$ cd /usr/local $ git add . $ git stash $ git reset --hard
`brew update` should now work.
To install it, just use npm:
$ npm install -g node-inspector
Since you’ll be connecting to node-inspector via your browser, you’ll need to spool up the node-inspector server as so:
$ node-inspector &
Finally, run your app in –debug mode:
$ node --debug app.js
Connect to http://127.0.0.1:8080/debug?port=5858 and you’re good to go!
This setup description and more info can be found in the README.