Giter Site home page Giter Site logo

Comments (13)

marklarr avatar marklarr commented on July 21, 2024 1

Can you install RVM \curl -sSL https://get.rvm.io | bash -s stable, open a new terminal, and gem install synx? I think this will fix it for you.

from synx.

marklarr avatar marklarr commented on July 21, 2024

You're going to need to be more specific. Did you try looking through the readme?

from synx.

yufusong avatar yufusong commented on July 21, 2024

thanks,and when I execute command " gem install synx" is successfully installed synx -0.0.52,and then i use the command "synx xxx.xcodeproj",it's show me "-bash : synx :command not found"

from synx.

marklarr avatar marklarr commented on July 21, 2024

Are you using RVM? It's possible that you've installed synx on a separate gemset than what you're trying to use it on.

rvm current will tell you what version of ruby you're currently on

and

gem list will tell you what gems you have for that version's gemset

from synx.

yufusong avatar yufusong commented on July 21, 2024

thanks again.and I use MAC default terminal.

rvm current
-bash: rvm: command not found
gem list
*** LOCAL GEMS ***
activesupport (3.2.19)
bigdecimal (1.2.0)
CFPropertyList (2.2.0)
claide (0.7.0)
clamp (0.6.3)
cocoapods (0.34.4)
cocoapods-core (0.34.4)
cocoapods-downloader (0.7.2)
cocoapods-plugins (0.3.1)
cocoapods-trunk (0.3.1)
cocoapods-try (0.4.1)
colored (1.2)
colorize (0.7.3)
escape (0.0.4)
fuzzy_match (2.0.4)
i18n (0.6.11)
io-console (0.4.2)
json (1.7.7)
json_pure (1.8.1)
libxml-ruby (2.6.0)
minitest (5.4.2, 4.3.2)
multi_json (1.10.1)
nap (0.8.0)
netrc (0.7.8)
nokogiri (1.5.6)
open4 (1.3.4)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
sqlite3 (1.3.7)
synx (0.0.52)
test-unit (2.0.0.0)
thread_safe (0.3.4)
tzinfo (1.2.2)

from synx.

marklarr avatar marklarr commented on July 21, 2024

Looks like something may be messed up with your path. Can you

echo $PATH

from synx.

yufusong avatar yufusong commented on July 21, 2024

I installed sync twice, one in the default path ,other in my demo project path.
echo $PATH
/Users/username/Desktop/cocos2d-x-3.0/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin

from synx.

yufusong avatar yufusong commented on July 21, 2024
$ \curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz

Installing RVM to /Users/username/.rvm/
    Adding rvm PATH line to /Users/username/.profile /Users/username/.bashrc /Users/username/.zshrc.
    Adding rvm loading line to /Users/username/.bash_profile /Users/username/.zlogin.
Installation of RVM in /Users/username/.rvm/ is almost complete:

  * To start using RVM you need to run `source /Users/username/.rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.

# liuyunMo,
#
#   Thank you for using RVM!
#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
$ 

then I open a new terminal window.

Last login: Wed Oct 29 10:04:10 on ttys000
$ gem install synx
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - /Library/Ruby/Gems/2.0.0/specifications/synx-0.0.52.gemspec
$ sudo gem install synx
Password:
Successfully installed synx-0.0.52
Parsing documentation for synx-0.0.52
1 gem installed
$ synx xxx.xcodeproj
-bash: synx: command not found


then I find this ”To start using RVM you need to run `source /Users/username/.rvm/scripts/rvm` in all your open shell windows, in rare cases you need to reopen all shell windows.” in log of install RVM.so I exit the terminal and open again.


$ source /Users/username/.rvm/scripts/rvm
$ gem install synx
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - /Library/Ruby/Gems/2.0.0/specifications/synx-0.0.52.gemspec
 $ sudo gem install synx
Successfully installed synx-0.0.52
Parsing documentation for synx-0.0.52
1 gem installed
$ synx xxx.xcodeproj
-bash: synx: command not found
$ sudo gem uninstall synx
Successfully uninstalled synx-0.0.52
$ sudo gem install synx
Successfully installed synx-0.0.52
Parsing documentation for synx-0.0.52
Installing ri documentation for synx-0.0.52
1 gem installed
$ synx xxx.xcodeproj
-bash: synx: command not found

anyway ,thank you again。

from synx.

marklarr avatar marklarr commented on July 21, 2024

you installed it with sudo, so you'd have to use it with sudo. But don't, because then all of your files will be owned by the super user.

This is probably because you're on system ruby. rvm current will probably show system. So, rvm use 2.1.1. It'll probably take some time to install, and then use that ruby to install and use synx. You shouldn't need to sudo anything.

from synx.

yufusong avatar yufusong commented on July 21, 2024

ok,thanks a lot .I try it again.

from synx.

marklarr avatar marklarr commented on July 21, 2024

Any luck?

from synx.

yufusong avatar yufusong commented on July 21, 2024

thanks for you care.and there not much progress

I try to get root permissions and do this

sh-3.2# whoami
root

sh-3.2# rvm current
system
sh-3.2# gem list

*** LOCAL GEMS ***

activesupport (3.2.19)
bigdecimal (1.2.0)
CFPropertyList (2.2.0)
claide (0.7.0)
clamp (0.6.3)
cocoapods (0.34.4)
cocoapods-core (0.34.4)
cocoapods-downloader (0.7.2)
cocoapods-plugins (0.3.1)
cocoapods-trunk (0.3.1)
cocoapods-try (0.4.1)
colored (1.2)
colorize (0.7.3)
escape (0.0.4)
fuzzy_match (2.0.4)
i18n (0.6.11)
io-console (0.4.2)
json (1.7.7)
json_pure (1.8.1)
libxml-ruby (2.6.0)
minitest (5.4.2, 4.3.2)
multi_json (1.10.1)
nap (0.8.0)
netrc (0.7.8)
nokogiri (1.5.6)
open4 (1.3.4)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rvm (1.11.3.9)
sqlite3 (1.3.7)
synx (0.0.52)
test-unit (2.0.0.0)
thread_safe (0.3.4)
tzinfo (1.2.2)
xcodeproj (0.20.0, 0.19.4)
sh-3.2# synx xxx.xcodeproj
sh: synx: command not found
sh-3.2#

sh-3.2# gem uninstall synx
Successfully uninstalled synx-0.0.52
sh-3.2# gem install synx
Successfully installed synx-0.0.52
Parsing documentation for synx-0.0.52
Installing ri documentation for synx-0.0.52
1 gem installed
sh-3.2# synx xx.xcodeproj
sh: synx: command not found

sh-3.2# gem update rvm
Updating installed gems
Nothing to update

from synx.

marklarr avatar marklarr commented on July 21, 2024

You need to rvm use 2.1.1

from synx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.