Closed rootical closed 8 years ago
is it installed globally? or via a Gemfile?
is bundle exec fontello
working?
It was installed through gem file.
bundle exec fontello
works
if you want to use it outside a Gemfile's scope you'll have to install it with:
gem install fontello_rails_converter
can you past the complete output? including the invoking command
Files are there, sorry. Anyway doesn't matter how i try install via gem install
or through bundle, i get
zsh: command not found: fontello. I think it's zsh specific issue.
hm, this is kinda strange :)
[~]$ rvm ruby-2.1.5
[~]$ fontello
zsh: command not found: fontello
[~]$ gem install fontello_rails_converter
Fetching: rubyzip-1.1.6.gem (100%)
Successfully installed rubyzip-1.1.6
Fetching: launchy-2.4.3.gem (100%)
Successfully installed launchy-2.4.3
Fetching: netrc-0.10.2.gem (100%)
Successfully installed netrc-0.10.2
Fetching: rest-client-1.7.2.gem (100%)
Successfully installed rest-client-1.7.2
Fetching: fontello_rails_converter-0.3.2.gem (100%)
Successfully installed fontello_rails_converter-0.3.2
5 gems installed
[~]$ fontello
Run fontello --help for help
[~]$
other ruby executables are working fine? this more or less looks like a messed up $PATH
does reloading the shell any good?
Reloading shell doesn't help. All other ruby executables work fine.
@rootical , you have to put the fontello
program into bundled commands in zsh. To do this follow the steps:
cd ~/.oh-my-zsh/plugins/bundler && git fetch origin && git rebase origin/master
. I'm not sure which version of the plugin do you have, but if yo have an older version than this commit the following steps won't make regarding effect.open ~/.zshrc
BUNDLED_COMMANDS=(fontello)
exec $SHELL
or just reload the terminalfontello_rails_converter
gem and now you are free to use fontello open
commandOpened pull request for guys from zsh
: https://github.com/robbyrussell/oh-my-zsh/pull/3679
closing this, because there has been no new acitivity
Hi, thank you for your work. The issue looks similar to #13. I have 0.3.2 version installed and use zsh. Shall i add it manually to path? By the way, bundle exec fontello convert works