gem 'devise' error

32 views
Skip to first unread message

JP

unread,
Nov 20, 2014, 9:55:40 AM11/20/14
to rubyonra...@googlegroups.com

Hi, 

I am trying to install Devise but I am getting this error :

gem 'devise', '~> 3.0.0.rc'

ERROR:  While executing gem ... (Gem::CommandLineError)

 Unknown command devise,

-------------------------------

Thanks 


Frederick Cheung

unread,
Nov 20, 2014, 10:13:41 AM11/20/14
to rubyonra...@googlegroups.com


On Thursday, November 20, 2014 2:55:40 PM UTC, JP wrote:

Hi, 

I am trying to install Devise but I am getting this error :

gem 'devise', '~> 3.0.0.rc'

ERROR:  While executing gem ... (Gem::CommandLineError)

 Unknown command devise,


Did you type that in the console? That line is supposed to go in your Gemfile (and then you run bundle to install any dependencies from your Gemfile that are not currently installed).

If you really want to install it without using bundler you would instead run

gem install devise --version 3.0.0.rc

Lastly, it's unlikely you actually want that exact version - the final version of devise 3.0.0 came out some time ago (and more recent versions have also been released)

Fred

JP

unread,
Nov 20, 2014, 10:22:36 AM11/20/14
to rubyonra...@googlegroups.com
Thank you so much
Reply all
Reply to author
Forward
0 new messages