Displaying 20 results from an estimated 10000 matches similar to: "Gem::FilePermissionError on "rails:freeze:gems" task"
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
2010 Oct 01
3
Gem::FilePermissionError
while i updating my rails version with command,
gem install -v=2.3.8 rails
i got,
ERROR: While executing gem ... (Gem::FilePermissionError)
You don''t have write permissions into the /usr/lib/ruby/gems/1.8
directory.
how could i solve the problem?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on
2007 Nov 21
3
Cannot freeze gems
Running rake rails:freeze:gems I got the following error:
[root@WiNN-Mesh web_interface]# /usr/local/bin/rake rails:freeze:gems
--trace
(in /usr/sbin/web_interface)
** Invoke rails:freeze:gems (first_time)
** Execute rails:freeze:gems
Freezing to the gems for Rails 1.2.5
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
rake aborted!
uninitialized constant Gem::GemRunner
2007 Nov 26
2
Rails 1.2.6 gem freeze fails with gem 0.9.5 system
Freezing to the gems for Rails 1.2.6
rake aborted!
uninitialized constant Gem::GemRunner
tracing gives:
no such file to load -- /Users/nathany/Sites/boat/oat/config/../vendor/
rails/railties/lib/initializer
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
...
which seems like it may be trying to load the frozen gems before they
are there?
It
2006 Mar 15
1
Samba as non-root?
I have a two-part question. Is it possible to run Samba as a non-root
user? What we want to do, ideally, is to create a user account such as
"samba", and let our applications people log in as the samba user, and do
all the setup and ongoing maintenance. I looked through the stuff on
samba.org but the answer isn't readily apparent to me. This is so they can
allow a few users the
2006 Jan 28
1
Can''t freeze rails on a windows box
Hi,
I''m trying to freeze rails on a windows box and get this message(test is
an rails app):
C:\rails\test>rake freeze_gems
(in C:/rails/test)
Freezing to the gems for Rails 1.0.0
rm -rf vendor/rails
mkdir -p vendor/rails
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name,
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
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
Freezing to 1.2.6 appears to be broken right now for two reasons. My
environment is using rails 1.2.6 and rubygems 0.9.5 Attempting to
freeze to 1.2.6 with this will result in this output & error:
% rake rails:freeze:edge TAG=rel_1-2-6
...
** Invoke rails:freeze:edge (first_time)
** Execute rails:freeze:edge
A vendor/rails/railties
. . .
A vendor/rails/activesupport/MIT-LICENSE
2006 Apr 22
3
freeze_gems not freezing all gems?
Hi,
I am currently experimenting on rake freeze_gems and there is something
I do not understand.
When I freeze_gems my app, it puts Rails in the /vendor/ directory,
which works. But what about all other gems I have installed (for example
Unicode, sqlite support, mysql support and so on)?
The aim of freezing is to be independant of the versions of the ISP, but
it seems that the server still
2006 Apr 04
4
Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode
A lot has been made recently about the need to freeze your gems for
production deployment on a shared server so your application can depend on
it''s own gem version instead of being subjected to whatever gem is installed
on the server, but does this rule of thumb come with an exception?
Architecture dependent gems such as RMagick, Ferret and Unicode have
dependencies that cannot be
2007 Oct 03
2
rails:freeze:edge task is broken [updating to 2.0]
On 10/3/07, Glenn Rempe <glenn.rempe@gmail.com> wrote:
>
>
> You may want to also take a look at this bug report that I filed. I
> had the same problem and running the ''rake rails:freeze:edge
> TAG=rel_2-0-0_PR'' TWO times resolved the issue for me when upgrading a
> 1.2.3 app. Explanation in the bug report.
>
>
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
2006 Mar 29
0
rails 1.1: fix to ''rake rails:freeze:gems''
I''ve noticed that after upgrading rails to 1.1, the ''freeze_gems'' task
fails due to an error.
I have no idea how to submit a fix, but wanted to post it here in case
anyone else is having this issue.
You''ll have to navigate to the folder that is appropriate for your setup:
Go to "/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/tasks"
Open up
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
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this.
require ''fastercsv''
It works fine on my Mac.
I need to freeze this gem into the app though so my rake tasks work on
the production machine.
-----------
I spent about two hours though this weekend trying to get this Gem
"frozen" into the vendor/gems folder. I tried all sorts,
I ...
-
2008 Sep 06
0
Web server won't start after freezing gems
My hosting company recently upgraded their Rails version, so I want to
freeze my app to Rails version 1.2.3. I was able to freeze it
successfully, but when I try to start the server on my local
development environment, I''m confronted with this error:
./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in
`send'': undefined method `install_gem_spec_stubs''
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,
2008 Jun 20
0
Any luck using Rails 2.1 config.gem?
I''ve seen Ticket #92 where a load error in the chronic gem pops up.
In that ticket is a mention of using gemsonrails to freeze gems in
vendor/gems. I am using the built-in functionality in Rails 2.1 to do
that; using the config.gem statement in environment.rb.
However when I do this, those gems are not available to backgroundrb:
ruby script/backgroundrb start
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb
config.gem ''collectiveidea-delayed_job'', :source => ''http://
gems.github.com''
>>gem list | grep coll
collectiveidea-delayed_job (1.8.2)
The gem infact got installed via rake gems:install. but now when I
start my app, it doesn''t recognize the gem being installed. Please
help.
script/generate delayed_job
2008 Jul 26
2
WoW freeze computer
Hi all,
my problem is probably common (I actually asked for help for a similar
problem in the past), but I cannot find any solution.
While I play with World of Warcraft my computer keep freezing (totally,
I have to push the reset button).
I have Kubuntu 8.04 64 Bits and Wine 1.1.2 (but the problems started
with the 0.9.59 and all the versions afterward) on a an Intel Core 2 Duo
E6700, 2GB RAM,