AndroidIntelliJStarter icon indicating copy to clipboard operation
AndroidIntelliJStarter copied to clipboard

supports ruby 1.9+

Open joshskeen opened this issue 12 years ago • 1 comments

Old versions of ruby (pre 1.9) added the current directory to the $LOAD_PATH, however new versions of ruby (1.9+) do not. Starting with modern ruby versions 1.9 and greater (including OSX Mavericks, which uses ruby 2.0 for /usr/bin/ruby), the scripts will no longer work correctly, due to this issue. This pull request fixes that problem, by using the require_relative method to load the helpers.rb file.

Ruby 1.9+ is now REQUIRED with this change. If we want to support versions prior to ruby 1.9, we can also add this. If so, how old a version would we like to support?

joshskeen avatar Dec 15 '13 18:12 joshskeen

Actually, the ruby core team has retired ruby 1.8, so dropping support for pre-1.9 is probably the right thing to do! https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/

joshskeen avatar Dec 15 '13 18:12 joshskeen