问题标签 [refinerycms]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
imagemagick - Dragonfly,rails 3.2,Refinery Edge (2.0) Centos 5.6 上的 ImageMagick
我已经安装了所有依赖项(或者我想我已经安装了)。我肯定安装了 ImageMagick,但是当使用 Refinery(v2.9 on rails 3.2) 上传图像时,我收到以下错误:
NoMethodError(未定义的方法downcase' for nil:NilClass):
dragonfly (0.9.10) lib/dragonfly/image_magick/utils.rb:26:in
标识' ....
我发现了这个类似的问题,但完全不知道在哪里放置此代码: Dragonfly Gem with ImageMagick and Passenger
任何帮助将非常感激。
谢谢
M。
ruby - 炼油厂 CMS 用户会话问题
我已将 Refinery CMS 实施到我正在构建的网站中。我现在在 webrick 上运行它,我似乎记录了很多。好像是每15分钟一次。
有没有人经历过这种情况并意识到问题可能是什么?
干杯
托尼
ruby-on-rails - 将炼油厂 CMS 安装到现有的轨道应用程序
我有 rails 3.0.3 应用程序。我想将 Refinery cms 安装到此应用程序?
ruby-on-rails - 我得到 No route matches {:controller=>"refinery/refinery/admin/dashboard"} 错误
当我在本地主机中点击 url 时: http://localhost:3000/refinery/events 它让我出错:
当我通过 rake 路线时:
由于我使用的是 Refinery CMS,因此在 config 和 vendor/extension/ 目录中都有一个 routes.rb 文件。那么他们实际上是如何沟通和解决上述问题的呢?
ruby-on-rails - RefineryCMS 与现有 Rails 3.1+ 应用程序的集成
我正在遵循 RefineryCMS 站点上的指南,当我尝试使用 rails generate refinery:cms 时,我不断收到此错误:
Gemfile 如下所示:source 'https://rubygems.org'
我尝试了两条路径 - 来自 github 的宝石和宝石,但不是运气......
编辑:
必须使用相同的语法创建 passwords_controller.rb 和 users_controller.rb(名称分别更改):
现在停留在http://refinerycms.com/guides/attaching-refinery-cms-as-part-of-a-larger-rails-31x-devise示例的最后一步
得到:
当我第一次尝试运行服务器时..
完整跟踪:
谢谢!
ruby-on-rails - Refinerycms Rails 3.2.1
当尝试使用 ruby 1.9.2 rails 3.2.1 和refinerycms 2.0.1 运行新的refinerycms 应用程序时,我在生产中遇到此错误。我很好奇导致这种情况的原因,因为我的应用程序是开箱即用的。
在 2012-03-11 01:21:11 -0800 开始 GET "/" for 127.0.0.1 由 Refinery::PagesController#home 作为 HTML 参数处理:{"locale"=>:en} 在 2 毫秒内完成 500 内部服务器错误
ActiveRecord::StatementInvalid(找不到表'refinery_roles'):activerecord (3.2.1) lib/active_record/connection_adapters/sqlite_adapter.rb:470:in table_structure'
activerecord (3.2.1) lib/active_record/connection_adapters/sqlite_adapter.rb:351:in
columns' activerecord (3.2.1) lib/active_record/connection_adapters/schema_cache.rb :12:in block in initialize'
activerecord (3.2.1) lib/active_record/model_schema.rb:228:in
yield' activerecord (3.2.1) lib/active_record/model_schema.rb:228:in default'
activerecord (3.2.1) lib/active_record/model_schema.rb:228:in
columns' activerecord (3.2.1) lib/active_record/model_schema.rb:248:in column_names'
activerecord (3.2.1) lib/active_record/model_schema.rb:261:in
column_methods_hash' activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:69:in all_attributes_exists?'
activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:27:in
method_missing'refinerycms-authentication (2.0.1) app/models/refinery/role.rb:14:in []'
refinerycms-core (2.0.1) lib/refinery/application_controller.rb:53:in
just_installed?' refinerycms -core (2.0.1) lib/refinery/application_controller.rb:73:in refinery_user_required?'
activesupport (3.2.1) lib/active_support/callbacks.rb:429:in
run _157096296043845177__process_action_ 370528316792604795_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in __run_callback'
activesupport (3.2.1) lib/active_support/callbacks.rb:385:in
_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in run_callbacks'
actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in
process_action' actionpack (3.2.1) lib/action_controller/ metal/rescue.rb:29:in process_action'
actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in
block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in block in instrument'
activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in instrument'
actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in
process_action ' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in process_action'
activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in
process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in process'
actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in
process' actionpack (3.2.1) lib/action_controller /metal.rb:203:in dispatch'
actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in
dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:inblock in action'
actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in
call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in dispatch'
actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in
call' Journey (1.0.3) lib/journey/router.rb:68:in block in call'
journey (1.0.3) lib/journey/router.rb:56:in
each' Journey (1.0.3) lib/ travel/router.rb:56:in call'
actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in
call' railties (3.2.1) lib/rails/engine.rb:479:in call'
railties (3.2.1) lib/rails/railtie/configurable.rb:30:in
method_missing' Journey (1.0.3) lib/journey/router.rb:68:in block in call'
journey (1.0.3) lib/journey/router.rb:56:in
each' Journey (1.0.3) lib/journey/router.rb:56:in call'warden call'
actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in
(1.1.1) lib/warden/manager.rb:35:in block in call'
warden (1.1.1) lib/warden/manager.rb:34:in
catch'warden (1.1.1) lib/warden/manager.rb :34:in call'
actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' rack (1.4.1) lib/rack/etag.rb:23:in call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in
call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in call'
actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in
call' actionpack (3.2. 1) lib/action_dispatch/middleware/flash.rb:242:in call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in
context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:incall'
actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in
call'dragonfly (0.9.10) lib/dragonfly/cookie_monster.rb:9:in call'
activerecord (3.2.1) lib/active_record/query_cache.rb:64:in
call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in call'
actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' activesupport (3.2. 1) lib/active_support/callbacks.rb:405:in _run__215402801072025143__call__3538488024182103853__callbacks'
activesupport (3.2.1) lib/active_support/callbacks.rb:405:in
__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in _run_call_callbacks'
activesupport (3.2.1) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb: 27:in call'
dragonfly (0.9.10) lib/dragonfly/middleware.rb:13:in
call'dragonfly (0.9.10) lib/dragonfly/middleware.rb:13:in call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in
forward' rack-cache (1.2) lib/rack/cache/context.rb:245:in fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in
lookup' rack-cache (1.2 ) lib/rack/cache/context.rb:66:in call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in
call' rack-cache (1.2) lib/rack/cache/context.rb:136:in forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in
fetch' rack-cache (1.2) lib/rack/cache/context .rb:185:inlookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in
称呼!' rack-cache (1.2) lib/rack/cache/context.rb:51:in call'
actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in
call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call'
actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' railties (3.2.1) lib/ rails/rack/logger.rb:26:in call_app'
railties (3.2.1) lib/rails/rack/logger.rb:16:in
call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in
call' rack (1.4.1) lib/rack/runtime.rb:17:调用中call'
activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in
的机架 (1.4.1) lib/rack/lock.rb:15:in call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in
forward 机架缓存 (1.2) lib/rack/cache/context.rb:245:in fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in
lookup 机架缓存 (1.2) 库/rack/cache/context.rb:66:in call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in
call' railties (3.2.1) lib/rails/engine.rb:479:in call'
railties (3.2.1) lib/rails/application.rb:220:in
call' rack (1.4.1) lib/rack/content_length.rb:14:incall'
railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in
调用'thin (1.3.1) lib/thin/connection.rb:80:in block in pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in
catch'thin (1.3.pre_process'
thin (1.3.1) lib/thin/connection.rb:53:in
进程'thin (1.3.1) lib/thin/connection.rb:38:in receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in
run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in start'thin run'
thin (1.3.1) lib/thin/backends/base.rb:61:in
(1.3.1) lib/thin/server. rb:159:in start'
rack (1.4.1) lib/rack/handler/thin.rb:13:in
run' rack (1.4.1) lib/rack/server.rb:265:in start'
railties (3.2.1) lib/rails/commands/server.rb:70:in
start' railties (3.2.1) lib/rails/commands.rb:55:in block in <top (required)>'
railties (3.2.1) lib/rails/commands.rb:50:in
tap' railties (3.2.1 ) lib/rails/commands.rb:50:in<top (required)>'
script/rails:6:in
需要'脚本/rails:6:in `'
refinerycms - 在炼油厂 CMS 中,应用程序管理中不会出现“设置”选项卡
在 Refinery CMS 中,后端的设置选项卡上不存在。有人面临同样的问题吗?
在炼油厂 CMS 的演示应用程序中,存在“设置”选项卡。当我使用炼油厂创建新项目时。没有“设置”选项卡。
请告诉我,如何启用该选项卡或是否有任何 gem 依赖项?
我只坚持这一点。:(
请尽快回复。提前致谢。
refinerycms - 将数据库从 1.0.9 移动到 2.0.0
从 1.0.9 更新它有一些问题,所以我在 2.0.0 中创建了一个新项目,现在我只需要移动数据库。我怎么做 ?
ruby-on-rails-3 - 推送到 Heroku 时出现炼油厂错误
我有一个炼油厂应用程序,在本地运行良好。在 Heroku 上创建了一个竹栈。
当我尝试推动时,我可以看到:
然后我在浏览器中打开它:“很抱歉,出了点问题。”
$ heroku 日志
完整输出在这里
任何帮助都很棒,谢谢!
+++
更新:
将堆栈更新为 Cedar 并制作 Ruby env 1.9.3
$ heroku logs 现在显示: this-updated
去哪里?谢谢
ruby-on-rails - 从 github 安装 RefineryCMS gem 的 master 分支
我想安装refinerycms的master分支
我下载并解压了 tarball,然后在初始化一个 git repo 之后,我运行gem build refinerycms.gemspec
:
然后我跑了gem install refinerycms-2.1.0.dev.gem
所以,这个 gem 需要其他 gem 的开发版本,我实际上无法在网上找到其中的一些(例如 refinerycms-core)。
我可以通过运行来安装gem,但这只会安装bundle install
refinerycms gem而不是依赖项。在这种情况下,我看到如下输出:bundle exec gem install refinerycms-2.1.0.dev.gem
所以我们从本地源获取依赖gem,我可以实际安装它们,使它们成为独立的gem吗?