colszowka / phantomjs-gem

Phantomjs via Rubygems: Auto-install phantomjs on demand for current platform. Comes with poltergeist integration.
Other
222 stars 104 forks source link

I following "which: no phantomjs in" thing to turn off the message #85

Open mokoaki opened 8 years ago

mokoaki commented 8 years ago

…such as it was thought that than can be

$ rails c
Loading development environment (Rails 4.2.6)
irb(main):001:0> Phantomjs.path
which: no phantomjs in (/home/xxxxxxx/.rbenv/versions/2.3.1/bin:/home/xxxxxxx/.rbenv/libexec:/home/xxxxxxx/.rbenv/plugins/ruby-build/bin:...)  <=
which: no phantomjs in (/home/xxxxxxx/.rbenv/versions/2.3.1/bin:/home/xxxxxxx/.rbenv/libexec:/home/xxxxxxx/.rbenv/plugins/ruby-build/bin:...)  <=
=> "/home/xxxxxxx/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs"

⬇️

$ rails c
Loading development environment (Rails 4.2.6)
irb(main):001:0> Phantomjs.path
=> "/home/xxxxxxx/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs"

memo

$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

$ cat /proc/version
Linux version 3.10.0-327.18.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016
tuxayo commented 7 years ago

Is there any issue that prevents merging this?

thomasfedb commented 7 years ago

Would also like to see this merged. :sparkles: