[Radiant] dreamhost

2009-11-09 Thread Brian Wolf
   1. I'm new to ror and am  reviewing  cms systems (current and future) for
   my company. I  was wondering if  you might update your dreamhost install
   directions, as  radiant is an installed gem. Do I still need  to install
   my own gems?  These configuration issues seem to get in the way of my
   eval.


When I ran

gem install radiant

it came back with some path warnings
which is apparently why the radiant command doesnt work, so now Im
supposed to add
things to my .bash_profile? I dont  have to do that for other gem programs
i've tried

thanks
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] dreamhost

2009-11-09 Thread Jon Roberts

There's an extensive guide at http://wiki.dreamhost.com/index.php/Ruby_on_Rails

Deployment of Rails apps seems to be a little different everywhere you  
go, so for evaluating CMSs, you should probably just run it locally. I  
can vouch that Radiant does indeed run on Dreamhost, though.


--
Jon



On Nov 9, 2009, at 10:36 AM, Brian Wolf wrote:

  1. I'm new to ror and am  reviewing  cms systems (current and  
future) for
  my company. I  was wondering if  you might update your dreamhost  
install
  directions, as  radiant is an installed gem. Do I still need  to  
install
  my own gems?  These configuration issues seem to get in the way  
of my

  eval.


When I ran

gem install radiant

it came back with some path warnings
which is apparently why the radiant command doesnt work, so now Im
supposed to add
things to my .bash_profile? I dont  have to do that for other gem  
programs

i've tried

thanks
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] dreamhost

2009-11-09 Thread john muhl
On Mon, Nov 9, 2009 at 10:36 AM, Brian Wolf brw...@gmail.com wrote:
 I  was wondering if  you might update your dreamhost install
 directions, as  radiant is an installed gem.

on my dreamhost ps the system radiant gem is version 0.6.9 which is
more than a year out of date and probably won't work with lots of
extensions; certainly new extensions are not targeting 0.6.x and even
old extensions that get updates have probably dropped 0.6.x support by
now.

 Do I still need  to install my own gems?

if you want to run a current version of radiant and/or have any
control over the environment yes you should install your own gems.

 These configuration issues seem to get in the way of my eval.

then ignore these configuration issues and do as was suggested by
others and do your evaluation on your local computer. trying to
evaluate anything on dreamhost's notoriously crappy platform seems
like an unnecessary pain to put yourself through.

if you must do the evaluation on a remote server have a look at
http://heroku.com/ you can get started for free and their platform is
actually built to run ruby applications.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Dreamhost says Passenger ignores ENV

2008-11-26 Thread Anton J Aylward
I've been trying to get Jason Garber's RedClot4 extension to work on my
Dreamhost account.

Dreamhost support tell me that Passenger ignores environment variables.

IS THIS REALLY SO ?

OK, so having GEM_PATH set in my .bash_profile would be ignored, then
and so all the stuff about local gems would be pointless.

So what I did instead was put the ENV settings in config/environment.rb
This makes them inside and not imported from the environment.

That didn't work either.  Dreamhost support told me

That still doesn't work, unfortunately, ANY environment
variables do not work within passenger. It's not possible
to get custom environment settings within passenger working.

This does not make sense to me.  This isn't within Passenger, this
should be the ruby code itself.

I'm now at a complete loss.  Dreamhost suggest using fcgi instead of
Passenger.


Can anyone confirm this shortcoming of Passenger?
Can anyone account for why ?

I find it hard to beleive that Passenger ignores all of ENV.

This
http://craigjolicoeur.com/blog/2008/11/set-rails_env-for-phusion-passenger-on-dreamhost/
seems to imply that settings in config/environment.rb work.

I also note that Dreamhost's own documentation at
http://wiki.dreamhost.com/Passenger
seems to contradict what support tells me:

  A couple of technical notes

...

* You can use your local gem repository if you set

ENV['GEM_PATH'] = 'path-to-your-gem-repository'

in the config/environment.rb file. The same path should be set
in shell's environment variables GEM_HOME and GEM_PATH so you
can use the gem program to install/upgrade your own gems. You   
can reload the config file by typing touch tmp/restart.txt in
your base directory.


Refs:?
http://groups.google.com/group/phusion-passenger/browse_thread/thread/79474d37028f2a03
http://groups.google.com/group/phusion-passenger/browse_thread/thread/8fe8222e5f9eeef1


-- 
shin (n): A device for finding furniture in the dark.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Dreamhost says Passenger ignores ENV

2008-11-26 Thread Simon Rönnqvist
I ran into the same problem when trying out the RedCloth4 extension.  
It seemed like Rails grabbed the RedCloth-gem that Dreamhost provides  
instead of the version that I installed in my local directory.  
However, earlier on I did get Radiant working, using the Radiant gem  
that I had installed in my local gems directory. I don't know if that  
worked cause Dreamhost doesn't provide any Radiant-gem or why...


  cheers, Simon


On Nov 26, 2008, at 16:43 , Anton J Aylward wrote:

I've been trying to get Jason Garber's RedClot4 extension to work on  
my

Dreamhost account.

Dreamhost support tell me that Passenger ignores environment  
variables.


IS THIS REALLY SO ?

OK, so having GEM_PATH set in my .bash_profile would be ignored, then
and so all the stuff about local gems would be pointless.

So what I did instead was put the ENV settings in config/ 
environment.rb

This makes them inside and not imported from the environment.

That didn't work either.  Dreamhost support told me

That still doesn't work, unfortunately, ANY environment
variables do not work within passenger. It's not possible
to get custom environment settings within passenger working.

This does not make sense to me.  This isn't within Passenger, this
should be the ruby code itself.

I'm now at a complete loss.  Dreamhost suggest using fcgi instead of
Passenger.


Can anyone confirm this shortcoming of Passenger?
Can anyone account for why ?

I find it hard to beleive that Passenger ignores all of ENV.

This
http://craigjolicoeur.com/blog/2008/11/set-rails_env-for-phusion-passenger-on-dreamhost/
seems to imply that settings in config/environment.rb work.

I also note that Dreamhost's own documentation at
http://wiki.dreamhost.com/Passenger
seems to contradict what support tells me:

 A couple of technical notes

   ...

   * You can use your local gem repository if you set

ENV['GEM_PATH'] = 'path-to-your-gem-repository'

in the config/environment.rb file. The same path should be set
in shell's environment variables GEM_HOME and GEM_PATH so you
can use the gem program to install/upgrade your own gems. You   
can reload the config file by typing touch tmp/restart.txt in
your base directory.


Refs:?
http://groups.google.com/group/phusion-passenger/browse_thread/thread/79474d37028f2a03
http://groups.google.com/group/phusion-passenger/browse_thread/thread/8fe8222e5f9eeef1


--
shin (n): A device for finding furniture in the dark.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant