Re: [Radiant] Radiant on OpenShift

2013-01-21 Thread trans


On Sunday, January 20, 2013 6:02:50 PM UTC-5, trans wrote:
>
>
>
> On Sunday, January 20, 2013 11:37:48 AM UTC-5, Jim Gay wrote:
>>
>> Have you done "rake db:bootstrap"? With RAILS_ENV=production if you 
>> need that too. 
>>
>>
> Ah okay. I will try that on the server. But when I do it locally for 
> development I get this:
>
>   $ rake db:bootstrap RAILS_ENV=development
>   (in /home/tab-computing/Jobs/CafeMezzanotte/openshift/cafemezz)
>   WARNING: It seems you do not have Bundler installed.
>   WARNING: You can install it by doing `gem install bundler`
>   Radiant could not be initialized. Have you run `bundle install`?'.
>
> But Bundler is installed.
>

It seems strange that it would do this. I worked out that it is b/c I am 
using chruby as a Ruby version manager. chruby is pretty straight-forward 
setup from what I understand. So I am wondering how is bundler is being 
checked for?
 


Re: [Radiant] Radiant on OpenShift

2013-01-20 Thread trans


On Sunday, January 20, 2013 11:37:48 AM UTC-5, Jim Gay wrote:
>
> Have you done "rake db:bootstrap"? With RAILS_ENV=production if you 
> need that too. 
>
>
Ah okay. I will try that on the server. But when I do it locally for 
development I get this:

  $ rake db:bootstrap RAILS_ENV=development
  (in /home/tab-computing/Jobs/CafeMezzanotte/openshift/cafemezz)
  WARNING: It seems you do not have Bundler installed.
  WARNING: You can install it by doing `gem install bundler`
  Radiant could not be initialized. Have you run `bundle install`?'.

But Bundler is installed.


>

Re: [Radiant] Radiant on OpenShift

2013-01-20 Thread trans
That's what I thought, but it's not working. I must be missing a step. Is 
there something I have to do to generate some initial database entries?

Sorry for all the stupid questions, but the "Getting Started" wiki page is 
gone, I haven't setup a new Radiant site in four years, and never via 
OpenShift.



Re: [Radiant] Radiant on OpenShift

2013-01-20 Thread trans


On Sunday, January 20, 2013 7:16:14 AM UTC-5, michael starke wrote:
>
> Ahoi,
>
> Add the following to your Gemfile
>
> "rake", "~> 0.9.2.2"
>
> And run bundle update
> The error is related to newer rake version. 
>
>
Thanks, that helped.
 
Btw, what is the default password for `admin` user on a new install?



Re: [Radiant] Radiant on OpenShift

2013-01-20 Thread trans


On Saturday, January 19, 2013 5:04:52 PM UTC-5, Jim Gay wrote:
>
> I haven't tried. 
> What errors have you seen? 
>
> On Sat, Jan 19, 2013 at 4:51 PM, trans > 
> wrote: 
> > Has anyone setup a Radiant site on OpenShift? I've spent this afternoon 
> > trying, but no luck so far. 
> > 
>

  remote: NOTE: Gem.source_index is deprecated, use Specification. It will 
be removed on or after 2011-11-01.
  remote: Gem.source_index called from 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/rails-2.3.15/lib/rails/gem_dependency.rb:21.
  remote: rake aborted!
  remote: ERROR: 'rake/gempackagetask' is obsolete and no longer supported. 
Use 'rubygems/package_task' instead.
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:182:in
 
`require'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:182:in
 
`block in require'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:547:in
 
`new_constants_in'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:182:in
 
`require'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/radiant-1.1.1/lib/tasks/release.rake:4:in
 
`'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:171:in
 
`load'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:171:in
 
`block in load_with_new_constant_marking'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:547:in
 
`new_constants_in'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:171:in
 
`load_with_new_constant_marking'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/radiant-1.1.1/Rakefile:10:in
 
`block in '
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/radiant-1.1.1/Rakefile:10:in
 
`each'
  remote: 
/var/lib/openshift/0efe0e74c14f4046a525268c2d888c20/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/radiant-1.1.1/Rakefile:10:in
 
`'
  remote: (See full trace by running task with --trace)
 


[Radiant] Radiant on OpenShift

2013-01-19 Thread trans
Has anyone setup a Radiant site on OpenShift? I've spent this afternoon 
trying, but no luck so far.



[Radiant] Wiki Spam?

2013-01-19 Thread trans
What's up with the Getting Started Wiki page?

https://github.com/radiant/radiant/wiki/Getting-started/_history


[Radiant] Dropbox or other file store?

2013-01-17 Thread trans
Is it possible to use dropbox as a backend for Clipped? 

What other file store would you recommend?


[Radiant] Updating Radiant via Admin Interface

2011-12-15 Thread trans
Is there a way to update Radiant from within the admin interface?



[Radiant] Re: When will 1.0.0 be ready?

2011-12-10 Thread trans
Okay, thanks.

One follow-up question: Are there any guides to upgrading? Is it straight 
forward? Or are there important gotchas?




[Radiant] When will 1.0.0 be ready?

2011-12-08 Thread trans
I'd like to upgrade my client, but I have been waiting for some time now 
for Radiant to get out of the RCs.

[Radiant] "Create {{name}}" buttons

2011-01-31 Thread trans
Yea! My site is almost done. It used to be a PHP site, but now it's running 
on Radiant. 

