We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I installed phantomjs on ubuntu using sudo apt-get install phantomjs. No problem.
I then installed the phantomjs.rb gem using gem install phantomjs.rb. Installed fine.
But when I run Phantomjs.inline() from my rails controller, I get this error:
uninitialized constant ChartsController::Phantomjs
This also happens when I try to run it from irb:
$ irb irb(main):001:0> Phantomjs NameError: uninitialized constant Phantomjs from (irb):1 from /home/nicolas/.rbenv/versions/2.2.0/bin/irb:11:in <main>
$ irb
irb(main):001:0> Phantomjs
NameError: uninitialized constant Phantomjs
from (irb):1
from /home/nicolas/.rbenv/versions/2.2.0/bin/irb:11:in <main>
I verified that the phantomjs package is installed, it works fine from the command line.
Any ideas?
The text was updated successfully, but these errors were encountered:
Any solution yet?? I am facing the same issue.
Sorry, something went wrong.
No branches or pull requests
I installed phantomjs on ubuntu using sudo apt-get install phantomjs. No problem.
I then installed the phantomjs.rb gem using gem install phantomjs.rb. Installed fine.
But when I run Phantomjs.inline() from my rails controller, I get this error:
uninitialized constant ChartsController::Phantomjs
This also happens when I try to run it from irb:
$ irb
irb(main):001:0> Phantomjs
NameError: uninitialized constant Phantomjs
from (irb):1
from /home/nicolas/.rbenv/versions/2.2.0/bin/irb:11:in <main>
I verified that the phantomjs package is installed, it works fine from the command line.
Any ideas?
The text was updated successfully, but these errors were encountered: