Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Amortya Ray
@mottosan_gitlab
is that a refinery setting?
Brice Sanchez
@bricesanchez
Amortya Ray
@mottosan_gitlab
let me get some more info
Lorenzo Sanchez
@lsanc104
Hi all
I'm trying to set up refinarycms in an existing rails app, I was trying to follow the instructions in the guide but seems like it is not up to date. Any advice on how to do it using rails 5.2.2 and ruby 2.4.1
Brice Sanchez
@bricesanchez
Hi @lsanc104 , You could use the master branch which is compatible with Rails 5.2
Lorenzo Sanchez
@lsanc104
I did that, but when I'm trying to generate fresh installation I got an error Could not find generator 'refinary:cms'. Maybe you meant 'resource', 'generator' or 'js:assets'
Brice Sanchez
@bricesanchez
refinery:cms'?
there is no a :)
Lorenzo Sanchez
@lsanc104
:( I'll try in a bit. Thanks for the catch
Lorenzo Sanchez
@lsanc104
same error
runnin this comand rails generate refinery:cms --fresh-installation
getting this error Could not find generator 'refinery:cms'. Maybe you meant 'generator', 'resource' or 'helper'
Brice Sanchez
@bricesanchez
Did you try with ┬┤bundle exec ..┬┤ as prefix?
Lorenzo Sanchez
@lsanc104
I did
same result
FYI, I'm trying to set up this as an extension on an existing rails app
Carlton Smith
@carltonsmith
Hello - my global version of rails is 5.2.2 and I'm having trouble installing a refinerycms app using the command: refinerycms appname. Is there a way to specify the version of Rails so I can install it under 5.1?
Looks like Lorenzo is having a similar problem above
I can try to install it from the master branch also
Carlton Smith
@carltonsmith
I tried installing from master branch using the following command. Shouldn't this do it?
Carlton Smith
@carltonsmith
I got it installed, but it was quite a chore
I followed the instructions to install the edge version, then updated the gemfile for sqlite v 1.3.6
then I ran rake:db create and then rails generate refinery:cms
There were still some issues to work through, but I managed
Brice Sanchez
@bricesanchez
Hi @carltonsmith, thanks for reporting this, i think we should managed to released the new version version of Refinery ASAP (e.g. without the new admin UI)
Carlton Smith
@carltonsmith
No problem, @bricesanchez . I'm excited about getting into this product and would like to contribute as well, once I get to know it better. It would definitely be good to get it easier to install for new users.
hauzeov
@authentic
Hi! rails generate refinery:blog gives me an error "Could not find generator 'refinery:blog'. Maybe you meant 'refinery:cms', 'refinery:core' or 'refinery:i18n'"
I have ruby 2.5.1 rails 5.1.6.2 and refinerycms 4.0.3.
I am Using refinerycms-blog 4.0.0 from https://github.com/refinery/refinerycms-blog (at master@684036e)
hauzeov
@authentic
May I ask for advice please. Thank you
hauzeov
@authentic
sorry, it was rvm problem. all is working. Thank You!
Brice Sanchez
@bricesanchez
Happy to to read this is not a refinery bug
Philip Arndt
@parndt
I'm setting up a new chat for us with Zulip, I'm just getting the details sorted, including seeing whether I can get existing users mapped across (gitter don't make this easy with their exports).. it'll be at https://refinery.zulipchat.com eventually
Rima
@rfreihat94
How can I edit the default layout and design of Refinery CMS?
jussihirvi
@jussihirvi
Rima, app/views/layouts/application.html.erb for a start. See the other files in views. And see what you can do with rails refinery:override.
I know how to place a refinery app root in a folder inside the domain root (using config.mounted_pathin config/initializers/refinery/core.rb). But if I do that, how can I show other (probably static, in my case) contents in the domain root? I use apache/passenger to serve, but I may use nginx/passenger later. Maybe heroku or some other cloud service, too. The solution should be transportable to other server environments.
jussihirvi
@jussihirvi
Rima, actually I think you need to first override before you can edit the app layout: rails refinery::override view=layouts/*. See https://gist.github.com/jcavena/3450535 .
jussihirvi
@jussihirvi
Correction: only one colon (:) in the override command in the previous message.
rafaelluis-vallejo
@rafaelluis-vallejo
Good day! I am a new user of this CMS; I'm quite confused on how it works. I would like to ask on how to apply Javascript and/or JQuery to my webpage. Thanks :)
jussihirvi
@jussihirvi
Hello rafaelluis! It's eerily silent here. Are you guys still following this gitter?
jussihirvi
@jussihirvi
@rafaelluis-vallejo, you probably already found an answer, but anyway. I use the gem jquery-rails. Because I also use turbolinks, the $( document ).ready() command of jquery does not work. To overcome that, you need the onmount library, and then you use onmount instead of $(document).ready().
codemaster
@codemaster6152
Hi, @everyone
codemaster
@codemaster6152
What is the purpose of refinerycms?
hexdragon
@hexdragon
Hi guys, I need help with refinerycms-dashboard, does anyone know what is the correct version for refinerycms version 4.0.3? Thanks in advance.
Anthony
@Abandolon
Hi Folks! I am just starting out to use Refinery and have noticed that when initializing, the config/initializers/refinery folder is not generated. Has anyone else had that issue and know how to force that generation?
Greg Remiasz
@gremz_gitlab
Does anyone know the current status of refinerycms? Is this project still actively maintained?
Philip Arndt
@parndt
not "actively", but it is maintained
I've not been on gitter for a while @gremz_gitlab :)
jussihirvi
@jussihirvi
Philip, nice to hear from you! I have created several projects with refinerycms, and more are coming.
jussihirvi
@jussihirvi
@Abandolon, I just tested installing refinerycms. config/initializers/refineryis created relatively late in the app creation process, so probably your app creation has crashed at some point. I used the following steps:
  1. rvm gemset create yourgemset (I used ruby 2.4.2)
  2. rvm gemset use yourgemset
  3. gem install refinerycms
  4. gem install bundler (otherwise next step will crash)
  5. refinerycms your-new-app