-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
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
This doesn't seem to generate any views for any options #32
Comments
I've run Rails Composer with the same settings as yours and have been unable to reproduce the issue. There's no problem installing the 'nio4r' gem when I run 'bundle install.' What happens when you select the option to build the example application 'learn-rails'? |
The 'learn'rails' build works fine. It's very strange. I've tried with a number of different settings, and they all return an error with 'nio4r' gem and am asked to run 'bundle exec spring binstub --all' This also happens if I try and 'devise' options, Many thanks for any assistance. The log file returns the following , which I am not able to understand what this means: "have_header: checking for unistd.h... -------------------- yes "gcc -o conftest -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -L. -L/home/eddie/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/eddie/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/eddie/.rvm/rubies/ruby-2.3.3/lib -L/home/eddie/.rvm/rubies/ruby-2.3.3/lib -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for sys/select.h... -------------------- yes "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for poll.h... -------------------- yes "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for sys/epoll.h... -------------------- yes "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for sys/event.h... -------------------- no "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for port.h... -------------------- no "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" have_header: checking for sys/resource.h... -------------------- yes "gcc -E -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/eddie/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -o conftest.i" --------------------" |
What OS? Should be fine on a Mac. On Windows you can have typical problems with difficulty compiling gems that require native extensions. |
I'm using Ubuntu 17.04. I gave up using Windows as it is terrible with Rails! |
Check to see if the 'nio4r' gem has issues on Linux. |
It seems like it was a problem with my OS somewhere. I think possibly conflicts somewhere caused by rvm, but I have reinstalled it and using rbenv instead and all is working fine now. Thanks for the help :) |
I've ran this generator a number of times with various options, and it doesn't seem to generate any views. I've left one of the repositories on my page - the 'academicessays' repo. I don't really know why this is happening, but bundler is failing to install 'nio4r' gem at first attempt. Anyone have any ideas?
The text was updated successfully, but these errors were encountered: