[Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread craayzie
Ok so what I'm really trying to do is install the Saturnflyer's vhost extension. rake complains of a missing lib/tasks/add_site_columns file. Any ideas? $ rake production radiant:extensions:vhost:install (in /Users/fimaleshinsky/Sites/heroku) rake aborted! no such file to load --

[Radiant] Radiant on Heroku - Extension problem

2011-02-08 Thread Hadi S.
Hi i successfully pushed a radiant project to heroku. everything works fine except that the extensions in vendor/extensions aren't loaded. Although locally everything works fine, the extensions in the extensions directory are empty on heroku, So what could the cause be?

[Radiant] Re: Radiant on Heroku - Extension problem

2011-02-08 Thread Hadi S.
ok, i figured out why the extensions directory is empty. git added those as submodules, so git never pushed them to the server. Now i have to figure out how to remove the submodule and add the extensions as normal content. On Feb 8, 10:17 am, Hadi S. poph...@gmail.com wrote: Hi i successfully

Re: [Radiant] Re: Radiant on Heroku - Extension problem

2011-02-08 Thread Fima Leshinsky
I just went through this dance last week :) Check out: http://docs.heroku.com/constraints#git-submodules Also here's the quick and easy way to install extensions that play well w/ Heroku: $ git clone git://github.com/saturnflyer/radiant-vhost-extension.git vendor/extensions/vhost and

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Jim Gay
On Feb 8, 2011, at 12:14 , Fima Leshinsky wrote: Thanks John! So odd. It worked on the Empty database template install but when I tried to run it w/ any of the other options it failed: Select a database template: 1. Empty 2. Roasters (a coffee-themed blog / brochure) 3. Simple Blog 4.

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Fima Leshinsky
Thanks Jim - that's exactly what I was trying to do. Here's were I'm getting stuck: $ gem install radiant-vhost-extension (update config/environment.rb with: config.gem 'radiant-vhost-extension', :lib = false) $ rake production radiant:extensions:vhost:update $ rake production

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread john
do you have the same problem if you install the extension into vendor/extensions?

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Fima Leshinsky
yup - same exact problem .. Here's where this file is being required: $ grep -r add_site_columns . ./lib/tasks/vhost_extension_tasks.rake:require #{File.dirname(__FILE__)}/add_site_columns On Tue, Feb 8, 2011 at 9:59 AM, john johnm...@gmail.com wrote: do you have the same problem if

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Fima Leshinsky
The only file I have in lib/tasks is vhost_extension_tasks.rake .. is lib/tasks/add_site_columns supposed to be copied over during the extension install? On Tue, Feb 8, 2011 at 10:05 AM, Fima Leshinsky flesh...@gmail.com wrote: yup - same exact problem .. Here's where this file is being

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Jim Gay
Would you mind opening up an issue for this? https://github.com/saturnflyer/radiant-vhost-extension/issues On Feb 8, 2011, at 14:54 , Fima Leshinsky wrote: Hm .. I also had to set site_admin = true to be able to login to the backend: ree-1.8.7-2010.02 user = User.find_by_login('admin')

Re: [Radiant] Re: installing scoped_access plugin?

2011-02-08 Thread Fima Leshinsky
yay! my first issue submission - i hope I didn't butcher it :P https://github.com/saturnflyer/radiant-vhost-extension/issues/issue/10 On Tue, Feb 8, 2011 at 12:06 PM, Jim Gay j...@saturnflyer.com wrote: Would you mind opening up an issue for this?

Re: [Radiant] Accessing Rails generators from a Radiant app

2011-02-08 Thread Enrico Teotti
Hi, I was looking for another devise thread on the ML and I found yours. Add this to script/generate to load an unpacked gem generators: gems_path = File.expand_path(File.join(RAILS_ROOT, %w(vendor gems))) sources Rails::Generator::PathSource.new(:gems (vendor/gems),

[Radiant] Seeking a Radiant Expert / Programmer for Contract

2011-02-08 Thread GV
I am seeking a Radiant Expert / Programmer to help me on a project. We are converting a static site, which currently contains 100's of pages, to a dynamic template based site. All of the HTML/CSS, Javascript, and JQuery has been developed. We have already setup our Production Environment, which

Re: [Radiant] Re: Radiant on Heroku - Extension problem

2011-02-08 Thread Haselwanter Edmund
On 08.02.2011, at 11:42, Hadi S. wrote: ok, i figured out why the extensions directory is empty. git added those as submodules, so git never pushed them to the server. Now i have to figure out how to remove the submodule and add the extensions as normal content. in Capfile: require

Re: [Radiant] vhost extension configuration

2011-02-08 Thread Jim Gay
On Feb 9, 2011, at 0:07 , craayzie wrote: So I now have the vhost extension installed and I was even able to create a 2nd site via the Sites tab within the admin UI. Problem is I'm lost as to where to go from here. When I visit my newly created site - the first (default) site is displayed.

Re: [Radiant] vhost extension configuration

2011-02-08 Thread Fima Leshinsky
That seems very odd. How does Radiant know which site you're requesting? In your examples, the browser wouldn't send an HTTP Host header which is really the only way to differentiate between site A and site B at the HTTP level. Also localhost is just an entry in your /etc/hosts file (assuming

Re: [Radiant] vhost extension configuration

2011-02-08 Thread Fima Leshinsky
Well I'm a complete N00b to RoR so please bare w/ me but I just discovered this: ree-1.8.7-2010.02 ActiveRecord::Base.connection.tables = [schema_migrations, config, extension_meta, layouts, page_parts, pages, sessions, snippets, users, sites_users, hostnames, sites] Woohoo! So there are

Re: [Radiant] vhost extension configuration

2011-02-08 Thread Jim Gay
On Feb 9, 2011, at 0:33 , Fima Leshinsky wrote: That seems very odd. How does Radiant know which site you're requesting? In your examples, the browser wouldn't send an HTTP Host header which is really the only way to differentiate between site A and site B at the HTTP level. Also localhost

Re: [Radiant] vhost extension configuration

2011-02-08 Thread Fima Leshinsky
Wow .. I stepped away for a bit .. reloaded the page and hit the + New Homepage button again ... and ... it just worked .. wtf ..