Displaying 3 results from an estimated 3 matches for "appgenerator".
Did you mean:
app_generator
2006 Jul 16
0
Patch for selecting MySQL socket in app_generator.rb
...from = to ! fixed it.
http://dev.rubyonrails.org/svn/rails/trunk/railties/lib/rails_generator/generators/applications/app/app_generator.rb
*** old/app_generator.rb 2006-07-16 00:07:05.310476266 -0400
--- new/app_generator.rb 2006-07-16 00:07:32.973448980 -0400
*************** class AppGenerator < Rails::Generator::B
*** 109,115 ****
end
def mysql_socket_location
! RUBY_PLATFORM =~ /mswin32/ ? MYSQL_SOCKET_LOCATIONS.find { |f|
File.exists?(f) } : nil
end
--- 109,115 ----
end
def mysql_socket_location
! RUBY_PLATFORM !~ /mswin32/ ? MYSQL_SOC...
2010 Jan 29
1
Rails 3 App generator - could not find source path
Could not find "README" in source paths.
module Nifty
module Generators
class AppGenerator < Base
def self.source_root
@source_root ||= File.expand_path(File.join(File.dirname
(__FILE__), ''templates''))
end
def initialize(*args)
super
end
def create_root_files
# puts "Source path: #{self.source_root}"...
2011 May 15
0
Upgrading to Rails 3.1
....14.6)
* tilt (1.3)
* treetop (1.4.9)
* turn (0.8.2)
* tzinfo (0.3.27)
* uglifier (0.5.3)
Here is the trace:
** Invoke rails:update:javascripts (first_time)
** Execute rails:update:javascripts
rake aborted!
undefined method `create_javascript_files'' for
#<Rails::Generators::AppGenerator:0x0000000294c968>
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.beta1/lib/rails/tasks/framework.rake:40:in
`invoke_from_app_generator''
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.beta1/lib/rails/tasks/framework.rake:63:in
`block (3 levels) in <top (required)>...