Re: [Radiant] forms extensions installed, but no Forms tab appears
On Mon, Aug 16, 2010 at 7:57 AM, Lindsay Morris wrote: > Well, "gem list" says radiant (0.9.1), but that's remote, ie, not installed > (I guess ?) No the other way- gem list (remote) means what gems are available from gem providers. Gem list (without a flag) will give you locally installed gems.I have both installed, so "gem list --local" results in : "radiant (0.9.1, 0.8.1)" > "gem list --local" does not show radiant at all. > But I have a /home/lindsay/rails_apps/radiant directory, with a CHANGELOG > that has "=== 0.8.1 Luster" at the top. It's possible to clone the radiant repo and set it up in your system (instead of installing as a gem). Not sure why you'd want to if you're just creating a radiant site. That may be what cPanel did. > > So it's SLOOOWWLY starting to make sense. > Maybe Hostgator's web-based cPanel does one kind of install; > and my command-line commands do a DIFFERENT kind of install, > and never the twain shall meet. yeah, HostGator can be restricting permissions by running their cPanel thing- lots of ISPs do this. Command-line will install apps, etc. using your user. > I can re-install radiant with cPanel, but I'm pretty sure I'll get the 0.8 > version that I've got now. There might be a forms-8 version available. > I don't have any control or understanding of what cPanel does when I click > the button. > > I think HostGator's cPanel Rails / Gems installer has sent me on a wild > goose chase here. > I guess I should start all over, ditch cPanel, and re-install radiant, > radiant-forms-extension, etc. myself from the command line. That's what I would do, just becuase then you can see everything. > > Does anybody have a better idea? > > > > On Wed, Aug 11, 2010 at 8:16 PM, banane wrote: >> >> Which version of radiant do you have installed? >> gem list (and you'll see radiant's version next to its name in parens). >> I'm suspecting it's 8, as that seems to be a 9 version diff. >> >> On Wed, Aug 11, 2010 at 2:52 PM, Lindsay Morris >> wrote: >>> >>> Very helpful. Two different install techniques. I had no idea. >>> >>> So I took the config.gem line away, and ran >>> [lind...@gator634 ~/rails_apps/radiant]$ rake >>> radiant:extensions:forms:migrate >>> (in /home/lindsay/rails_apps/radiant) >>> rake aborted! >>> undefined method `tab' for # >>> >>> What's next? >>> >>> >>> On Wed, Aug 11, 2010 at 5:23 PM, Jim Gay wrote: On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris wrote: > > Jim, when I added "config.gem ..", the app wouldn't start; complained > "gem not installed". > Which makes sense since there's no vendor/extensions/forms directory. You misunderstand. It would say "gem not installed" if the user trying to start the application didn't have access to that gem. > > Trying Anna's advice: > script/extension install forms > fails: "git was compiled without libcurl support". > I can't be root on this box. > > So I tried another installer: > git clone git://github.com/squaretalent/radiant-forms-extension > vendor/extensions/forms > That seemed happy, and I now have a vendor/extensions/forms directory. > Yay! > Then: > rake radiant:extensions:forms:migrate > > blew up like this: > > rake radiant:extensions:forms:migrate > (in /home/lindsay/rails_apps/radiant) > no such file to load -- radiant-forms-extension > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > > /home/lindsay/rails_apps/radiant/config/environment.rb:13 > > > So I look at line 13 in my environment.rb, and it says (comments > stripped): > Radiant::Initializer.run do |config| > config.action_controller.session = { > :session_key => '_radiant_session', > :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' > } > config.gem 'radiant-forms-extension' > [more] > > More advice please? If you have the extension in vendor/extensions, then there is no need for the "config.gem" line. If you have the gem installed, then you should not need the extension in vendor/extensions. These are 2 separate ways to install the extension: - config.gem 'radiant-forms-extension' :lib => false - or source in vender/extensions/forms It sounds like you don't have things setup properly to use it as a gem. Since you have the source in vendor/extensions/forms now, you should be able to remove the config.gem line and be on your way. When gems are loaded, radiant will look for a file of the same name in lib. So if you install the "radiant-forms-extension" gem, the application will look inside that code for a file in lib/radiant-forms-extension.rb. This "radiant-forms-extension" gem doesn't have that file, so you'd tell radiant
Re: [Radiant] forms extensions installed, but no Forms tab appears
Well, "gem list" says radiant (0.9.1), but that's remote, ie, not installed (I guess ?) "gem list --local" does not show radiant at all. But I have a /home/lindsay/rails_apps/radiant directory, with a CHANGELOG that has "=== 0.8.1 Luster" at the top. So it's SLOOOWWLY starting to make sense. Maybe Hostgator's web-based cPanel does one kind of install; and my command-line commands do a DIFFERENT kind of install, and never the twain shall meet. I can re-install radiant with cPanel, but I'm pretty sure I'll get the 0.8 version that I've got now. I don't have any control or understanding of what cPanel does when I click the button. I think HostGator's cPanel Rails / Gems installer has sent me on a wild goose chase here. I guess I should start all over, ditch cPanel, and re-install radiant, radiant-forms-extension, etc. myself from the command line. Does anybody have a better idea? On Wed, Aug 11, 2010 at 8:16 PM, banane wrote: > Which version of radiant do you have installed? > gem list (and you'll see radiant's version next to its name in parens). I'm > suspecting it's 8, as that seems to be a 9 version diff. > > > On Wed, Aug 11, 2010 at 2:52 PM, Lindsay Morris wrote: > >> Very helpful. Two different install techniques. I had no idea. >> >> So I took the config.gem line away, and ran >> [lind...@gator634 ~/rails_apps/radiant]$ rake >> radiant:extensions:forms:migrate >> >> (in /home/lindsay/rails_apps/radiant) >> rake aborted! >> undefined method `tab' for # >> >> What's next? >> >> >> >> On Wed, Aug 11, 2010 at 5:23 PM, Jim Gay wrote: >> >>> On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris wrote: >>> Jim, when I added "config.gem ..", the app wouldn't start; complained "gem not installed". Which makes sense since there's no vendor/extensions/forms directory. >>> >>> You misunderstand. It would say "gem not installed" if the user trying to >>> start the application didn't have access to that gem. >>> >>> Trying Anna's advice: script/extension install forms fails: "git was compiled without libcurl support". I can't be root on this box. So I tried another installer: git clone git://github.com/squaretalent/radiant-forms-extensionvendor/extensions/forms That seemed happy, and I now have a vendor/extensions/forms directory. Yay! Then: rake radiant:extensions:forms:migrate blew up like this: rake radiant:extensions:forms:migrate (in /home/lindsay/rails_apps/radiant) no such file to load -- radiant-forms-extension /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/lindsay/rails_apps/radiant/config/environment.rb:13 So I look at line 13 in my environment.rb, and it says (comments stripped): Radiant::Initializer.run do |config| config.action_controller.session = { :session_key => '_radiant_session', :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' } config.gem 'radiant-forms-extension' [more] More advice please? >>> >>> >>> If you have the extension in vendor/extensions, then there is no need for >>> the "config.gem" line. >>> If you have the gem installed, then you should not need the extension in >>> vendor/extensions. >>> These are 2 separate ways to install the extension: >>> - config.gem 'radiant-forms-extension' :lib => false >>> - or source in vender/extensions/forms >>> >>> It sounds like you don't have things setup properly to use it as a gem. >>> Since you have the source in vendor/extensions/forms now, you should be able >>> to remove the config.gem line and be on your way. >>> >>> When gems are loaded, radiant will look for a file of the same name in >>> lib. So if you install the "radiant-forms-extension" gem, the application >>> will look inside that code for a file in lib/radiant-forms-extension.rb. >>> This "radiant-forms-extension" gem doesn't have that file, so you'd tell >>> radiant not to look for it by typing: config.gem "radiant-forms-extension", >>> :lib => false >>> Otherwise, if the file did exist in this gem, you wouldn't need :lib => >>> false >>> >>> Is this helpful? >>> >>> On Wed, Aug 11, 2010 at 12:42 PM, Jim Gay wrote: > Please reread my previous reply. > > You've installed the gem and that's it. There is nothing telling your > application to use it. > > > On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris > wrote: > >> 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 >>
Re: [Radiant] forms extensions installed, but no Forms tab appears
Which version of radiant do you have installed? gem list (and you'll see radiant's version next to its name in parens). I'm suspecting it's 8, as that seems to be a 9 version diff. On Wed, Aug 11, 2010 at 2:52 PM, Lindsay Morris wrote: > Very helpful. Two different install techniques. I had no idea. > > So I took the config.gem line away, and ran > [lind...@gator634 ~/rails_apps/radiant]$ rake > radiant:extensions:forms:migrate > > (in /home/lindsay/rails_apps/radiant) > rake aborted! > undefined method `tab' for # > > What's next? > > > > On Wed, Aug 11, 2010 at 5:23 PM, Jim Gay wrote: > >> On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris wrote: >> >>> Jim, when I added "config.gem ..", the app wouldn't start; complained >>> "gem not installed". >>> Which makes sense since there's no vendor/extensions/forms directory. >>> >> >> You misunderstand. It would say "gem not installed" if the user trying to >> start the application didn't have access to that gem. >> >> >>> >>> Trying Anna's advice: >>>script/extension install forms >>> fails: "git was compiled without libcurl support". >>> I can't be root on this box. >>> >>> So I tried another installer: >>> git clone >>> git://github.com/squaretalent/radiant-forms-extensionvendor/extensions/forms >>> That seemed happy, and I now have a vendor/extensions/forms directory. >>> Yay! >>> Then: >>> >>> rake radiant:extensions:forms:migrate >>> >>> blew up like this: >>> >>> rake radiant:extensions:forms:migrate >>> (in /home/lindsay/rails_apps/radiant) >>> no such file to load -- radiant-forms-extension >>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >>> `gem_original_require' >>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' >>> >>> /home/lindsay/rails_apps/radiant/config/environment.rb:13 >>> >>> >>> So I look at line 13 in my environment.rb, and it says (comments >>> stripped): >>> Radiant::Initializer.run do |config| >>> config.action_controller.session = { >>> :session_key => '_radiant_session', >>> :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' >>> >>> } >>> config.gem 'radiant-forms-extension' >>> [more] >>> >>> More advice please? >> >> >> If you have the extension in vendor/extensions, then there is no need for >> the "config.gem" line. >> If you have the gem installed, then you should not need the extension in >> vendor/extensions. >> These are 2 separate ways to install the extension: >> - config.gem 'radiant-forms-extension' :lib => false >> - or source in vender/extensions/forms >> >> It sounds like you don't have things setup properly to use it as a gem. >> Since you have the source in vendor/extensions/forms now, you should be able >> to remove the config.gem line and be on your way. >> >> When gems are loaded, radiant will look for a file of the same name in >> lib. So if you install the "radiant-forms-extension" gem, the application >> will look inside that code for a file in lib/radiant-forms-extension.rb. >> This "radiant-forms-extension" gem doesn't have that file, so you'd tell >> radiant not to look for it by typing: config.gem "radiant-forms-extension", >> :lib => false >> Otherwise, if the file did exist in this gem, you wouldn't need :lib => >> false >> >> Is this helpful? >> >> >>> >>> >>> >>> On Wed, Aug 11, 2010 at 12:42 PM, Jim Gay wrote: >>> Please reread my previous reply. You've installed the gem and that's it. There is nothing telling your application to use it. On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris wrote: > 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 wron
Re: [Radiant] forms extensions installed, but no Forms tab appears
Very helpful. Two different install techniques. I had no idea. So I took the config.gem line away, and ran [lind...@gator634 ~/rails_apps/radiant]$ rake radiant:extensions:forms:migrate (in /home/lindsay/rails_apps/radiant) rake aborted! undefined method `tab' for # What's next? On Wed, Aug 11, 2010 at 5:23 PM, Jim Gay wrote: > On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris wrote: > >> Jim, when I added "config.gem ..", the app wouldn't start; complained "gem >> not installed". >> Which makes sense since there's no vendor/extensions/forms directory. >> > > You misunderstand. It would say "gem not installed" if the user trying to > start the application didn't have access to that gem. > > >> >> Trying Anna's advice: >>script/extension install forms >> fails: "git was compiled without libcurl support". >> I can't be root on this box. >> >> So I tried another installer: >> git clone >> git://github.com/squaretalent/radiant-forms-extensionvendor/extensions/forms >> That seemed happy, and I now have a vendor/extensions/forms directory. >> Yay! >> Then: >> >> rake radiant:extensions:forms:migrate >> >> blew up like this: >> >> rake radiant:extensions:forms:migrate >> (in /home/lindsay/rails_apps/radiant) >> no such file to load -- radiant-forms-extension >> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `gem_original_require' >> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' >> >> /home/lindsay/rails_apps/radiant/config/environment.rb:13 >> >> >> So I look at line 13 in my environment.rb, and it says (comments >> stripped): >> Radiant::Initializer.run do |config| >> config.action_controller.session = { >> :session_key => '_radiant_session', >> :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' >> >> } >> config.gem 'radiant-forms-extension' >> [more] >> >> More advice please? > > > If you have the extension in vendor/extensions, then there is no need for > the "config.gem" line. > If you have the gem installed, then you should not need the extension in > vendor/extensions. > These are 2 separate ways to install the extension: > - config.gem 'radiant-forms-extension' :lib => false > - or source in vender/extensions/forms > > It sounds like you don't have things setup properly to use it as a gem. > Since you have the source in vendor/extensions/forms now, you should be able > to remove the config.gem line and be on your way. > > When gems are loaded, radiant will look for a file of the same name in lib. > So if you install the "radiant-forms-extension" gem, the application will > look inside that code for a file in lib/radiant-forms-extension.rb. This > "radiant-forms-extension" gem doesn't have that file, so you'd tell radiant > not to look for it by typing: config.gem "radiant-forms-extension", :lib => > false > Otherwise, if the file did exist in this gem, you wouldn't need :lib => > false > > Is this helpful? > > >> >> >> >> On Wed, Aug 11, 2010 at 12:42 PM, Jim Gay wrote: >> >>> Please reread my previous reply. >>> >>> You've installed the gem and that's it. There is nothing telling your >>> application to use it. >>> >>> >>> On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris >>> wrote: >>> 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 wrote: >>
Re: [Radiant] forms extensions installed, but no Forms tab appears
On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris wrote: > Jim, when I added "config.gem ..", the app wouldn't start; complained "gem > not installed". > Which makes sense since there's no vendor/extensions/forms directory. > You misunderstand. It would say "gem not installed" if the user trying to start the application didn't have access to that gem. > > Trying Anna's advice: >script/extension install forms > fails: "git was compiled without libcurl support". > I can't be root on this box. > > So I tried another installer: > git clone > git://github.com/squaretalent/radiant-forms-extensionvendor/extensions/forms > That seemed happy, and I now have a vendor/extensions/forms directory. > Yay! > Then: > > rake radiant:extensions:forms:migrate > > blew up like this: > > rake radiant:extensions:forms:migrate > (in /home/lindsay/rails_apps/radiant) > no such file to load -- radiant-forms-extension > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > > /home/lindsay/rails_apps/radiant/config/environment.rb:13 > > > So I look at line 13 in my environment.rb, and it says (comments stripped): > Radiant::Initializer.run do |config| > config.action_controller.session = { > :session_key => '_radiant_session', > :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' > > } > config.gem 'radiant-forms-extension' > [more] > > More advice please? If you have the extension in vendor/extensions, then there is no need for the "config.gem" line. If you have the gem installed, then you should not need the extension in vendor/extensions. These are 2 separate ways to install the extension: - config.gem 'radiant-forms-extension' :lib => false - or source in vender/extensions/forms It sounds like you don't have things setup properly to use it as a gem. Since you have the source in vendor/extensions/forms now, you should be able to remove the config.gem line and be on your way. When gems are loaded, radiant will look for a file of the same name in lib. So if you install the "radiant-forms-extension" gem, the application will look inside that code for a file in lib/radiant-forms-extension.rb. This "radiant-forms-extension" gem doesn't have that file, so you'd tell radiant not to look for it by typing: config.gem "radiant-forms-extension", :lib => false Otherwise, if the file did exist in this gem, you wouldn't need :lib => false Is this helpful? > > > > On Wed, Aug 11, 2010 at 12:42 PM, Jim Gay wrote: > >> Please reread my previous reply. >> >> You've installed the gem and that's it. There is nothing telling your >> application to use it. >> >> >> On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris wrote: >> >>> 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 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. >>> >> >> -- >> Jim Gay >> Saturn Flyer LLC >> http://www.saturnflyer.com >> 571-403-0338 >> > > > > -- > Lindsay Morris > > -- Jim Gay Saturn Flyer LLC http://w
Re: [Radiant] forms extensions installed, but no Forms tab appears
On Wed, Aug 11, 2010 at 4:09 PM, Lindsay Morris wrote: > So I tried another installer: > git clone git://github.com/squaretalent/radiant-forms-extension > vendor/extensions/forms > That seemed happy, and I now have a vendor/extensions/forms directory. Yay! > Then: > rake radiant:extensions:forms:migrate > > blew up like this: > /home/lindsay/rails_apps/radiant/config/environment.rb:13 > > config.gem 'radiant-forms-extension' it looks like you're mixing the two types of extension installation; vendor/extensions/xyz and installed as a gem. you only need to do one or the other and since it looks like gems were not working remove the `config.gem 'radiant-forms-extension' line. then re-run the installation task(s).
Re: [Radiant] forms extensions installed, but no Forms tab appears
Jim, when I added "config.gem ..", the app wouldn't start; complained "gem not installed". Which makes sense since there's no vendor/extensions/forms directory. Trying Anna's advice: script/extension install forms fails: "git was compiled without libcurl support". I can't be root on this box. So I tried another installer: git clone git://github.com/squaretalent/radiant-forms-extensionvendor/extensions/forms That seemed happy, and I now have a vendor/extensions/forms directory. Yay! Then: rake radiant:extensions:forms:migrate blew up like this: rake radiant:extensions:forms:migrate (in /home/lindsay/rails_apps/radiant) no such file to load -- radiant-forms-extension /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/lindsay/rails_apps/radiant/config/environment.rb:13 So I look at line 13 in my environment.rb, and it says (comments stripped): Radiant::Initializer.run do |config| config.action_controller.session = { :session_key => '_radiant_session', :secret => 'asdfdferfxcoivswqenadfasdfqewpfioutyqwel' } config.gem 'radiant-forms-extension' [more] More advice please? On Wed, Aug 11, 2010 at 12:42 PM, Jim Gay wrote: > Please reread my previous reply. > > You've installed the gem and that's it. There is nothing telling your > application to use it. > > > On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris wrote: > >> 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 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. >>> >> > > -- > Jim Gay > Saturn Flyer LLC > http://www.saturnflyer.com > 571-403-0338 > -- Lindsay Morris
Re: [Radiant] forms extensions installed, but no Forms tab appears
Does hostgator give you command-line, or shell, access to the server? For extensions to work (last time I looked) you need to run a command-line series of commands. One simple one is, in the rails-root directory, type "script/extension install forms" That will create the forms directory in the vendor/extensions path. then, you want to run: rake radiant:extensions:forms:migrate and rake radiant:extensions:forms:update Anna On Wed, Aug 11, 2010 at 9:42 AM, Jim Gay wrote: > Please reread my previous reply. > > You've installed the gem and that's it. There is nothing telling your > application to use it. > > > On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris wrote: > >> 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 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. >>> >> > > -- > Jim Gay > Saturn Flyer LLC > http://www.saturnflyer.com > 571-403-0338 >
Re: [Radiant] forms extensions installed, but no Forms tab appears
Please reread my previous reply. You've installed the gem and that's it. There is nothing telling your application to use it. On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris wrote: > 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 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. >> > -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] forms extensions installed, but no Forms tab appears
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 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 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 wrote: >> >>> bounced, trying again >>> >>> -- Forwarded message -- >>> From: Lindsay Morris >>> 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 root6 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 shou
Re: [Radiant] forms extensions installed, but no Forms tab appears
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 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 wrote: > >> bounced, trying again >> >> -- Forwarded message ------ >> From: Lindsay Morris >> 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 root6 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 wrote: >> >>> On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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
Re: [Radiant] forms extensions installed, but no Forms tab appears
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 wrote: > bounced, trying again > > -- Forwarded message -- > From: Lindsay Morris > 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 root6 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 wrote: > >> On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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 > > > > > -- > Lindsay Morris > >
Fwd: [Radiant] forms extensions installed, but no Forms tab appears
bounced, trying again -- Forwarded message -- From: Lindsay Morris 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 root6 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 wrote: > On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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 -- Lindsay Morris
Re: [Radiant] forms extensions installed, but no Forms tab appears
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 root6 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 wrote: > On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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 -- Lindsay Morris
Re: [Radiant] forms extensions installed, but no Forms tab appears
Hello, Can you please describe steps of how you have installed radiant-forms-extension? Which version of Radiant you are using? On 8/5/10, Jim Gay wrote: > On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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 > -- Regards, Mamed Mamedov
Re: [Radiant] forms extensions installed, but no Forms tab appears
On Wed, Aug 4, 2010 at 3:32 PM, lmorris99 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
[Radiant] forms extensions installed, but no Forms tab appears
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?