Hello,
I new to ruby on rails, I have like this on my laptop with ubuntu 13.04:
ruby -v;
ruby 1.9.3p429 (2013-05-15) [x86_64-linux] Brightbox
gem -v;
1.8.25
bundle -v;
Bundler version 1.3.5
And the Gem file:
source ‘https://rubygems.org’
gem ‘rails’, ‘3.2.13’
Bundle edge Rails instead:
gem ‘rails’, :git => ‘git://github.com/rails/rails.git’
gem ‘sqlite3’
group :developement, :test do
gem ‘rspec-rails’, ‘~> 2.12.2’
gem ‘spork’, ‘~> 0.9.2’
end
group :test do
gem ‘cucumber-rails’, ‘~> 1.3.0’, require:false
gem ‘capybara’, ‘~> 1.1.1’
gem ‘database_cleaner’, ‘~> 0.9.1’
gem ‘shoulda-matchers’
gem ‘email_spec’
end
Gems used only for assets and not required
in production environments by default.
group :assets do
gem ‘sass-rails’, ‘~> 3.2.3’
gem ‘coffee-rails’, ‘~> 3.2.1’
See GitHub - sstephenson/execjs: Run JavaScript code from Ruby for more supported
runtimes
gem ‘therubyracer’, :platforms => :ruby
gem ‘uglifier’, ‘>= 1.0.3’
gem ‘bootstrap-sass’
end
gem ‘jquery-rails’
gem ‘strong_parameters’
gem ‘email_validator’
gem ‘active_attr’
gem ‘bcrypt-ruby’
gem ‘carrierwave’
To use ActiveModel has_secure_password
To use Jbuilder templates for JSON
gem ‘jbuilder’
Use unicorn as the app server
gem ‘unicorn’
Deploy with Capistrano
gem ‘capistrano’
To use debugger
gem ‘debugger’
I go to my folder application, and bundle install, everything seemed ok,
but I try to cucumber, I had this error:
WARNING: Nokogiri was built against LibXML version 2.8.0, but has
dynamically loaded 2.9.0
can’t activate bcrypt-ruby (~> 3.0.0), already activated
bcrypt-ruby-3.1.0.
Make sure all dependencies are added to Gemfile. (Gem::LoadError)
When I try the application in apache2 with Phusion Passenger, I get:
can’t activate bcrypt-ruby (~> 3.0.0), already activated
bcrypt-ruby-3.1.0. Make sure all dependencies are added to Gemfile
So, I don’t understand, where is my problem? If I put this in my
gemfile: gem ‘bcrypt-ruby’, ‘~> 3.1.0’ doesn’t help.
And I think my cucumber 1.3.3 and cucumber-rails 1.3.1, at least that is
showing when for example I execute bundle install
or update.
I had this application working on ubuntu 12.04, ( but I had to reinstall
my system, I chose ubuntu 13.04 ) ,
but I don’t remember what version of ruby, rails and so on.
Thank you.