mysql - Error installing "nokogiri" in a Ruby on Rails application? -
i've been following along lynda.com's ruby on rails course. did mentioned inside videos.
i trying run rails server
command, should default webrick, correct?
i run command , has issue in nokogiri.rb
file , on line 29 error happening read:
require 'nokogiri/nokogiri'
which command prompt throwing on when running rails server
command. idea causing this? if so, commands need run settle this? me sounds missed when installing mysql.
i not sure nokogiri
, why rails server
won't run , points line of code.
the path file (wherever installed folder to)\lib\ruby\gems\2.2.0\gems\nokogiri-1.6.6.2-x64-mingw32\lib
edit**: have chain of errors, goes -long path-, -longpath- etcetera. tried installing latest gem, , wasn't successful. there log file can share guys figure out issue.
nokogiri ruby "gem" (library) parsing xml , html.
your rails project should have gemfile specifies name , version of each gem needed run project. install gems listed in gemfile:
bundle install
after install completes successfully, rails should able find nokogiri gem.
Comments
Post a Comment