-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
railtie_name is deprecated and has no effect #1
Comments
You seem to have a badly formatted database.yml file in your config folder. I just added an example config file to https://github.com/rbjarnason/open-active-democracy/blob/master/config/database.yml.dist |
thank you v much rbjarnason for your concern.. i completed the : rake db:createrake db:schema:loadrake db:seedsteps with no errors as i see. but when i go to : rails sit gives me this : Sphinx cannot be found on your system. You may need to configure the following
For more information, read the documentation: /var/www/clients/client1/web1/web/config/initializers/openid_patch.rb:3: warning: already initialized constant REMOVED_RE from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in instance_eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in initialize'from /var/www/clients/client1/web1/web/config.ru:1:in new' from /var/www/clients/client1/web1/web/config.ru:1:in 'from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:35:in eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:35:in parse_file'from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/server.rb:162:in app' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/server.rb:253:in wrapped_app'from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.3/lib/rack/server.rb:204:in start' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/commands/server.rb:65:in start'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/commands.rb:30:in block in <top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/commands.rb:27:in tap'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/commands.rb:27:in <top (required)>' from script/rails:6:in require'from script/rails:6:in `' i googled the sphinx error and i managed to install sphinx but the error keeps coming up ! i hope i can find help with that. |
I've not seen this Already memoized problem before. Do you have memcached installed? If not install it, you could try to restart the memcached server. Not sure if that will change anything but worth the try. Otherwise, what sort of operating system are you running this on? |
i'm running it on Ubuntu 10.04 LTS and 'Ruby on Rails, PHP, Apache, Passenger, MySQL, PHP i managed to complete the steps on the readme file with your help. my site is partially active on http://egyptonnet.com i don't know how to make it alive .. i'm totally new to rails the last step i did is : #rails s how can i make it work after all ! thanks for your support. |
I think you are almost there :) I went to http://egyptonnet.com:3000/ and got this error: "No configuration provided for Facebooker2. Either set the app_id and secret or call Facebooker2.load_facebooker_yaml in an initializer" You need to add a Facebooker config file, I have added an example here: I think its enough for you just to add the facebooker.yml to get it running but the Facebook Like buttons wont work until you setup a Facebook Application and get an App Id and App Key and Secret. You are in Egypt? Have you looked at http://egypt.yrpri.org/ and http://www.yrpri.org/ ? If you are in Egypt then we are looking for translators to help us to translate into Egyptian Arabic, if you know somebody :) Also, before you can really go live with a version of open active democracy you need to skin it and customize it for your brand otherwise it will come up as Your Priorities which is our global non-profit brand. |
i did what you said and put the facebooker.yml in the config folder with api and secrets from facebook , but still getting the same issue ! yup i'm egyptian and was looking for some thig that help with our revolution and make the people share in making decisions and i found your app the best so far. it will be pleasure to help and share translating the app and managing the styles for arabic lang, as i'll do that for my own app as soon as it works ! and for those sites they look wonderful and very useful , i hope i can run my own site soon. |
it's ok now .. i'm installing it .. but the captcha is not appearing !! |
Great, we should speak more about how we can help each other. We have been running this software for two years now to help with our own political revolution, while not as impressive as yours it has been used quite a bit by the public. Here is a link to a demo site with a lot of priorities: http://ny.og.betrireykjavik.is/ When the revolutions in Tunisia and Egypt happened we got so inspired that we started the Your Priorities project and setup those free websites, that will be officially launched out of Beta test in about a months time. We are an Icelandic non-profit organization so we have no aim to make any money from this :) I checked back on the :3000 port on your websitre and the problem is still with the facebooker.yml config file. Two things:
|
Congrats, I can see you have the website up and running :) Before you start to translate it, please contact me as I need to get you the latest translation database. As you are now running it on port 3000, this is only a single user version, you need to get it running on port 80 under Apache/Passenger before you can open it to the public. |
thank you very much.. I really can't express how grateful i'm for your kind help. for sure i'm going to start translation from this moment and i'll be happy to share my little effort with you. thanks again |
Ok, I have uploaded the most up to date language database to: I highly recommend using this latest version as this will safe you from problems down the road. Two ways to update it in your side. A.
B. And this is probably the better approach as you will get all the latest code changes from me as well. Not sure when you last update the code from me but we have been working very hard (3 people team) the past two months on making it better.
|
ok i'll try the second method first, otherwise i'll pass through the first one.
|
If you succeed in the second method you might have to run this command as well to upgrade the main database. But maybe nothing will happen when you run this command as it looks like your code is no more than 2 days old as you forked the codebase from Rifa who is doing HTML/CSS coding out of Indonesia. I highly recommend option 2 as we are still fixing bugs every day, so you can keep up to date with those two simple commands. |
hello ,
i'm trying to setup this awesome script on my server .. i did what's written here in the readme file but stacked at
rake db:create
it keeps giving me this error : ( DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from class:Engine at /usr/local/rvm/gems/ruby-1.9.2-p180/bundler/gems/twitter-auth-1b3f4e753cb7/lib/twitter_auth/engine.rb:5)
WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method OpenActiveDemocracy::Application#task called at /usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:215:in
initialize_tasks' rake aborted! syntax error on line 29, col 2:
host: localhost'Tasks: TOP => db:create => db:load_config
(See full trace by running task with --trace) ).
i'm new to rails and i strongly need to use this awesome open active democracy.
thanks,
The text was updated successfully, but these errors were encountered: