[英]devise_token_auth:install in a rails app does not run
我正在尝试使用README.md
文件的说明使用devise_token_auth启动项目。
当我运行rails g devise_token_auth:install User auth
,控制台被锁定,并且不显示任何消息。
要创建我的项目,我遵循以下步骤:
rails new foo
cd foo
bundle install
#then i add the gem 'devise_token_auth' to my Gemfile and after
bundle install
#now the problem...
rails g devise_token_auth:install User auth
#the console becomes locked with no messages
我正在使用ubuntu 14.04 LTS,ruby-2.2.1,我的Gemfile如下所示:
source 'https://rubygems.org'
gem 'rails', '4.1.6'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'pg'
gem 'spring', group: :development
gem 'devise_token_auth'
group :test do
gem 'rspec-rails'
end
有谁知道可能是错的吗?
归功于@errata
问题出在我的文件夹中,该文件夹不可写。
我只是更改了文件夹权限,现在可以使用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.