Installation error

45 views
Skip to first unread message

Jim Nelson

unread,
Oct 10, 2013, 11:50:29 AM10/10/13
to shopo...@googlegroups.com
Great project!

Trying to install, I get the error below when running 'bundle install'.  I am new to rails and spree.  Any ideas?


Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    refinerycms-settings (>= 0) ruby depends on
railties (!= 3.2.0, != 3.2.1, != 3.2.10, != 3.2.11, != 3.2.2, != 3.2.3, != 3.2.4, != 3.2.5, != 3.2.6, != 3.2.7, != 3.2.8, != 3.2.9, <
3.3, >= 3.1.11) ruby

    sass-rails (~> 4.0.0) ruby depends on
      railties (4.0.0)

Here is my Gemfile:

$cat Gemfile

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
#gem 'rails', '4.0.0'

# Use sqlite3 as the database for Active Record
gem 'sqlite3'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
#gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end

# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]



gem 'rails-i18n'
gem 'machinist', :group => :development
gem 'ffaker', :group => :development
gem "compass"
gem "compass-rails"
gem "jquery-ui-rails"
gem 'liquid', :git => 'git://github.com/Shopify/liquid.git'


gem 'spree', :git => "git://github.com/spree/spree.git", :branch => "2-0-stable"
gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git', :branch => '2-0-stable'

gem 'refinerycms', :git => "git://github.com/greendog/refinerycms.git", :branch => "2-1-stable"
gem 'refinerycms-i18n', :git => "git://github.com/refinery/refinerycms-i18n.git", :branch => "2-1-stable"
gem 'refinerycms-settings', :git => "git://github.com/refinery/refinerycms-settings.git", :branch => "2-1-stable"
gem 'refinerycms-blog', :git => "git://github.com/refinery/refinerycms-blog.git", :branch => "master"
gem 'refinerycms-news', :git => "git://github.com/refinery/refinerycms-news.git", :branch => "master"
gem 'refinerycms-inquiries', :git => "git://github.com/refinery/refinerycms-inquiries.git", :branch => "master"

gem 'shop_on_rails', :git => 'git://github.com/shoponrails/shop_on_rails.git'
gem 'clot_engine', :git => 'git://github.com/shoponrails/clots.git'

Alexander Negoda

unread,
Oct 10, 2013, 12:06:43 PM10/10/13
to shopo...@googlegroups.com
ShopOnRails uses a rails-version equal ~ 3.x.x (currently 3.2.14).

You must create a clean rails-application for rails-3.x.x. For example:
1. gem install rails -v 3.2.14
2. rails new my_shop
3. the shoponrails installation process

P.S.
In the near future I will be doing support for rails-4.x.x

George Reshetnikov

unread,
Oct 10, 2013, 2:26:44 PM10/10/13
to shopo...@googlegroups.com
maybe u should try to create new rails app using specific version.
try something like this:  

rails _3.2.14_ new myapp


четверг, 10 октября 2013 г., 19:50:29 UTC+4 пользователь Jim Nelson написал:
Reply all
Reply to author
Forward
0 new messages