BUNDLER PROBLEM WITH RAILS SERVER

37 views
Skip to first unread message

Don Bottles

unread,
Feb 27, 2019, 6:42:27 AM2/27/19
to rubyonra...@googlegroups.com
HELLO, PLEASE I NEED HELP
VERSIONS:
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
RAILS 5.2.2



when i run Rails server, this is what i get ::
"You must use Bundler 2 or greater with this lockfile."
though my using Bundler version 2.0.1

nanaya

unread,
Feb 27, 2019, 6:55:31 AM2/27/19
to rubyonra...@googlegroups.com
Hi,

On Wed, Feb 27, 2019, at 20:42, Don Bottles wrote:
> HELLO, PLEASE I NEED HELP
> VERSIONS:
> ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
> RAILS 5.2.2
>

Please avoid writing in all caps.

>
> when i run Rails server, this is what i get ::
> "You must use Bundler 2 or greater with this lockfile."
> though my using Bundler version 2.0.1
>

Try

bundle --version

If you have 2.0.1 installed (check using `gem list`) but the command above returns 1.x, try

bundle _2.0.1_

Don Bottles

unread,
Feb 27, 2019, 7:30:15 AM2/27/19
to rubyonra...@googlegroups.com
thanks @nanaya , i checked my gem list and found this;

bundler (2.0.1, default: 1.17.2).

any help??.

tried adding bundler version to gemfile but didn't work.i think that idea was dumb.

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8a552e5e-a846-4ac0-9c85-88a9e452d4de%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

nanaya

unread,
Feb 27, 2019, 7:34:24 AM2/27/19
to rubyonra...@googlegroups.com
Hi,

On Wed, Feb 27, 2019, at 21:30, Don Bottles wrote:
> thanks @nanaya , i checked my gem list and found this;
>
> bundler (2.0.1, default: 1.17.2).
>
> any help??.
>

Check the last part of my previous message.

Don Bottles

unread,
Feb 27, 2019, 8:11:39 AM2/27/19
to rubyonra...@googlegroups.com
ok


--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

Don Bottles

unread,
Feb 27, 2019, 8:14:13 AM2/27/19
to rubyonra...@googlegroups.com
my gosh, did it and now its giving me;

`check_for_activated_spec!': You have already activated bundler 2.0.1, but your Gemfile requires bundler 1.17.2. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

On Wed, Feb 27, 2019 at 12:34 PM nanaya <m...@nanaya.pro> wrote:
--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages