Re: [Rails] Re: rake db:schema:dump rake aborted!

2018-05-07 Thread Hassan Schroeder
On Mon, May 7, 2018 at 9:37 AM, Abdelmajid Lotfi  wrote:
>  gem list --remote mysql2 | grep -e '^mysql2'

Note: if you put a space at the end of 'mysql2 ' you'll only get

> mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)

> Does :   mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)
> mean I have the latest one ?

No, it means 0.5.1 is the latest released version.

What you have on your system is `gem list --local mysql2`

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
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+unsubscr...@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/CACmC4yCwawntH9PeC%2Byru3kOv3Cvq%2B1dSJh%3D1JKKhPtQYybXeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: rake db:schema:dump rake aborted!

2018-05-07 Thread Abdelmajid Lotfi
 gem list --remote mysql2 | grep -e '^mysql2'
activerecord-mysql2-adapter (0.0.3)
activerecord-mysql2-retry-ext (0.2.0)
activerecord-mysql2legacydb-adapter (0.2.0)
activerecord-mysql2rgeo-adapter (2.2.0)
activerecord-mysql2spatial-adapter (0.5.2)
activerecord-pedantmysql2-adapter (1.1.3)
benhutton-mysql2psql (0.2.2)
em_mysql2_connection_pool (0.0.7)
ghazel-mysql2 (0.2.6.3)
glimpse-mysql2 (1.1.0)
mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)
mysql2-client-general_log (0.2.1)
mysql2-client-general_logs (0.1.0)
mysql2-cs-bind (0.0.6)
mysql2-metrics (0.0.1)
mysql2-reconnect_with_readonly (0.2.0)
mysql2-sp (0.3.10)
mysql2_bigint (0.2.6.1)
mysql2_downcase (0.0.3)
mysql2_model (0.1.2)
mysql2_query_filter (0.1.1)
mysql2_query_filter-plugin-casual_log (0.1.1)
mysql2_query_filter-plugin-log (0.1.1)
mysql2_wrapper (0.0.1)
mysql2json (0.0.4)
mysql2json_es (0.0.1)
mysql2mysql (0.0.2)
mysql2psql (0.1.0)
mysql2wrapper (0.0.2)
mysql2 (0.2.1)
patriot-mysql2-client (0.7.0)
peek-mysql2 (1.2.0)
rdp-mysql2 (0.2.7.1)
sequel-em_mysql2 (0.1.0)
solaris-mysql2 (0.3.11)
xmysql2psql (0.2.1)


Does :   mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)
mean I have the latest one ?
thanks.

On Sun, May 6, 2018 at 2:09 PM, Hassan Schroeder  wrote:

> On Sun, May 6, 2018 at 9:07 AM, Abdelmajid Lotfi 
> wrote:
>
> > I am still waiting for a solution, I am new here how did you upgrade it
> from
> > 0.3 to 0.4 ?
>
> $ gem list --remote mysql2 | grep -e '^mysql2 '
> mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)
>
> You might want to upgrade to the latest version rather than just 0.4.x
> but in any case --
>
> To upgrade you can
>
> 1) run `bundle update` (see: `bundle help update`), or
>
> 2) specify the version you want in your Gemfile and `bundle install`.
>
> HTH!
>
> --
> Hassan Schroeder  hassan.schroe...@gmail.com
> twitter: @hassan
> Consulting Availability : Silicon Valley or remote
>
> --
> 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+unsubscr...@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/CACmC4yDhoHTzUH5iMYsM48e3sMDYU
> %2BnGHv%2Bg48Yq52Y8iRhvYQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@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/CAK%2Bp6EydbdfYCKxdY7VB9w8bZUuRoXLrx6v5Gkt5UMCzY%3DQoOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: rake db:schema:dump rake aborted!

2018-05-06 Thread Hassan Schroeder
On Sun, May 6, 2018 at 9:07 AM, Abdelmajid Lotfi  wrote:

> I am still waiting for a solution, I am new here how did you upgrade it from
> 0.3 to 0.4 ?

$ gem list --remote mysql2 | grep -e '^mysql2 '
mysql2 (0.5.1 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)

You might want to upgrade to the latest version rather than just 0.4.x
but in any case --

To upgrade you can

1) run `bundle update` (see: `bundle help update`), or

2) specify the version you want in your Gemfile and `bundle install`.

HTH!

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
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+unsubscr...@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/CACmC4yDhoHTzUH5iMYsM48e3sMDYU%2BnGHv%2Bg48Yq52Y8iRhvYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: rake db:schema:dump rake aborted!

2018-05-06 Thread Abdelmajid Lotfi
No,
I am still waiting for a solution, I am new here how did you upgrade it
from 0.3 to 0.4 ?
Thanks,

On Thu, May 3, 2018 at 10:09 AM, fugee ohu  wrote:

>
>
> On Tuesday, May 1, 2018 at 9:22:50 AM UTC-4, Majid Lotfi wrote:
>>
>> Hi,
>> I am following lynda training in my windows 7, I don't know what cause
>> this error :
>>
>>  rake db:schema:dump
>>
>> rake aborted!
>> LoadError: cannot load such file -- mysql2/2.4/mysql2
>> C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/config/application.rb:7:in
>> `'
>> C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/Rakefile:4:in
>> `require_relative'
>> C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/Rakefile:4:in `> (required)>'
>> (See full trace by running task with --trace)
>>
>> Thanks, your help is appreciated.
>>
>
> Did you solve this yet? That seems an odd version of the mysql2 gem, I
> went from using 0.3.2 to using 0.4.5 with no stops in between What did you
> set as the database adapter in config/database.yml ?
>
>
> --
> 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+unsubscr...@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/371a340d-3e20-425f-bb30-
> b0d63679cd4b%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@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/CAK%2Bp6EycU9nEYay5KYmcG-H9sDbRn91Dzr_m6z949BHqj9HXXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.