Пав*_*нов 3 ruby gem ruby-on-rails spree rvm
当我安装Spree网站时(根据本指南:http://guides.spreecommerce.com/getting_started.html),我遇到了这个问题:
deploy @ bothunter:〜/ rails $ sudo -i gem install rails
成功安装rails-3.2.1
1 gem安装
deploy @ bothunter:〜/ rails $ sudo -i gem install bundler成功安装了bundler-1.0.22 1 gem安装了
deploy @ bothunter:〜/ rails $ sudo -i gem install spree
成功安装了spree-1.0.0 1 gem安装了
deploy @ bothunter:〜/ rails $ rails new mystore -d mysql create
create README.rdoc
创建Rakefile
创建配置
.....运行bundle install
获取https://rubygems.org/的源索引
使用rake(0.9.2.2)
使用activemodel(3.2.1)
.....使用rack-test(0.6.1)
使用hike(1.2.1)
使用actionpack(3.2.1).....使用coffee-rails(3.2.2)
使用jquery-rails(2.0.0)
使用mysql2(0.3.11)
使用rails(3.2.1)
使用uglifier(1.2.3) )
你的包完整了!用bundle show [gemname]看到的是安装了捆绑的宝石在哪里.deploy @ bothunter:〜/ rails $ cd mystore
deploy @ bothunter:〜/ rails/mystore $ spree install
你想安装默认网关吗?(是/否)[是]
... gemfile spree gemfile spree_usa_epay
gemfile spree_skrill
从"." 运行bundle install.
未检出git://github.com/spree/spree_usa_epay.git(位于0cb57b4).请运行bundle install预编译资产未检出git://github.com/spree/spree_usa_epay.git(位于0cb57b4).请跑
bundle installdeploy @ bothunter:〜/ rails/mystore $ bundle install
更新git://github.com/spree/spree_usa_epay.git更新git://github.com/spree/spree_skrill.git
获取sitename.com的源索引 Bundler无法找到gem"rails"的兼容版本:
**在Gemfile中: spree_usa_epay(> = 0)ruby依赖于 rails(< = 3.1.3,> = 3.1.1)红宝石Run Code Online (Sandbox Code Playgroud)**rails (3.2.1)**部署@ bothunter:〜/导轨/ $的MyStore
但...
Run Code Online (Sandbox Code Playgroud)deploy@bothunter:~/rails/mystore$ gem --list rails (3.2.1, **3.1.3**) railties (3.2.1, **3.1.3**) rake (0.9.2.2, 0.9.2)
怎么解决?
Spree 1.0仅适用于Rails 3.1.3.我们将在Spree的下一个次要版本中寻求支持Rails 3.2.在此之前,请使用3.1.3,如下所示:
gem install rails -v 3.1.3
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2612 次 |
| 最近记录: |