Ruby on Rails
Friday, May 2, 2014
without the formatting:
-- OlimobileRetina:responsive_fw oleingemann$ rails generate sorcery:install
create config/initializers/sorcery.rb
generate model User --skip-migration
/Users/oleingemann/.rvm/rubies/ruby-2.0.0-p353/bin/ruby: No such file or directory -- bin/rails (LoadError)
insert app/models/user.rb
/Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `binread': No such file or directory - /Users/oleingemann/rails_projects/responsive_fw/app/models/user.rb (Errno::ENOENT)
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `replace!'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:in `invoke!'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:in `insert_into_file'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb:204:in `inject_into_class'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/sorcery-0.8.5/lib/generators/sorcery/install_generator.rb:50:in `inject_sorcery_to_model'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/sorcery-0.8.5/lib/generators/sorcery/install_generator.rb:43:in `configure_model'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/generators.rb:157:in `invoke'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/commands/generate.rb:11:in `<top (required)>'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:135:in `generate_or_destroy'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:51:in `generate'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/oleingemann/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
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/6e26b5cc-e371-46b7-85a4-e1a7a7e6ae57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment