I installed "eclipse" and want to run "fxruby" on fedora "linux", but it does not work it.
The error says :
cannot load such file -- fox16 (LoadError)
I installed this file with command
gem install fxruby
but fxruby not exist in gem list.
How can i fix it?
Related
When compiling Jekyll project with plugin jekyll_lunr_js_search always getting following error in windows. However it compiles on gitlabci.
Dependency Error: Yikes! It looks like you don't have D:/myproject/_plugins/lunrjs/jekyll_lunr_js_search.rb or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- v8' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
Upon using gem install jekyll-lunr-js-search following error:
C:\MyProj>gem install jekyll-lunr-js-search
Fetching: json-2.0.3.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed json-2.0.3
Fetching: ref-2.0.0.gem (100%)
Successfully installed ref-2.0.0
Fetching: libv8-3.16.14.19.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing jekyll-lunr-js-search:
ERROR: Failed to build gem native extension.
current directory: C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
C:/APPs/Ruby23-x64/bin/ruby.exe -r ./siteconf20170310-14120-1y669dw.rb extconf.rb
creating Makefile
The system cannot find the path specified.
C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in `setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently 3.4.4 (RuntimeError)
from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in `build_libv8!'
from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in `install!'
from extconf.rb:7:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19 for inspection.
Results logged to C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/libv8-3.16.14.19/gem_make.out
** FILE CONTENTS (gem_make.out)**
current directory: C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
C:/APPs/Ruby23-x64/bin/ruby.exe -r ./siteconf20170310-14120-1y669dw.rb extconf.rb
creating Makefile
The system cannot find the path specified.
C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in `setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently 3.4.4 (RuntimeError)
from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in `build_libv8!'
from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in `install!'
from extconf.rb:7:in `<main>'
extconf failed, exit code 1
NOTE:
I've both python v2 and v3 installed and working fine. Tested python shell using py -2 output follows:
C:\>py -2
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
If you look into the lib directory, you'll see that the ruby file is jekyll-lunr-js-search.rb instead of jekyll_lunr_js_search.rb. Moreover, it is also available as a Rubygem package.
Simply add the gem to the :jekyll_plugins group in your Gemfile, run bundle install and proceed building / serving with Jekyll.
All of the sudden I get this error when I run jekyll serve.
cannot load such file -- jekyll-watch
Dependency Error: Yikes! It looks like you don't have jekyll-watch or one of its dependencies installed.
In order to use Jekyll as currently configured, you'll need to install this gem. The full error message fro
m Ruby is: 'cannot load such file -- jekyll-watch' If you run into trouble, you can find helpful resources
at http://jekyllrb.com/help/!
I've got no clue how to fix this. Does someone else have this problem?
gem list jekyll-watch show me
* LOCAL GEMS *
jekyll-watch (1.2.1)
I have this problem and solved below command line
gem install GEM_NAME_HERE
if you run in after OSX el Capitan use blow command line
sudo gem install -n /usr/local/bin GEM_NAME_HERE
I ma trying to install fat free crm on windows using these instructions http://guides.fatfreecrm.com/Setup-Microsoft-Windows.html
I am on the part where we install mysql2 lib and libmysql.dll
The command "gem install --no-rdoc --no-ri mysql2 -v 0.2.7 -- with-mysql-dir=X: --with-mysql-lib=X:\bin --with-mysql-include=X:\include" fails and error comes "Error installing mysql2:
ERROR: Failed to build gem native extension.".I fixed this part my changing the version of mysql in the command to 0.3.11.Now the last step says to copy libmysql.dll but I cant find that file in the specified directory.
If it's of interest, Bitnami has recently published a one-click installer for FFCRM. See https://bitnami.com/stack/fat-free-crm I'll also update the FFCRM docs to note this.
I've installed the 64bit version of ruby from http://rubyinstaller.org/downloads/
Trying to install mysql, i downloaded the 64bit version of the connector
and i get the error
compiling client.c
In file included from client.c:1:0:
./mysql2_ext.h:17:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make: *** [client.o] Error 1
as you can see in the next screen
In the end this faq worked. I guess because i downloaded exactly the version of the connector linked in the article and run
gem install mysql2 --no-ri --no-rdoc --platform=ruby -- --with-mysql-include=C:/mysql-connector-c-noinstall-6.0.2-winx64\include --with-mysql-lib=C:/mysql-connector-c-noinstall-6.0.2-winx64\lib
EDIT - the correct version to use of the connector for 64 bit version is found here. The normal version segfaults, so thanks to this thread i found the correct version https://github.com/brianmario/mysql2/issues/372
I am receiving this error when I'm using ironworker's iron_worker gem to upload and build my worker.
iron_worker upload results in
error:/usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- zip/zip (LoadError)
There was a recent change to the rubyzip gem that required a dependency lock on the iron_worker_ng gem.
to fix this update to the latest version by running the command.
gem update iron_worker_ng
Your gem version should be
iron_worker_ng (1.0.2)
You can test this by running
iron_worker -v
It should look like iron_worker_ruby_ng-1.0.2 (iron_core_ruby-1.0.1)
as of 09/12/13.