Comments (6)
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'?
from rails-bootstrap.
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"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char *argv)
4: {
5: return 0;
6: }
/ end */
"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"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <unistd.h>
/ end */
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"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <sys/select.h>
/ end */
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"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <poll.h>
/ end */
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"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <sys/epoll.h>
/ end */
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"
conftest.c:3:23: fatal error: sys/event.h: No such file or directory
#include <sys/event.h>
^
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <sys/event.h>
/ end */
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"
conftest.c:3:18: fatal error: port.h: No such file or directory
#include <port.h>
^
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <port.h>
/ end */
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"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <sys/resource.h>
/ end */
--------------------"
from rails-bootstrap.
What OS? Should be fine on a Mac. On Windows you can have typical problems with difficulty compiling gems that require native extensions.
from rails-bootstrap.
I'm using Ubuntu 17.04. I gave up using Windows as it is terrible with Rails!
from rails-bootstrap.
Check to see if the 'nio4r' gem has issues on Linux.
from rails-bootstrap.
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 :)
from rails-bootstrap.
Related Issues (20)
- 406 Not Acceptable Error HOT 1
- Google Drive: 403 Authentication failed HOT 3
- How to override the Bootstrap navbar-default-bg variable? HOT 2
- RAILS_ENV=production rake assets:precompile gives rake aborted error HOT 12
- undefined local variable or method `has_no_table' (when following tutorial) HOT 8
- [Rails 4.1] Sprockets error shows undeclared dependency HOT 1
- [Rails 4.1] Sprockets error shows undeclared dependency HOT 1
- rvm PATH is not properly set up HOT 3
- Using radio buttons and checkboxes with SimpleForm? HOT 1
- ffi gem locked at 1.9.4 which has been pulled HOT 2
- Remove precompiled assets from public/assets HOT 2
- Missing expected options HOT 6
- Survey Form problem HOT 1
- Assets Not Working On Heroku HOT 1
- Ruby version is 2.2.2, but your Gemfile specified 2.2.3 HOT 4
- Error : Your Ruby version is 2.2.2, but your Gemfile specified 2.2.3
- You should move to a newer version of Capistrano
- Rails 5.2 HOT 1
- MINOR ISSUE: Gems factory_girl & factory_girl_rails Are Deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails-bootstrap.