mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-26 13:55:44 +08:00
the current file may not be a symlink
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/ruby
|
||||
|
||||
$:.unshift(File.join(File.dirname(File.readlink(__FILE__)), '../lib'))
|
||||
$:.unshift(File.join(File.dirname(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__), '../lib'))
|
||||
require 'motion/version'
|
||||
|
||||
class Command
|
||||
|
||||
Reference in New Issue
Block a user