i have such error when i do nanobox run rails s
/app/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.10/lib/ffi/library.rb:133:in `block in ffi_lib': Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory.
Could not open library 'libcurl.so.4': libcurl.so.4: cannot open shared object file: No such file or directory
i added extra steps into my boxfile
extra_steps:
- sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev libgmp-dev libcurl3
but it doesn't work... when i use nanobox run and install these packages manually it works
my boxfile.yml
run.config:
engine: ruby
engine.config:
runtime: ruby-2.3
cache_dirs:
- vendor
- packages
- node_modules
extra_path_dirs:
- node_modules/.bin
extra_packages:
- nginx
- nodejs-6.2
- newrelic-6.3
# Build Triggers - Changes to these files automatically
# trigger a new build the next time a build is required.
build_triggers:
- Gemfile
- Gemfile.lock
- package.json
extra_steps:
- sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev libgmp-dev libcurl3
- npm install
- redis-server --daemonize yes
deploy.config:
extra_steps:
- rake assets:precompile
transform:
- 'bundle exec rake fix-yaml'
web.site:
start: 'bundle exec ruby config/passenger.rb'
data.db:
image: nanobox/postgresql:9.5
extra_packages:
- curl
data.queue:
image: nanobox/redis:3.0
with ruby 2.2 it works fine, but for 2.3 it doesn't... can somebody check it please?
i have such error when i do
nanobox run rails si added extra steps into my boxfile
but it doesn't work... when i use
nanobox runand install these packages manually it worksmy boxfile.yml
with ruby 2.2 it works fine, but for 2.3 it doesn't... can somebody check it please?