Hi Rick, > when convenient, take a look at the NetBeans IDE I definitely will as soon as I'm done with this payroll project. I presently use ScitTE because IMHO it's excellent for Ruby. But I can't use it effectively for Rails. I looked at Aptana a little, but on my system the startup is too slow to suit me.
> csv_data_dir = RAILS_ROOT + "/public/data/csv" You're absolutely right on your initial thought: My code doesn't return anything from the .csv files. I posted this issue on another thread express certainty that your suggestion is the correct solution. > I'm in the last stages of correction a typo when I generated a model in this > app: I used a transposition of .csv, viz. .cvs. Being pigheaded, I decided > to correct the app by programatically translating all /[Cc]vs/ instances in > file names and file content to '\1sv". On the final step, I encountered a > permissions problem in changing filenames. When I overcome that, I'll get > back to the file access issue and then the features my client (my son) wants > for this app. Thanks for your extended interest and knowledgeable responses. Best wishes, Richard On Nov 23, 4:19 am, Rick <[EMAIL PROTECTED]> wrote: > Hello Richard, > > I'm voting that you should, when convenient, take a look at the > NetBeans IDE. It does have a startup cost - installation is easy but > it's a feature rich tool with lots of buttons to learn how to push. > It does support multiple RoR environments and each Rails app can be > fairly easily toggled between env. > > Also, I looked at your controller code and I think you might have a > problem with the value for csv_data_dir. I'm not sure where the > relative path stuff (../../) ends up pointing in the InterWeb world. > I'd go for csv_data_dir = RAILS_ROOT + "/public/data/csv". > > Rick > > On Nov 22, 2:50 pm, RichardOnRails > > <[EMAIL PROTECTED]> wrote: > > Hi again, Fred, > > > I just started reading RubyGems Manuals using the URL you provided. > > That's stuff I should have learned a long time ago. Thanks for > > showing me how to get up to speed on RubyGems. > > > Thanks a lot for post that URL. > > > Best wishes, > > Richard > > > On Nov 22, 4:45 pm, Frederick Cheung <[EMAIL PROTECTED]> > > wrote: > > > > On Nov 22, 9:36 pm, "Bill Walton" <[EMAIL PROTECTED]> wrote: > > > > > I'd definitely appreciate a link or two to how to make that work. That > > > > is, > > > > I've never figured out how to specify the 'whole package' of gems that > > > > should be pulled into play for a specific app. And then again there's > > > > the > > > > whole "is this plugin we're using 2.x compatible? thing. I've got three > > > > apps that are running on Rails 1.2.3, 2.0.2, and 2.1 respectively. It's > > > > been a lot easier to set up three distinct IR installs and work on each > > > > app > > > > in the one that contains what it needs. It also debugging easy when I > > > > recently migrated a 1.2.6 app to 2.1. But if there's an easy way to do > > > > the > > > > same thing with one install of Ruby, I'd definitely like to know about > > > > it. > > > > well plugins are a slightly different issue - you just have the > > > appropriate version in vendor/plugins. > > > > If you have a really wide range of rails apps you could end up with > > > problems where the newer stuff needs a recent version of rubygems but > > > the older versions of rails use require_gem which was deprecated and > > > then removed. That aside take a look > > > athttp://www.rubygems.org/read/chapter/4#page71 > > > (with the exception that require_gem has been replaced by gem) > > > > Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---