I have only one last issue to resolve. Somehow in the course of working 
through some issues I managed to mess up something (I assume with language 
locale substitutions). B/c currently a number of buttons read like "Create 
{{name}}" rather then, e.g. "Create Page". Why would this be and how do I 
get it back to normal?



[Radiant] Re: Install Settings after Paperclipped

2011-01-30 Thread trans
Sigh. Three days on the same problem and no success. No one has any idea why 
I can't upload large PDF files with paperclipped?

I'm not sure if it's Radiant, my server to or Paperclipped. I am starting to 
think about moving to Refinery to see if that make a difference :( 



Re: [Radiant] if home page

2011-01-28 Thread trans
Worked like a charm. Thanks!

Related question: Can if_url be used to key off an anchor?, eg 
`http://some.com/page#foo`. I want to display additional content if "#foo" 
is present.


[Radiant] Re: Install Settings after Paperclipped

2011-01-28 Thread trans
To follow up on my own post. Installing the Settings extensions afterwards 
seems to work okay once the server restarted. I reran the `rake 
radiant:extension:migration` too (which it appears caused me to get a bunch 
of language modules too, but oh well).

I set the "max assest size" to 25 --assuming that means 25MB, but no luck my 
larger files still cause an "Application error".

Any ideas?


[Radiant] if home page

2011-01-28 Thread trans
How to use radiant tags to say "if home page"?


[Radiant] Install Settings after Paperclipped

2011-01-27 Thread trans
I installed the Paperclipped extension, only to read after the fact
that I should have installed the Settings extension first. How can I
install the Settings extension after the fact?

I was following this guide:

  https://github.com/kbingman/paperclipped

Also, is there a default limit to upload file size? I get an error on
a 800k file, but it works on 100k. In fact that's why I am installing
the Settings extension to see if that will help fix this.

Thanks.


[Radiant] Re: Site5 Install Problem

2011-01-26 Thread trans


On Jan 26, 4:53 pm, Brad Herman  wrote:
> To set up on site5, you need to edit your GEMPATH to point to a location you 
> choose, then install the required gems to that location. Then edit your 
> GEMPATH in the environment.rb file to include the custom gem location.
>
> ie:
>
> ENV['GEM_PATH'] = '/home/myapplocation/gems:/usr/lib/ruby/gems/1.8'
> require 'rubygems'

Thanks. I went over the whole thing again and found my mistake. I had
used `$HOME` instead of actual `home`.




[Radiant] Site5 Install Problem

2011-01-26 Thread trans
Tried to install Radiant and setup a new radiant app but got this
error:

radiant --database mysql rad
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in
`report_activate_error': Could not find RubyGem radiant (>= 0)
(Gem::LoadError)
  from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in
`activate'
  from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
  from /home/cafemezz/ruby/gems/bin/radiant:18

Searching for s solution, I see others mention the same problem but no
solutions. Anyone have an answer?

Thanks.


[Radiant] List Moderation

2010-09-01 Thread trans
Up until yesterday I have been moderating all messages by first time
posters. It hasn't been too bad, about one post a day. But it was
something I had to attend to and it meant the occasional delay before
people could see their first post. To free me of the daily necessity I
have now turned this moderation off. This means posts will appear
right away, which is good, but it also means we may start to see some
spam on the list from time to time too. Google  roups is pretty good
at catching spam, though obviously not perfect. If anyone wants to
take over new post moderation, and thus prevent any possibility of
spam, let me know. Otherwise I hope others are ok with a little
unwanted noise. Of course, if it gets real bad I will turn moderation
back on, but I help manage a number of other lists and it's not been a
major issue.

Yours,
Trans

P.S. I accidentally posted this to ruby-talk yesterday, if you were
wondering.


[Radiant] Hot to resolve rack version conflict?

2010-06-02 Thread trans
Can anyone fill me in on the fix?

  tr...@logisys:radiant$ rake production db:bootstrap
  (in /home/trans/Company/PsyTech/jobs/sunventures/radiant)
  rake aborted!
  can't activate rack (~> 1.0.0, runtime) for [], already activated
rack-1.1.0 for ["radiant-0.8.2"]


[Radiant] New Mailing List

2010-05-11 Thread trans
As you are by now surely aware, at the request of John Long, the
Radiant CMS mailing list has been moved to Google Groups. I handled
the transition over the weekend. All previous members were
automatically subscribed and notified.

With the exception of the change of email address and the delivery of
digests, all functionality should remain essentially the same. Except
now, you have the option of using the Google Groups interface to
search, read and reply to the list.

If you previously received a digest summary and would like to continue
to do so, but do not wish to have a Google account that would allow
you to adjust delivery settings yourself, you can contact me
personally and I will adjust the settings for you.

If you have any questions or concerns, don't hesitate to post them. I
will avail myself to answer them as best I can.

I hope the new list serves the community well.

Yours,
Trans


[Radiant] Re: Radiant installation on Site5

2010-05-11 Thread trans


On May 11, 8:14 pm, Tom Reno  wrote:
> Hello All,
>
> I'm trying to get my first radiant install running, and could use some
> assistance getting it working on Site5.
>
> I've followed the 
> tutorialhttp://wiki.github.com/radiant/radiant/installing-on-site5
>
> When I run:
> radiant --database mysql radapp

Did you do:

"It is also a good idea to add the /home/username/.gem/ruby/1.8/bin
directory to your $PATH in .bash_profile, this will allow you to run
‘the radiant’ binary directly."

?