Railtie/Engine error

50 views
Skip to first unread message

bhelx

unread,
Jul 3, 2011, 9:39:36 PM7/3/11
to Event Calendar Plugin
I would really like to start working on this project but I just need
to get through this error. Anyone seen anything similar? I get this
when trying $rails generate event_calendar --use-jquery

/Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/
plugin.rb:87:in `block in <class:Plugin>': "event_calendar" is a
Railtie/Engine and cannot be installed as a plugin (RuntimeError)
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/initializable.rb:25:in `instance_exec'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/initializable.rb:25:in `run'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/initializable.rb:50:in `block in
run_initializers'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/initializable.rb:49:in `each'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/initializable.rb:49:in `run_initializers'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/application.rb:134:in `initialize!'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/application.rb:77:in `method_missing'
from /Users/bhelx/code/rails/calendar-test/config/
environment.rb:5:in `<top (required)>'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/application.rb:103:in `require'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/application.rb:103:in `require_environment!'
from /Users/bhelx/.rvm/gems/ruby-1.9.2-p180/gems/
railties-3.0.9/lib/rails/commands.rb:16:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'


obviously i am on ruby 1.9.2, rails 3.0.9

bhelx

unread,
Jul 3, 2011, 10:17:25 PM7/3/11
to Event Calendar Plugin
Ha. This was resolved by using the gem instead of the plugin.
Reply all
Reply to author
Forward
0 new messages