Ruby on Rails Thursday, January 22, 2015

On Thu, Jan 22, 2015 at 7:22 AM, Beckah Zz <lists@ruby-forum.com> wrote:
> I am currently building a RoR project that requires the mysql2 gem. I
> successfully installed the gem. Because it is showing up in my gem list.
>
> However I am getting the following error when I try to start my project:
> "Could not find gem 'mysql2 (= 0.3.17) ruby' in the gems available on
> this machine. Run `bundle install` to install missing gems."
>
>
> The gem is also definitely in my Gemfile. I've included a log in order
> to display all of this info.

1) You probably shouldn't be doing development as root.

2) Look at the second and last lines of your snippet - see a problem?

[root@vc2cmmka035538n Ruby]# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[root@vc2cmmka035538n Ruby]# rails -v
Rails 3.2.3
[root@vc2cmmka035538n Ruby]# gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.24
- RUBY VERSION: 1.9.3 (2013-06-27 patchlevel 448) [x86_64-linux]

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yChADz6%2B0Rj2QjTp9FrwkyqbEPjommO9xJBY_-o-8bbEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment