railslove / fontello_rails_converter

CLI gem for comfortably working with icon fonts (open, download, convert) from http://fontello.com for usage in Rails apps.
MIT License
73 stars 35 forks source link

can't find executable fontello for gem fontello_rails_converter (Gem::Exception) #47

Closed duleorlovic closed 5 years ago

duleorlovic commented 5 years ago

I'm getting following error when I try to use it in command line

bundle exec fontello convert

I have it in Gemfile

# Gemfile
gem 'fontello_rails_converter'
duleorlovic commented 5 years ago

One workaround is to use

gem which fontello_rails_converter

and than use full path

/home/orlovic/.rvm/gems/ruby-2.6.3/gems/fontello_rails_converter-0.4.6/bin/fontello  convert
bumi commented 5 years ago

Hi @duleorlovic do other commands from other rubygems work within your project? are you sure your PATH environment variable is configured to find the executable within the rvm directories?

duleorlovic commented 5 years ago

Yea, that was a problem... rvm did not catch up all my PATHS (not sure why, but now it works). Thanks @bumi