I used hostgator's cpanel web interface to install it.
There is no vendor/extensions/forms directory.

So I ran "gem install radiant-forms-extension"; it seemed to work:
[lind...@gator634 ~/rails_apps/radiant]$ gem install radiant-forms-extension
Successfully installed radiant-forms-extension-2.0.1
1 gem installed
Installing ri documentation for radiant-forms-extension-2.0.1...
Installing RDoc documentation for radiant-forms-extension-2.0.1...

But there's still no forms directory anywhere.

[lind...@gator634 ~/rails_apps/radiant]$ find / -name forms
/home/lindsay/ruby/gems/gems/radiant-forms-extension-2.0.1/spec/lib/forms
/home/lindsay/ruby/gems/gems/radiant-forms-extension-2.0.1/app/views/admin/forms
/home/lindsay/ruby/gems/gems/radiant-forms-extension-2.0.1/lib/forms
/home/lindsay/ruby/gems/doc/radiant-forms-extension-2.0.1/rdoc/files/lib/forms
/usr/lib/ruby/gems/1.8/doc/radiant-forms-extension-2.0.1/rdoc/files/lib/forms
/usr/lib/ruby/gems/1.8/gems/radiant-forms-extension-2.0.1/spec/lib/forms
/usr/lib/ruby/gems/1.8/gems/radiant-forms-extension-2.0.1/lib/forms
/usr/lib/ruby/gems/1.8/gems/radiant-forms-extension-2.0.1/app/views/admin/forms


Is it supposed to be "gems/gems" above (line 2)?
Is it using the wrong directory? radiant starts from
/home/lindsay/rails_apps/radiant.

Maybe I need to tweak this line in my config/environment.rb BEFORE I run gem
install?
(It's commented out at present.)

#ENV['GEM_PATH'] = '/home/lindsay/ruby/gems:/usr/lib/ruby/gems/1.8'

Thanks for any advice...

On Wed, Aug 11, 2010 at 12:14 AM, Jim Gay <j...@saturnflyer.com> wrote:

> Lindsay,
>
> How did you install the radiant-forms-extension? Was it just by doing "gem
> install radiant-forms-extension"? And if so did you add "config.gem 
> 'radiant-forms-extension'"
> to your config/environment.rb? If you did the first step but not the second,
> then you didn't "install" it into your app.
> Or like Anna asked, is the source in vendor/extensions/forms of your
> application?
>
> On Tue, Aug 10, 2010 at 4:33 PM, banane <ban...@gmail.com> wrote:
>
>> Hey Lindsay-
>>
>> Like Jim asked, can you double check the radiant site directory,
>> vendor/extensions, to see if "forms" is a directory in there. Under that
>> should be forms_extension.rb. This isn't in gems or anything, it's in your
>> actual radiant root directory, under vendor/extensions.
>>
>> To unpack the error message- it's lookign for rake tasks, which are
>> usually in /lib, in the vendor/extensions/forms directory of your radiant
>> site. Not a gem or anything like that.
>>
>> Anna
>>
>>
>> On Tue, Aug 10, 2010 at 1:05 PM, Lindsay Morris <lmorris...@gmail.com>wrote:
>>
>>> bounced, trying again
>>>
>>> ---------- Forwarded message ----------
>>> From: Lindsay Morris <lmorris...@gmail.com>
>>> Date: Mon, Aug 9, 2010 at 10:15 AM
>>> Subject: Re: [Radiant] forms extensions installed, but no Forms tab
>>> appears
>>> To: radiantcms@googlegroups.com
>>>
>>>
>>> Thanks, Jim.
>>> It's here:
>>>
>>> ls -l /usr/lib/ruby/gems/1.8/gems/radiant-forms-extension-2.0.1/
>>> total 52
>>> -rw-r--r-- 1 root root 3507 Aug  3 16:52 README.md
>>> -rw-r--r-- 1 root root 4896 Aug  3 16:52 Rakefile
>>> -rw-r--r-- 1 root root    6 Aug  3 16:52 VERSION
>>> drwxr-xr-x 5 root root 4096 Aug  3 16:03 app
>>> drwxr-xr-x 3 root root 4096 Aug  3 16:52 config
>>> -rw-r--r-- 1 root root   67 Aug  3 16:52 cucumber.yml
>>> drwxr-xr-x 3 root root 4096 Aug  3 16:03 db
>>> -rw-r--r-- 1 root root  814 Aug  3 16:52 forms_extension.rb
>>> drwxr-xr-x 4 root root 4096 Aug  3 16:03 lib
>>> drwxr-xr-x 3 root root 4096 Aug  3 16:03 public
>>> -rw-r--r-- 1 root root 2933 Aug  3 16:52 radiant-forms-extension.gemspec
>>> drwxr-xr-x 6 root root 4096 Aug  3 16:52 spec
>>>
>>> I'm using a hostgator virtual machine.  Their cpanel thing has a gem
>>> installer, which I used; it said it installed OK, along with the docs, but
>>> it never said "Done." so I'm not sure it worked right.  Not sure where its
>>> logs are either.
>>>
>>> The cpanel thing said I'd need to add my directory to GEM_PATH.
>>> I tried adding
>>>    ENV['GEM_PATH'] = '/home/lindsay/ruby/gems:/usr/lib/ruby/gems/1.8'
>>> to config/environment.rb,
>>> but that didn't work, and it was unclear which directory the gems were
>>> coming from, so I took that line out.  Now at least I know its using the one
>>> in /usr/lib/ruby.
>>>
>>> So what do you think I should do?
>>>
>>>
>>> On Thu, Aug 5, 2010 at 11:59 AM, Jim Gay <j...@saturnflyer.com> wrote:
>>>
>>>> On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 <lmorris...@gmail.com> wrote:
>>>>
>>>>> I've been struggling with this for 2 days now.
>>>>>
>>>>> I reinstalled radiant (which works fine) and radiant-forms-extensions.
>>>>> Then I ran
>>>>> rake db:migrate
>>>>> rake db:migrate:extensions
>>>>> rake radiant:extensions:forms:migrate
>>>>>  (which complained " Don't know how to build task
>>>>> 'radiant:extensions:forms:migrate')
>>>>> rake radiant:extensions:forms:update
>>>>>  (which complained "Don't know how to build task
>>>>> 'radiant:extensions:forms:update')
>>>>>
>>>>> Stopped and started radiant; still no "Forms" tab appears.
>>>>>
>>>>> I've just tried so many things, googled lots of error log messages,
>>>>> geez.  Meta-problem: why the heck doesn't it JUST WORK?
>>>>> (Sorry, just have to vent a little.)
>>>>>
>>>>> So last resort before giving up.  Any advice please?
>>>>>
>>>>>
>>>> Next time, don't wait 2 days to ask for help.
>>>>
>>>> Are there any errors in the server log?
>>>> Can you verify that the extension is in vendor/extensions/forms and not
>>>> vendor/extensions/radiant-forms-extension
>>>> And can you verify that it is not an empty directory?
>>>>
>>>>
>>>>
> --
> Jim Gay
> Saturn Flyer LLC
> http://www.saturnflyer.com
> 571-403-0338
>



-- 
Lindsay Morris

Reply via email to