Displaying 20 results from an estimated 2000 matches similar to: "Gem::FilePermissionError"
2010 Apr 19
0
Gem::FilePermissionError on "rails:freeze:gems" task
My understanding is that the "rails:freeze:gems" task copies the Rails
source into the application''s vendor directory. Which is why I find
the following error surprising and confusing, because the task should
not involve writing to system files or directories:
% rake rails:freeze:gems
(in /Users/tallen/apps/pnc)
Freezing to the gems for Rails 2.3.5
rm -rf vendor/rails
mkdir -p
2008 Mar 31
1
problem in installlation of ferret search plugin in rails application
When i went to installation ferret in my rails application then i have
faced a problem that is look like this
ERROR: While executing gem ... (Gem::FilePermissionError)
You don''t have write permissions into the /var/lib/gems/1.8
directory.
i used this command for ferret install
sudo gem install ferret
--~--~---------~--~----~------------~-------~--~----~
You received this message
2010 May 24
6
Problem Installing Rails 3
I''m trying to install Rails 3 on a brand new MacBook Pro running OS X
10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I''m wondering if I''ve hosed
myself. So far, I''ve run these commands:
$ gem update --system
$ gem install arel tzinfo builder memcache-client rack rack-test rack-
mount erubis mail text-format thor bundler i18n
$ gem install rails --pre
However, when I
2012 Nov 05
0
Error while installing GEM sqlite3
Hello out there. I am learning Ruby on Rails, and while trying to install
the sqlite3 GEM I got the error below (it is under Win 7):
D:\My Documents\workspace\first_app>gem install sqlite3 -v ''1.3.5''
Successfully installed sqlite3-1.3.5-x86-mingw32
1 gem installed
Installing ri documentation for sqlite3-1.3.5-x86-mingw32...
Installing RDoc documentation for
2012 Jul 04
1
How to use wheneverize gem
Hi all i''m trying to use wheneverize gem to schedule my mails and to run a
specific file in controller.i tried but unable to send mails. i am using
rails 2.3.8 and ruby 1.8.7 . ive followed the
https://github.com/javan/whenever this link
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this
2010 Dec 15
3
Spreadsheet gem character encoding
Hi everybody
I''am working on a Rails app (using utf-8) in which I use the Spreadsheet
gem to generate Excel files (.xls in my case).
I ran into some issues when trying to write foreign characters to the
generated Excel-File.
The solution I found so far is to use Iconv like this:
Iconv.conv(''ISO-8859-9'', ''utf-8'', some_string)
This works fine with for
2010 Jun 10
4
gem update fails on make sqlite3
Anyone have any idea how to interpret this? I''ve been at it for an
hour and I''m not getting anywhere. Doesn''t seem to be any other
instances of this online either.
User: root
OS: CentOS 5.4 (up to date as of 20100610 06:30)
Rails -v: 2.3.8
Gem -v: 1.3.6
<code>
# gem update
Updating installed gems
Updating sqlite3-ruby
Building native extensions. This could
2013 Sep 20
3
having problem to install the gem `mysql`
I am having problem to install the gem `mysql`.
kirti@kirti-Aspire-5733Z:~$ gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/home/kirti/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for mysql_query()... -lmysqlclient
checking for main() in -lm... yes
checking for mysql_query()...
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave
following error message.
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
2012 Aug 07
3
Barcode Generating With Label On Canvas by using Barby gem
********UNDEFINED METHOD REGISTER ERROR IN THE FALLOWING CODE *******
Hi all,
I am trying to generate barcode(including its name as label at the
bottom of barcode image for easy understand with out scanning by barcode
scanner).
For this I am Using barby, chuncky_png, rmagick gems.
I am using the fallowing code to generate label at bottom of image by
using rmagick gem:
gem
2010 May 25
1
rake rails:freeze:gems bug in rails 2.3.5?
Hi All,
Not sure if this is a bug or expected behavior.
I''ve pasted my log below, but basically the first time that I run
rake rails:freeze:gems, I get action* all unpacked into app/vendor/
rails.....the 2nd time I run it? I only get vendor/railties/*
Something I''ve done wrong?
Thanks,
Dale
---- log -----
~/cygwin/test$ rake rails:freeze:gems
(in C:/Documents and
2008 Jan 27
2
Thunderbird Problem - What causes this?
Strange problem and I'm not sure what's causing it. I'm using IMAP. A
new message arives in the inbox. I see it displayed in the message list
in bold. I click on the message and it looks like it's reading it by the
previous message that was in the window remains and the new message is
still bold (unread). However I can then click on an old message and then
click on the new
2009 Nov 23
3
Vacation message with Sieve
Hello all,
I am trying to get my vacation messages to work correctly. In general it
works like how I want, and replies when a message is arived to for
example info at domain.com, but I have some problems to get my vacation
message to work on catch-all boxes. Is there an option to for example
auto-reply on every mail that is sendto @domain.com?
I am using Ubuntu 9.10 default packages, which
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2010 Aug 03
7
rails 2.3.8 and html_safe
Hi,
Can somebody update me on the state of html_safe strings in rails 2.3.8?
I know rails 2.3.6 and 2.3.7 broke a lot of code because strings were
being escaped when they shouldn''t have been and I thought this was all
fixed in 2.3.8.
I''m upgrading an app from 2.3.5 to 2.3.8 and there are many spots where
previous code was output correctly and now it expects html_safe method
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody,
Please any one help me, Previous two day''s I am googling, Still not
find solution. this really frustrating.
I had deploy my app on heroku http://radiationn.heroku.com/. it is
working fine on localhost but i got APPLICATION ERROR.
IN log wht i find that in photo.rb model not able to find
"has_attached_file", I am not able to shout out this proble. It
working
2010 Jul 18
3
Passenger configuration
Hello Experts,
I am developing a site that will be deployed on dreamhost.
My Development environment is as followed.
Development
H:\mywork\QMed\KIMS_banglore\rails_apps\kims_sachin2.0>ruby script/
about
About your application''s environment
Ruby version 1.8.6 (i386-mingw32)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.8
2010 Jul 19
16
Strange Error undefined method `show' for # see no way to debug, suggestions?
I changed fairly much in my app without constant testing ( my bad )
now i get an error which I cannot seem to debug point my finger on.
I have a home controller which just displays a welcome page this had a
index only action.
Whatever controller I try to open i always get above error message
ActionView::TemplateError (undefined method `show'' for
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one .
Please it is urgent to me.
D:\raj\tweasier>rake db:migrate --trace
(in D:/raj/tweasier)
DEPRECATION WARNING: Rake tasks in
vendor/plugins/open_flash_chart_2/tasks, vend
or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated.
Use lib
/tasks instead. (called from
2011 Feb 25
7
Rspec2 for rails 2.3.8?
Hi experts,
I picked up a copy of the rspec book and wrote some tests in spec/lib
and spec/models for my Rails 2.3.8 code.
I was using rspec 2.5.1, rspec-core 2.5.0, rspec-expectations 2.5.0 et.
al.
But I realised that the rspec-rails version I am using is meant for
Rails3.
Which version of rspec-rails should I use for Rails 2.3.8?
Best,
Radhesh
--
Posted via http://www.ruby-forum.com/.