ruby on rails - mysql2 gem in gem list but getting project can not find gem -


I am currently creating a ROR project for which mysql2 gem is required I installed gem successfully Because it is visible in my gem list.

  [root @ vc2cmmka035538n simple_cms] # gem list *** Local Jash *** ActionMailer (3.2.3) ActionPack (3.2.3) Active Modal (3.2.3) Activatecard (3.2. 3) Active Source (3.2.3) Activation Port (3.2.14, 3.2.3) REL (3.0.2) BigDecal (1.1.0) Builder (3.2.2, 3.0.0) Bundler (1.1.5) c2c_linux_patch_utilities (0.29) .0) Chef (11.6.2) Chef-Null (1.6) debug_me (0.5.1) Deff-LCS (1.1.3) eribis (2.7.0) GHF (1.1.3) Hashy (2.0.5) Highline (1.6) .19) Growth (1.2.1) IILN (0.6.5) IO-Console (0.3) iPads (0.8.0) Travel (1.0.3) JSN (1.7.7, 1.5.5) Knife - Final Cry (0.0. 4) Mail (2.4.4) Mime-Type (1.25) Minute (2.5.1) MixLab-Authentication (1.3.0) Mixle-CLI (1.3.0) Mixle-Config (1.1.2) MixLab-Log (1.6.0 ) Mixle-Shellout (1.2.0) Moneta (0.6.0) Multi-Jason (1.8.1) MySQL2 (0.3.17) // Here it is! : (Net-SSH (2.7.0) Net-SSH-Gateway (1.2.0) Net-SS-Multi (1.2.0, 1.1) Oriya (6.18.0) Multilingual (0.3.3) Pony (1.4, 1.3) Poseidon (0.0.4) Puma (1.6.3) Rack (1.5.2, 1.4.1) Rack-Cash (1.2) Rack- SSL (1.3.2) Rack-Test (0.6.1) Rail (3.2.3) Raillet (3.2.3) rake (10.1.0, 0.9.2.2) RDOC (3.12.2, 3.9.5) rest-client (1.6.7) RSPEC (2.12.0) RSPEC-Core (2.12.2) RSPC- Requirements (2.12.1) rspec-mocks (2.12.2) rspec_junit_formatter (0.1.6) ruby-shadow (2.2.0) rubygems-update (1.8.19) sdoc (0.3.20) simplecov (0.7.1) simplecov- Html (0.7.1) sprockets (2.1.2) system (2.5.2, 2.5.1) Thor (0.14.6) inclination (1.3.3) tripht (1.4.10) tees No (0.3.31) xml-simple (1.1.1) yajl-ruby (1.1.0)  

Although I am getting the following error while trying to start my project: [Root @ Vc2cmmka035538n simple_cms] # Train Gems available on this machine can not get gem 'mysql2 (= 0.3.17) Ruby' to install missing bands 'bundle installs'.

Mani is definitely my guest too. Ile:

  Source 'https://rubygems.org' Mani 'Rail', ' 3.2.3 '# bundle edge instead of rail: # gem' rail ',: git = & g T; 'Git: //github.com/rails/rails.git' gem 'mysql2', '0.3.17' gem 'Jason' # Gem is used only for assets and not required # Group by default in the production environment : Assets Mani 'sass-rails',' ~ & gt; 3.2.3 'Gems' coffee-rail ',' ~ & gt; 3.2.1 Look for https://github.com/sstephenson/execjs#readme for more supported runtime # gem 'thrubius',: platform = & gt; : Rabbi Mani 'Ugliphayer', '& gt; = 1.0.3 'and Mani' jquery-rails 'is to use #active model_scur_password # gem' BCRPT-Ruby ',' ~ & gt; To use Jbuilder templates for '# jsonster # gem' jbuilder '# 3.0, use the Unicorn as #Gem Unicorn # Delegate with Capistrano # gem' capistrano # # # debugger # gem ' How to use ruby-debug?  

What can I do for my project that mysql2 gem is definitely installed on my machine?


Edit:

Ruby: Ruby 1.8.7 (PatchLaw 352) 2011 [x86_64-linux]

Rail: Rail 3.2.3

RubyGeam Environment:

  RubyZams Environment: - Ruby's Edition : 1.8.24 - Ruby version: 1.9.3 (2013-06-27 Patchlay 448) [x86_64-linux] - Installation directory: /opt/chef/embedded/lib/ruby/gems/1.9.1 - Rabbi executed: / Opt / chef / embedded / bin / ruby ​​- executable directory: / opt / chef / embedded / bin - ruby ​​platform: - ruby ​​- x86_64-linux - gem path: - / opt / chef / embedded / lib / ruby ​​/ Gems / 1 .9.1 - /root/.gem/ruby/1.9.1 - GEM Configuration: -: update_sources = & gt; True -: Verbose = & gt; True -: Benchmark = & gt; False -: Backtrace = & gt; False -: bulk_restresshold = & gt; 1000 -: source = & gt; ["Http://c2c-repo1-prod.fmr.com:9292"] - Remote Source: - http://c2c-repo1-prod.fmr.com:9292  

Delete your Gemfile.lock and run bundle install

< / Div>

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -