Skip to content

Commit

Permalink
Update app_builder.rb
Browse files Browse the repository at this point in the history
In Rails 4, 'public/index.html' and 'rails.png' files are don't exist. A new Rails internal controller Rails::WelcomeController has been used to serve the dynamic welcome screen and rails.png image used as data-image. So I removed these lines from the file.
  • Loading branch information
sbagdat committed May 23, 2013
1 parent ddff13f commit d01978f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/cybele/app_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,11 @@ def readme
template 'README.md.erb', 'README.md', :force => true
end

# Remove: Remove public index file
def remove_public_index
remove_file 'public/index.html'
end

# Internal: Remove README.rdoc file
def remove_readme_rdoc
remove_file 'README.rdoc'
end

# Internal: Remove rails.png file
def remove_rails_logo_image
remove_file 'app/assets/images/rails.png'
end

# Internal: Replace gemfile
def replace_gemfile
remove_file 'Gemfile'
Expand Down Expand Up @@ -168,4 +158,4 @@ def configure_environment(rails_env, config)
)
end
end
end
end

0 comments on commit d01978f

Please sign in to comment.