-
Bundler reports errors across several different projects when running `bundle install`
When running bundle install, I was getting the following for several projects: Bundler gave the error “Could not find {gem_name_version} in any of the sources” while processing “{project_path}/Gemfile”. Perhaps you forgot to run “bundle install”? . . . I found someone else was having the same problem too. In my case, I had uninstalled and…
-
On Mac OSX Lion: “ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension”
Running Mac OSX Lion, trying to bundle install a project that included the ruby-oci8 gem, I received the following error: Building native extensions. This could take a while… ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension. The fix: Fortunately, the 64-bit client for Oracle has now been updated for Lion/Mountain Lion. Download…
-
What Gets Added When I Require a File in Ruby?
Let’s say you want to know what symbols are added when you require something in ruby. For example, I was curious if I could get a list of symbols that were added when I required ‘english’. I simply used Symbol.all_symbols to save off the old symbol array and the new one and then subtracted the…