|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: Blog/CMS engines - msg#00215List: lang.ruby.rails.heroku
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
I gave a try installing Mephisto, and ran into all kinds of issues. I don't understand what/when/how Heroku replaces or overwrites the database.yml file... It seems to be using the default one that i uploaded with a fresh Mephisto install... and not getting anywhere. Migrations fail on the first one... rake db:create errors with: Couldn't create database for {"encoding"=>"utf8", "username"=>"root", "adapter"=>"mysql", "host"=>"localhost", "password"=>nil, "database"=>"mephisto_development"} (which is all the info in the database.yml file) I feel like i'm missing a step whereby i can tell my app to use the Heroku database system, rather than trying to use the one that would work on localhost. Any tips? TIA, +brook r On Apr 22, 9:46 am, lgs <luca.so...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > Similar error for me, > > after several adjustment ( installing tzinfo gem, > uninstall/reinstall last attachment_fu commited on github, > following some unsuspected dependency like : > > >>rake aborted! > >>no such file to load -- admin_partials > >>(See full trace by running task with --trace) > >>(in /mnt/home/userapps/14497) > > and worked around by installing some "extra plugin" like > [admin_partials] > "A ported version of the Radiant facets branch which adds flexible > page editing capabilities." > ... seehttp://agilewebdevelopment.com/plugins/show/896( why a > Radiant dependency here ? ) > > thant I finally came up with this error : > > ** Starting Mongrel listening at 0.0.0.0:16996 ** Starting Rails with > development environment... /usr/lib/ruby/gems/1.8/gems/ > activesupport-2.0.2/lib/active_support/core_ext/module/aliasing.rb: > 31:in `alias_method': undefined method `initialize_default_admin_tabs' > for class `Rails::Initializer' (NameError) from /usr/lib/ruby/gems/1.8/ > gems/activesupport-2.0.2/lib/active_support/core_ext/module/ > aliasing.rb:31:in `alias_method_chain' from /mnt/home/userapps/14497/ > vendor/plugins/admin_partials/lib/admin_partials/extensions/ > initializer.rb:9:in `included' from /mnt/home/userapps/14497/vendor/ > plugins/admin_partials/lib/admin_partials/extensions/initializer.rb: > 8:in `class_eval' from /mnt/home/userapps/14497/vendor/plugins/ > admin_partials/lib/admin_partials/extensions/initializer.rb:8:in > `included' from /mnt/home/userapps/14497/vendor/plugins/admin_partials/ > lib/admin_partials/extensions/initializer.rb:33:in `include' from /mnt/ > home/userapps/14497/vendor/plugins/admin_partials/lib/admin_partials/ > extensions/initializer.rb:33 from /mnt/home/userapps/14497/vendor/ > plugins/admin_partials/lib/admin_partials/extensions/initializer.rb: > 32:in `class_eval' from /mnt/home/userapps/14497/vendor/plugins/ > admin_partials/lib/admin_partials/extensions/initializer.rb:32 ... 36 > levels... from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/ > mongrel/command.rb:212:in `run' from /usr/lib/ruby/gems/1.8/gems/ > mongrel-1.1.4/bin/mongrel_rails:281 from /usr/bin/mongrel_rails:19:in > `load' from /usr/bin/mongrel_rails:19 > > and I'm not able to go farther. But I found a similar topic on ruby- > forum.com > "Ruby on Rails > undefined method `find_plugins' in Rails > 2.0.2"http://www.ruby-forum.com/topic/146359 > and > herehttp://dev.radiantcms.org/browser/trunk/radiant/lib/radiant/initializ... > > no ideas at the moment ( specially what Radiant has to do withMephisto) .... > :-( > help please > lgs > > On Mar 28, 11:52 pm, Felipe Barreto > <magrim...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > > > I've tried to installmephistodirectly on my heroku account. I had to > > download the latest version (from the newmephistogit) so I could > > exec the bootstrap command 'successfully'. But I'm having problems > > when I try to acess the home page. I get this error right after > > environment initialization: > > > ** Rails loaded. > > ** Loading any Rails specific GemPlugins /usr/lib/ruby/gems/1.8/gems/ > > activesupport-2.0.2/lib/active_support/dependencies.rb:478:in > > `const_missing': uninitialized constant > > Mongrel::Configurator::RAILS_GEM_VERSION (NameError) from /usr/lib/ > > ruby/gems/1.8/gems/heroku_mongrel_plugin-0.1/lib/heroku_mongrel_plugin/ > > init.rb:13:in `load_heroku_handlers' from /usr/lib/ruby/gems/1.8/gems/ > > heroku_mongrel_plugin-0.1/lib/heroku_mongrel_plugin/init.rb:9:in > > `load_plugins' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/ > > mongrel_rails:117:in `cloaker_' from /usr/lib/ruby/gems/1.8/gems/ > > mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:149:in `call' from / > > usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > configurator.rb:149:in `listener' from /usr/lib/ruby/gems/1.8/gems/ > > mongrel-1.1.4/bin/mongrel_rails:99:in `cloaker_' from /usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:50:in > > `call' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/ > > mongrel/configurator.rb:50:in `initialize' from /usr/lib/ruby/gems/1.8/ > > gems/mongrel-1.1.4/bin/mongrel_rails:84:in `new' from /usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:84:in `run' from /usr/ > > lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb: > > 212:in `run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/ > > mongrel_rails:281 from /usr/bin/mongrel_rails:19:in `load' from /usr/ > > bin/mongrel_rails:19 > > > has anyone an idea? > > thanks > > > On 13 fev, 22:57, Botolph > > <bjart...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > > > > Anybody had any luck installing SimpleLog,Mephisto, Typo or Radiant?
Thread at a glance:
Previous Message by Date:Re: getting a "bash: heroku: command not found" messagesame to me! Ubuntu 8.04 On May 26, 11:16 am, amurmann <themurm...-gM/Ye1E23mwN+BqQ9rBEUg@xxxxxxxxxxxxxxxx> wrote: > Same here. > > Were you able to solve this? Which OS are you using? Ubuntu 8.1 for > me. > > Thanks! Next Message by Date:Re: gem installation?Hi, ok, i installed the gem as right_aws-1.7.1.gem in the plugin folder.. but it still says `gem_original_require': no such file to load -- right_aws (MissingSourceFile) Where's the restart button? thanks Previous Message by Thread:gem installation?I see that there is a feature to do gem installations on http://heroku.com/features But when I log in, i don't see an option. I want to install the right_aws gem. Next Message by Thread:Re: Blog/CMS enginesI've gotten Mephisto working on Heroku recently - I started with the latest version from Github, though, so that might have helped. You do need to install one gem dependency, tzinfo, but other than that I'd expect it to just work. Adam
blog comments powered by Disqus
|
|