我尝试使用nginx
将我的应用放在我的域名上。但是在我做的时候,我得到了这个错误。
[ 2015-12-09 08:44:44.7819 23453/7f3b513b4700 age/Cor/CoreMain.cpp:794 ]: Disconnecting long-running connections for process 12443, application /home/ubuntu/bangcokelite/public
App 13735 stderr: ruby-2.2.2 is not installed.
App 13735 stdout: To install do: 'rvm install ruby-2.2.2'
App 13735 stdout:
App 13881 stdout:
所以我遵循了推荐rvm install ruby-2.2.2
,并得到了另一个错误,如
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.2.2.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.2.2 - #configure
ruby-2.2.2 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 23.3M 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0Warning: Failed to create the file bin-ruby-2.2.2.tar.bz2.part: Permission
Warning: denied
0 23.3M 0 16384 0 0 9679 0 0:42:10 0:00:01 0:42:09 103k
curl: (23) Failed writing body (0 != 16384)
There was an error(23).
Checking fallback: ftp://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.2.2.tar.bz2?rvm=1.26.11
Checking fallback: http://www.mirrorservice.org/sites/rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.2.2.tar.bz2?rvm=1.26.11
No fallback URL could be found, try increasing timeout with:
echo "export rvm_max_time_flag=20" >> ~/.rvmrc
Downloading https://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.2.2.tar.bz2 failed.
Mounting remote ruby failed with status 2, trying to compile.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/ubuntu/.rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)...
ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-2.2.2.tar.bz2.part: Permission denied
0 12.6M 0 13032 0 0 728k 0 0:00:17 --:--:-- 0:00:17 748k
curl: (23) Failed writing body (0 != 13032)
There was an error(23).
Checking fallback: http://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-2.2.2.tar.bz2.part: Permission denied
0 12.6M 0 1167 0 0 16099 0 0:13:47 --:--:-- 0:13:47 16208
curl: (23) Failed writing body (0 != 1167)
There was an error(23).
Failed download
There has been an error fetching the ruby interpreter. Halting the installation.
其实我得到了
ruby-2.2.2 is not installed.
To install do: 'rvm install ruby-2.2.2'
每当我从Web IDE运行项目时,都会出现此错误。然而,它并没有发生任何问题,但现在我认为我应该解决它。
关于这个问题的任何想法?感谢
从这里编辑------
我从rails-devise开始了我的项目,它基于ruby-2.2.2
。但我的Web IDE是ruby-2.2.1
。