- 论坛徽章:
- 2
|
本人菜鸟,还没有接触过ruby,但是现在有些测试涉及到ruby
想了解一下bundle --local这个命令有什么用?
本人的系统是redhat enterprise linux 6.4
ruby版本是1.8.7
gem版本是1.8.16
bundle版本是1.0.21
在执行bundle --local命令的时候出现了以下的错误
尝试过用rvm的安装方法安装了ruby1.9.3,运行了bundle后再运行bundle --local,成功了,
不知道这样做有没有问题?
但是在后续的测试过程中出错了,因为我们这个软件是要用1.8.7做。
希望有人能够指点一下。
目录中Gemfile内容如下:
source 'http://rubygems.org'
gem 'rails', '~> 3.2.8'
gem 'rails'
gem 'json'
gem 'json_pure'
gem 'parseconfig'
gem 'xml-simple'
gem 'rack'
gem 'regin'
gem 'open4'
gem 'systemu'
gem 'mongoid'
gem 'bson'
gem 'bson_ext'
gem 'pry', :require => 'pry' if ENV['PRY']
# For performance reasons, the following scripts will not be
# refactored to use mongoid exclusively:
# * broker-util/oo-admin-chk
# * broker-util/oo-admin-fix-sshkeys
# * broker-util/oo-stats
# These scripts use the OpenShift: ataStore API, and thus depend on
# the mongo rubygem:
gem 'mongo'
if ENV['SOURCE']
gem 'openshift-origin-common', :path => '../common'
gem 'openshift-origin-controller', :path => '../controller'
gem 'netrc' # rest-client has an undeclared prereq on netrc
else
gem 'openshift-origin-controller'
end
# Load plugin gems.
Dir["/etc/openshift/plugins.d/*.conf"].delete_if{ |x| x.end_with? "-dev.conf" }.map{|x| File.basename(x, ".conf" }.each {|plugin| gem plugin}
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19', :require => 'ruby-debug'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3' |
|