Yeah - I tried to change the permissions and that allows me to run the
tests, but I can figure out how to get rid of the "uninitialized
constant FasterCSV"

/megl

Paul Lutus wrote:
> bechbox / gmail.com wrote:
>
> > I'm installing FasterCSV (sudo gem install fastercsv) but when I'm
> > using it with Rails I get and "uninitialized constant FasterCSV" error.
> >
> > So - in the gem directory when running rake I get a whole bunch of
> > permission errors like:
> >
> >   1) Error:
> > test_append(TestFasterCSVInterface):
> > Errno::EACCES: Permission denied - ./test/temp_test_data.csv
> >     ./test/tc_interface.rb:16:in `initialize'
> >     ./test/tc_interface.rb:16:in `setup'
> >
> > but when running sudo rake everything is fine.
> >
> > Are the two problems (the Rails error and the permission error) related
> > to each other?
>
> Have you considered changing the permissions to eliminate the error? When
> you find yourself in a situation where everything is fine while borrowing
> root permissions, but things fall apart otherwise, the solution seems
> obvious.
> 
> -- 
> Paul Lutus
> http://www.arachnoid.com