Skip to content

Instantly share code, notes, and snippets.

Created October 10, 2016 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/88dddf8e4ce3cf0f5cd89fd3e5fb8d28 to your computer and use it in GitHub Desktop.
Save anonymous/88dddf8e4ce3cf0f5cd89fd3e5fb8d28 to your computer and use it in GitHub Desktop.
Creating scaffold
D:\RubyProjects\Part-3\Chapter_13\rails\mydiary>rails g scaffold test name
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:3:in `<top (required)>': undefined method `source_index' for Gem:Module (NoMethodError)
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler/runtime.rb:5:in `<class:Runtime>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler/runtime.rb:4:in `<module:Bundler>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler/runtime.rb:3:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler.rb:116:in `load'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.0.0/lib/bundler.rb:100:in `setup'
from D:/RubyProjects/Part-3/Chapter_13/rails/mydiary/config/boot.rb:8:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:56:in `require'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:56:in `require'
from script/rails:5:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment