search for: gem_home

Displaying 20 results from an estimated 53 matches for "gem_home".

2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi, I''ve been doing most of my initial playing with rails on a windows system - but wish to switch to a dedicated linux box for this. Are there any particular distro''s to avoid / recommend. I prefer debian for my other stuff, but thought i''d ask before going ahead. :) Cheers -- Posted via http://www.ruby-forum.com/.
2008 Apr 15
4
Version Control (and gems)
...But it might be safer. Do we have a utility that will generate a script to re-fetch the gems at the exact version numbers I''m using now? I can easily put plugins in the VC system, but gems are in a different place. I suppose I could create some sort of link from my working directory to GEM_HOME or even to the places on GEM_PATH but that seems like a pain. QUESTION: So what are the best practices for version control and gems? And does the answer change if I use git instead of svn? (And is one really better than the other for rails projects?) F --~--~---------~--~----~------------~----...
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all: i am using gem to insall rails 2.3.3 and using $rails myapp to generate my application, but strangely i can''t use the number_helper below is my env: export RUBY_HOME=$HOME/ruby export GEM_HOME=$HOME/gems export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/ site_ruby/1.8 export PATH=$HOME/gems/bin:$HOME/ruby/bin: and: $ locate number_helper.rb /home/lobatt/gems/gems/actionpack-2.3.3/lib/action_view/helpers/ number_helper.rb and i didn''t modify the file under config...
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
...require.rb:45:in `require'': cannot load such file -- unicorn/launcher (LoadError) from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems /core_ext/kernel_require.rb:45:in `require'' from /usr/bin/unicorn:3:in `<main>'' Could it be because if my GEM_HOME and GEM_PATH are different? $GEM_PATH /usr/local/rvm/gems/ruby-2.0.0-p247:/usr/local/rvm /gems/ruby-2.0.0-p247@global $GEM_HOME /usr/local/rvm/gems/ruby-2.0.0-p247 Any help would very much appreciated. -- You received this message because you are subscribed to the Google Groups "Ruby on...
2007 Feb 05
4
rubgems in user directory - HELP!
...rails" I get this error: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Permission denied - connect(2)(Errno::EACCES) I''ve changed my $PATH to include the gem installation dir, I have my $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set the $GEM_HOME path to my gem repository. is it possible to be completely unable to install ROR on a hosting company server because of lack of permissions? or am I missing something? please help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the...
2005 Dec 23
0
RE: Maintaining a Dev and a QA environment
...too. With enough memory, I can run a QA system, or a full production simulation - multiple web server, multiple app servers, database servers. Just don''t run any performance tests! The problem with trying to run a QA system on the same box as a dev configuration is that, with all these GEM_HOME and other configurations, is this really the same as the QA or production machine is running? The further away you get from what you want, the less useful the process becomes. -----Original Message----- From: Matthew Beale [mailto:mixonic-8rZIAEcCR/xWk0Htik3J/w@public.gmane.org] Sent: Friday, D...
2006 Dec 21
0
how does capistrano get the ENV?
I don''t have the same environment variables with a capistrano task as I do with a conventional ssh session. When I ssh in and try "env" I see my GEM_HOME and GEM_PATH environment variables from my ~/.bash_profile (I also have a .gemrc file). But when I try "cap shell" and "env" I don''t see the GEM_HOME and GEM_PATH environment variables. How do I force capistrano to pick up the shell environment variables when it runs?...
2008 Jun 09
0
Error when executing "rake db:migrate" with frozen Rails 2.1.0 on Media Temple
...["domain.com"] [domain.com] executing command command finished * executing "cd /home/0000/containers/rails/babylon/releases/ 20080608045457; PATH=$PATH:/home/0000/data/rubygems/bin:/home/0000/ data/rubygems/gems/bin RUBYLIB=/home/0000/data/rubygems/local/lib/ site_ruby/1.8 GEM_HOME=/home/0000/data/rubygems/gems rake RAILS_ENV=production db:migrate" servers: ["domain.com"] [domain.com] executing command *** [err :: domain.com] rake aborted! *** [err :: domain.com] undefined method `collect'' for nil:NilClass *** [err :: domain.com] *** [err :: d...
2013 Feb 01
0
rake db:migrate failing against oracle
...db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:migrate rake aborted! Table schema_migrations does not exist arjdbc/jdbc/RubyJdbcConnection.java:126:in `columns'' c:/temp/brownbag/gem_home/gems/activerecord-jdbc-adapter-1.2.5/lib/arjdbc/oracle/adapter.rb:358:in `ora_columns'' c:/temp/brownbag/gem_home/gems/activerecord-3.2.11/lib/active_record ... ---- If I switch my database.yml file to the original slite3 that rails auto generates all is fine. If I place the following in...
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in my Apache log. It seems that it is choking on the gems replacement for require. The relevant lines from /var/log/apache2/error.log: /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from
2011 Apr 18
2
rubygems fail - require hpricot!
...rs/Anush/.rvm/gems/ruby-1.9.2-p180/bin:/Users/Anush/.rvm/gems/ruby-1.9.2-p180@global/bin:/Users/Anush/.rvm/rubies/ruby-1.9.2-p180/bin:/Users/Anush/.rvm/bin:$PATH" rvm_path=''/Users/Anush/.rvm'' export rvm_path RUBY_VERSION=''ruby-1.9.2-p180'' export RUBY_VERSION GEM_HOME=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180'' export GEM_HOME GEM_PATH=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180'' export GEM_PATH MY_RUBY_HOME=''/Users/Anush/.rvm/rubies/ruby-1.9.2-p180'' export MY_RUBY_HOME IRBRC=''/Users/Anush/.rvm/rubies/ruby-...
2010 Dec 11
2
Problem using rvm in bash script
...b" gem: "/usr/local/bin/gem" rake: "/usr/bin/rake" environment: PATH: "/home/colinl/bin/piglet:/home/colinl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/colinl/.rvm/bin:/home/colinl/.rvm/bin" GEM_HOME: "" GEM_PATH: "" MY_RUBY_HOME: "" IRBRC: "" RUBYOPT: "" gemset: "" Which is not right at all, it being the same as i get if I enter rvm info without preceding it with rvm use. Google has not...
2010 Mar 26
6
installing ActionMailer from Rails 3?
Hi I''d like to use the new ActionMailer that comes with Rails 3, for a email reminder program I am writing. I am pretty new to Ruby, and would like to know how I can gem install this pre-release version, so I can start using it. Thanks for the help :) Alex -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups
2005 Dec 18
8
Invoking Rails from an API
Hi, I am trying to use ruby int an embedded web server. The environment does not have the luxury of CGI or WebBrick. I find limited documentation on how to get this to work. As a test program on windows, I tried the code in the section below. I have the issues. 1. Is public/dispatch.rb the right script to invoke a rails app? If so, what is the right way to invoke dispatch.rb? 2.
2009 Jan 21
5
Runner suddenly fails...
I have some jobs running through cron jobs and runner that suddenly starts failing. This is how it looks: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/runner.rb:47 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from
2009 Nov 23
1
xrcise not working
...t;'' wxFormbuilder 3.0 wx_sugar version 0.1.22 wxruby-ruby19-2.0.1-x86-linux wx_sugar-0.1.22 Ubuntu version 9.10 (Karmic Koala) =============== .bashrc file ======================================== PATH=/opt/bin:/home/myhome/gems/bin:$PATH LD_LIBRARY_PATH=/opt/lib:$LD_LIBRARY_PATH export GEM_HOME=/home/myhome/gems How do I make xrcise work properly? Thanks. - Philip _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
Using Ruby 1.8.7, Rails 2.3.8. I don''t want it to verify the cert... This is my backtrace: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed): httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect'' httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect'' httpclient
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
...8/rubygems/cmd_manager.rb:94:in `process_args'' from /opt/local/lib/ruby/vendor_ruby/1.8/ rubygems/cmd_manager.rb:67:in `run'' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_runner.rb:13:in `run'' from /opt/local/bin/gem:17 Adding GEM_PATH and GEM_HOME variables to ~/.profile didnt work either: export PATH=/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:$PATH export RUBYLIB=/opt/local/lib/ruby/site_ruby/1.8:/opt/local/lib/ruby/1.8 export GEM_PATH=/opt/local/lib/ruby/gems/1.8 export GEM_HOME=/opt/local/lib/ruby/gems/1.8 Darwin Ports is ins...
2007 Nov 05
4
mongrel not finding correct ruby path
hello all, i have been trying to figure this out for the last few hours, and after seemingly exhausting all the google search results, i figured i would try this mailing list... i just updated the ruby version on my ubuntu dapper drake box to the most recent version. i installed it into /usr/local/bin problematically, the previous installation was in /usr/bin mongrel still complains that:
2011 Apr 27
6
rubygems (LoadError)
I''m trying to set up a cron job with a runner that calls a method in one of my models. I''m using javan''s whenever gem to do this and I''m running CentOS on my server. Whenever the cron executes though I''m getting the following error: `require'': no such file to load -- rubygems (LoadError) The method uses the ''mail'' and