When i run pod init command it showing me
git version 2.20.1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper$ReflectiveAccess to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
RuntimeError: Failed to extract git version from `git --version` ("")
git_version at /Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118
verify_minimum_git_version! at /Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:130
run at /Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:49
<main> at /Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-1.5.3/bin/pod:55
load at org/jruby/RubyKernel.java:1007
(root) at /Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/bin/pod:1
eval at org/jruby/RubyKernel.java:1046
<main> at /Users/maheshpandit/.rvm/gems/jruby-9.2.5.0/bin/jruby_executable_hooks:24
for command sudo gem install cocoapods shows me
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/Users/maheshpandit/.rvm/rubies/jruby-9.2.5.0/lib/ruby/stdlib/jopenssl.jar) to constructor java.security.cert.CertificateFactory(java.security.cert.CertificateFactorySpi,java.security.Provider,java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Successfully installed cocoapods-1.5.3
1 gem installed
not creating pod file ...
Related
How can we get rid of such ruby warning messages reported when I execute a Homebrew command on MacOS ?
brew upgrade
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1267: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1540: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1540: warning: previous definition of DIRECTORY_TERM was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1542: warning: already initialized constant FileUtils::Entry_::SYSCASE
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1542: warning: previous definition of SYSCASE was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1595: warning: already initialized constant FileUtils::OPT_TABLE
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1595: warning: previous definition of OPT_TABLE was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1649: warning: already initialized constant FileUtils::LOW_METHODS
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1649: warning: previous definition of LOW_METHODS was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1656: warning: already initialized constant FileUtils::METHODS
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1656: warning: previous definition of METHODS was here
This is the open issue for the camel case warnings.
I try to compile my Gradle/Kotline Project on my new Mac and getting the same error 'Resource not found'-like errors for all my gradle projects. Any ideas whats wrong? The same project for example works on the latest Docker 'primetoninc/jdk'.
mac:nextlevel2017-kotline robert.rajakone$ ./gradlew build
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/Users/robert.rajakone/.gradle/wrapper/dists/gradle-3.5.1-all/42vjebfdws9pjts3l4bouoq0p/gradle-3.5.1/lib/gradle-base-services-3.5.1.jar) to method java.lang.ClassLoader.getPackages()
WARNING: Please consider reporting this to the maintainers of org.gradle.internal.reflect.JavaMethod
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
:compileKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find org.springframework.boot:spring-boot-starter-web:.
Searched in the following locations:
https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.pom
https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.jar
https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.pom
https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.jar
https://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.pom
https://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-web//spring-boot-starter-web-.jar
Required by:
project :
> Could not find org.springframework.boot:spring-boot-starter-data-jpa:.
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.354 secs
mac:nextlevel2017-kotline robert.rajakone$ uname -a
Darwin mac 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
mac:nextlevel2017-kotline robert.rajakone$ ./gradlew -version
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/robert.rajakone/.gradle/wrapper/dists/gradle-3.5.1-all/42vjebfdws9pjts3l4bouoq0p/gradle-3.5.1/lib/groovy-all-2.4.10.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
------------------------------------------------------------
Gradle 3.5.1
------------------------------------------------------------
Build time: 2017-06-16 14:36:27 UTC
Revision: d4c3bb4eac74bd0a3c70a0d213709e484193e251
Groovy: 2.4.10
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 9 (Oracle Corporation 9+181)
OS: Mac OS X 10.12.6 x86_64
mac:nextlevel2017-kotline robert.rajakone$
I've just installed Jekyll 3.5.0 on Windows 10 using this instruction.
I've successfully run jekyll new my_blog and my blog folder looks like
kontiky#DESKTOP-GRQ069N:~/my_blog$ ls
404.html about.md _config.yml Gemfile Gemfile.lock index.md _posts vendor
but then I call jekyll build inside my_blog I see these warning and error messages
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/root.rb:6: warning: already initialized constant Sass::ROOT_DIR
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/root.rb:6: warning: previous definition of ROOT_DIR was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:23: warning: already initialized constant Sass::Util::RUBY_VERSION_COMPONENTS
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:23: warning: previous definition of RUBY_VERSION_COMPONENTS was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:28: warning: already initialized constant Sass::Util::RUBY_ENGINE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:28: warning: previous definition of RUBY_ENGINE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:867: warning: already initialized constant Sass::Util::CHARSET_REGEXP
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:867: warning: previous definition of CHARSET_REGEXP was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:869: warning: already initialized constant Sass::Util::UTF_8_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:869: warning: previous definition of UTF_8_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:870: warning: already initialized constant Sass::Util::UTF_16BE_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:870: warning: previous definition of UTF_16BE_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:871: warning: already initialized constant Sass::Util::UTF_16LE_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:871: warning: previous definition of UTF_16LE_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1151: warning: already initialized constant Sass::Util::VLQ_BASE_SHIFT
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1151: warning: previous definition of VLQ_BASE_SHIFT was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1152: warning: already initialized constant Sass::Util::VLQ_BASE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1152: warning: previous definition of VLQ_BASE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1153: warning: already initialized constant Sass::Util::VLQ_BASE_MASK
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1153: warning: previous definition of VLQ_BASE_MASK was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1154: warning: already initialized constant Sass::Util::VLQ_CONTINUATION_BIT
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1154: warning: previous definition of VLQ_CONTINUATION_BIT was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1156: warning: already initialized constant Sass::Util::BASE64_DIGITS
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1156: warning: previous definition of BASE64_DIGITS was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1157: warning: already initialized constant Sass::Util::BASE64_DIGIT_MAP
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1157: warning: previous definition of BASE64_DIGIT_MAP was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1193: warning: already initialized constant Sass::Util::URI_ESCAPE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1193: warning: previous definition of URI_ESCAPE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1237: warning: already initialized constant Sass::Util::ATOMIC_WRITE_MUTEX
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1237: warning: previous definition of ATOMIC_WRITE_MUTEX was here
jekyll 3.5.0 | Error: superclass mismatch for class Mapping
Could you, please, help me avoid these warnings and errors?
I encountered the same issue and I finally decided to install Ruby on Windows without Bash On Ubuntu from this installer: https://rubyinstaller.org/downloads/
After that, I installed jekyll & bundler and, to make jekyll command-line script work, I had to execute this via bundle:
$ bundle exec jekyll serve --watch
I am trying to install Plone to my Ubuntu 14.04, however the install.sh gives me error:
Installing instance. Getting distribution for 'Pillow==1.7.8'.
warning: no previously-included files found matching '.hgignore'
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files found matching 'BUILDME.bat'
warning: no previously-included files found matching
'make-manifest.py' warning: no previously-included files found
matching 'SHIP' warning: no previously-included files found matching
'SHIP.bat' warning: no previously-included files matching '*' found
under directory 'Tests' _imaging.c:3017:5: warning:
initialization from incompatible pointer type [enabled by default]
(inquiry) image_length, /*sq_length*/
^ _imaging.c:3017:5: warning: (near initialization for ‘image_as_sequence.sq_length’) [enabled by default]
_imaging.c:3077:5: warning: initialization from incompatible pointer type [enabled by default]
(inquiry) NULL, /*mp_length*/
^ _imaging.c:3077:5: warning: (near initialization for ‘pixel_access_as_mapping.mp_length’) [enabled by default]
_imaging.c: In function ‘_filter’: _imaging.c:842:8: warning: ‘kernelsize’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
if (kernelsize != xsize * ysize) {
^ libImaging/Quant.c: In function ‘rehash_collide’: libImaging/Quant.c:154:10: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast] *valp=(void *)((*(int
*)valp)+(*(int *)&newval));
^ _imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory #include <freetype/fterrors.h>
^ compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 An
error occurred when trying to install Pillow 1.7.8. Look above this
message for any errors that were output by easy_install. While:
Installing instance. Getting distribution for 'Pillow==1.7.8'.
Error: Couldn't install: Pillow 1.7.8
And here is what I did with the Unified installer:
I used --build-python option because I am using Enthought Canopy version of Python, which does not have the Python.h that Zope needs to in order to build its instance. So I just build up a new python -which honestly I don't know how it works, but I am guessing it is using virtualenv to isolate the installation environment, correct me if I am wrong.
me#me-N550JV:~/Downloads/Plone-4.3-UnifiedInstaller$ ./install.sh standalone --build-python
Rootless install method chosen. Will install for use by system user me
Detailed installation log being written to /home/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
Installing Plone 4.3 at /home/me/Plone
Skipping libjpeg build
Skipping readline build
Installing Python-2.7.3. This takes a while...
Installing distribute...
Warning: This Python does not have readline support.
It may still be usable for Zope, but interacting directly with Python will be painful.
Python build looks OK.
Unpacking buildout cache to /home/me/Plone/buildout-cache
Copying Plone-docs
Copying buildout skeleton
Fixing up bin/buildout
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue
Installation has failed.
See the detailed installation log at /home/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
to determine the cause.
Can someone explain how I can fix the issue with Pillow and get Plone installed in my machine? Thanks so much!
install like this
./install.sh --target=/home/tclap1006/all_folders/unifiedinstallers/Plone --build-python standalone
here --target is path (means at which directory u want to install ur Plone)
I'm trying to understand how to fix error:
C:\inetpub\wwwroot\DISCOU~2>gem install fast_stack
ERROR: Error installing fast_stack:
ERROR: Failed to build gem native extension.
C:/Ruby200/bin/ruby.exe extconf.rb
creating Makefile
make "DESTDIR="
generating fast_stack-i386-mingw32.def
compiling fast_stack.c
In file included from c:/Ruby200/include/ruby-2.0.0/ruby/defines.h:153:0,
from c:/Ruby200/include/ruby-2.0.0/ruby/ruby.h:70,
from c:/Ruby200/include/ruby-2.0.0/ruby.h:33,
from fast_stack.c:3:
c:/Ruby200/include/ruby-2.0.0/ruby/win32.h:276:12: error: conflicting types for 'gettimeofday'
In file included from fast_stack.c:2:0:
c:\ruby200\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/sys/time.h:42:13: note: previous declaration of 'gettimeofday' was here
fast_stack.c: In function 'rb_profile_start':
fast_stack.c:9:22: error: storage size of 'timer' isn't known
fast_stack.c:11:34: error: 'suseconds_t' undeclared (first use in this function)
fast_stack.c:11:34: note: each undeclared identifier is reported only once for each function it appears in
fast_stack.c:11:46: error: expected ';' before 'rb_num2long_inline'
fast_stack.c:13:5: warning: implicit declaration of function 'setitimer' [-Wimplicit-function-declaration]
fast_stack.c:13:15: error: 'ITIMER_REAL' undeclared (first use in this function)
fast_stack.c:9:22: warning: unused variable 'timer' [-Wunused-variable]
fast_stack.c: In function 'rb_profile_stop':
fast_stack.c:21:22: error: storage size of 'timer' isn't known
fast_stack.c:23:15: error: 'ITIMER_REAL' undeclared (first use in this function)
fast_stack.c:21:22: warning: unused variable 'timer' [-Wunused-variable]
make: *** [fast_stack.o] Error 1
Gem files will remain installed in C:/inetpub/wwwroot/DISCOU~2/GEM_HOME/gems/fast_stack-0.1.0 for inspection.
It happens when I write "bundle install" command for the discourse.org application installing on Helicon Zoo environment.
It appears that it's not the Zoo itself, more issue with the gem. Try to install it separately, outside the environment of Zoo. Simply Ruby, in test catalog, but outside the Zoo. If that's working, contact HeliconTech directly and address as an issue, they're quite quick and good at fixing these things.