Today, we ran across an issue with YAML.load giving us very unexpected results for some numbers in strings, but not others.
So, it turns out that it assumes numbers with a leading zero to be an octal, and tries to be helpful by converting them for us. More trial and error lead us to find that single quotes help, but require a little c in some cases. Here are the results of trying various things. Notice the different placement of single quotes.
I hope this helps someone out. If so, let me know!
Thursday, May 17, 2012
Wednesday, May 16, 2012
Database file /usr/local/rvm/config/user does not exist
If you've made changes to RVM recently and you start getting the following error when you cd into your app directory or use an rvm (your path may vary):
Try reloading your bash profile by either running bash or closing and reopening your terminal session. After much digging on Google with no results, this ended up fixing the issue.
Database file /usr/local/rvm/config/user does not exist.
Try reloading your bash profile by either running bash or closing and reopening your terminal session. After much digging on Google with no results, this ended up fixing the issue.
Subscribe to:
Posts (Atom)