I'm a beginner with RefineryCMS and Rails. I made my RefineryCMS app and I'm trying to generate my engine, as described in the guides. I'm running this command:
rails g refinery:engine article title:string reference:string file:resource
In the view I get in the Admin part there is no button to browse or anything as expected for the file resource, just a single box to introduce text. This is part of the form partial:
<div class='field'>
<%= f.label :file_id -%>
<%= f.text_field :file_id -%>
</div>
I had to change the gemspec file in the engine as mentioned RefineryCMS Engines Error: did not have a valid gemspec
this is part of my gemfile:
ruby '2.1.1'
gem 'rails', '3.2.17'
gem 'pg'
# Refinery CMS
gem 'refinerycms', '~> 2.1.0'
# Optionally, specify additional Refinery CMS Extensions here:
gem 'refinerycms-acts-as-indexed', '~> 1.0.0'
# Refinery's news engine allows you to post updates to the news section of your website.
gem 'refinerycms-news', '~> 2.1.0'
gem 'refinerycms-articles', :path => 'vendor/extensions'
I'm using Ubuntu 13.10.
So is this a bug or I'm doing something wrong? How do I get a button to browse the file?