Ich hatte das rvm vorher mit dem Rubin und den Schienen heruntergeladen, aber es gab ein Problem, das ich nicht lösen konnte, also nahm ich die Edelsteine und implodierte im Rvm, aber jetzt, dass ich darum bitte Installieren Sie den Ruby es nicht, und wenn ich es gebe Ein Ruby-v erscheint, dass bereits installiert ist, die Version 2.4.1, das gleiche passiert mit den Schienen in der Version 4.2.6. was ich mache? Was ist los?Rvm install ruby-2.4.1
rvm install ruby-2.4.1
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.4.1.tar.bz2
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system..
Installing required packages: gawk, libyaml-dev, autoconf, libgdbm-dev, libncurses5-dev, automake, bison, libffi-dev....
Error running 'requirements_debian_libs_install gawk libyaml-dev autoconf libgdbm-dev libncurses5-dev automake bison libffi-dev',
showing last 15 lines of /usr/local/rvm/log/1497634607_ruby-2.4.1/package_install_gawk_libyaml-dev_autoconf_libgdbm-dev_libncurses5-dev_automake_bison_libffi-dev.log
autoconf-archive gnu-standards autoconf-doc bison-doc gawk-doc ncurses-doc
libyaml-doc
The following NEW packages will be installed:
autoconf automake bison gawk libbison-dev libffi-dev libgdbm-dev
libncurses5-dev libsigsegv2 libyaml-dev m4
0 upgraded, 11 newly installed, 0 to remove and 13 not upgraded.
Need to get 0 B/2,462 kB of archives.
After this operation, 9,047 kB of additional disk space will be used.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
++ return 100
++ return 100
Requirements installation failed with status: 100.
[email protected]:~# ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux-gnu]
[email protected]:~# rails -v
Rails 4.2.6
ich diesen Fehler löste ich gemfile der 'Perle 'openssl' setzen in‚2.0.4'' aber jetzt änderte den Fehler, –
root @ ubuntu: ~/teste # Schienen s => Booten von WEBrick => Rails 4.2.6 Anwendung in der Entwicklung auf http: // localhost: 3000 => Run 'Rails-Server -h' für Weitere Startoptionen => Strg-C zum Herunterfahren des Servers /usr/lib/ruby / vendor_ruby/active_support/cor e_ext/numeric/conversions.rb: 121: Warnung: constant :: Fixnum ist veraltet /usr/lib/ruby/vendor_ruby/active_support/core_ext/numeric/conversions.rb:121: Warnung: constant :: Bignum ist veraltet Beenden ' –
/usr/lib/ruby/vendor_ruby/active_support/core_ext/numeric/conversions.rb:124:in' Block (2 Ebenen) in ': Stapelebene zu tief (SystemStackError) von/usr/lib /ruby/vendor_ruby/active_support/core_ext/numeric/conversions.rb:131:in 'Block (2 Ebenen) in '... 4462 Ebenen ... von/usr/local/lib/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb: 68: in 'require ' von/root/teste/bin/feder: 15: in' ' von bin/rails: 3: in ' lade ' von bin/rails: 3: in '' –