Displaying 20 results from an estimated 100000 matches similar to: "How do I update the Gem Environment for "EXECUTABLE DIRECTORY""
2010 Feb 02
0
How to set RUBY EXECUTABLE path in Ruby Gems Environment
I have ruby 2 version in my Mac which are 1.8.6 and 1.8.7.
I would like to set Rubygems environment to point to Ruby 1.8.7.
Anyone know this issure????
ubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [universal-
darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/
2011 Dec 04
10
bash: rails: command not found
Hey,
I''ve checked my gems env, appears to be fine.
Is there anything else I can check to see why it is not recognising the
Rails command?
I have read a number of post and they all seem to point back to PATH.
BTW: Using Ubuntu OS.
Cheers,
James
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2012 Feb 01
2
How do I install this gem?
I''m trying to figure out how I can setup my own forums using Ruby, but I
can''t get passed installing "nifty-generators"... I haven''t a clue how
to install the gems... Please tell me what I''m doing wrong?
I open the command prompt, I type in :
gem install nifty-generators
And this is what I get:
Successfully installed nifty-generators-0.4.6
1 gem
2010 Jun 08
2
gem install mysql giving error on linux
Hi,
I have mysql installed on linux. Whenever I am trying t
"gem install mysql -- --with-mysql-dir=/usr/bin/mysql"
I am getting following error:-
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb --with-mysql-dir=/usr/bin/mysql
checking for mysql_ssl_set()... ***
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
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for
2011 Feb 10
0
Eeepub gem warnings?
I am using the fabulous eeepub gem to convert a folder full of HTML
files into a valid epub package. It works swimmingly, except I get the
following errors with each turn of my loop:
Minogue_0089 split into chapters...
/opt/local/lib/ruby/gems/1.8/gems/eeepub-0.6.1/lib/eeepub/
container_item.rb:19: warning: instance variable @depth not initialized
2010 Feb 12
1
Why does config.gem mess up migration?
I was working this morning, trying to clean up my project and I did
something that sent migrations to hell-in-a-hand-basket.
I tried to run rake db:migrate --trace I got the following error msg:
(in /Users/richardmartin/NetBeansProjects/ReTrace)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table
2010 Jun 15
0
config.gem hassles (again)
Just when i think i''ve got my head around including gems with gem.config
in my environment.rb file i hit another hurdle. The latest one involves
redlcoth, which one of my plugins needs.
my installed redcloth gem is in this folder:
/var/lib/gems/1.8/gems/RedCloth-4.2.2/
and its main lib folder is called ''redcloth''.
I managed to freeze it into my app by calling
2010 Feb 26
0
ruby script/cucumber -tags producing a gem error
When I do "ruby script/cucumber" the tests run no issues. When I do
the same thing but -tags tag_name I get a gem version error:
Where is it coming from and why??
Using the default profile...
RubyGem version error: rack(1.0.1 not = 1.1.0)
(Gem::LoadError)
F:/BACKUP/Backup/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error''
2010 Jan 19
5
Rubyzip gem installed but not recognised
Hi,
I have installed rubyzip successfully(see output below)
Successfully installed rubyzip-0.9.1
1 gem installed
Installing ri documentation for rubyzip-0.9.1...
Installing RDoc documentation for rubyzip-0.9.1...
if I put config.gem ''rubyzip'' in environment.rb and then run rails it
fails to load rubyzip .. see below
george@geolaptop:~/Dropbox/git/paua$ ruby script/server
=>
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found
(http://blog.complitech.net/web-services-basics-ruby-on-rails/) using
the rails version 2.3.4, the web service is already working, but when
working on a version Previous:
RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION
I can not run the service.
On the previous page, there''s a part that says:
3)
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody,
I''m trying to use the prawn gem into a new rails3 application on debian.
What I did:
As root:
- install rubygems, from
http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
- gem install rails
- gem install prawn
- gem install pdf-reader
- gem list | grep prawn =>
prawn (0.8.4)
prawn-core (0.8.4)
prawn-layout (0.8.4)
2010 May 11
1
Gem::Dependency#version_requirements is deprecated...
Seen when running scripts/console, Ruby version not important.
What is this telling me?
Loading development environment (Rails 2.3.5)
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
deprecated and will be removed on or after August 2010. Use
#requirement
Checking gem_dependency.rb shows:
118: def requirement
2010 Sep 24
0
I cant update gem more than 1.3.5 on Ubuntu
I try many ways to update
1.use ruby setup.rb in /gem1.3.7dir did not work
show text
NOTE:
http://rubygems.org is now the default source for downloading gems.
You may have sources set via ~/.gemrc, so you should replace
http://gems.rubyforge.org with http://rubygems.org
http://gems.rubyforge.org will continue to work for the forseeable
future.
New features:
.
.
.
2.Try RVM cant connect to
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
2013 Apr 17
1
I have done my first open source project, star rating gem for rails apps
Hello,
Along back I''ve been developing my very first open source project and
finally decided to publish it. It is a star rating system for rails
applications. It works basically like the other systems but I used
different javascript plugin and added some other features such as ability
to re-rate user''s ratings, support for long IDs of users etc etc
GitHub repository
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
2011 Apr 04
0
issue installing gem Capybara on Debian5 w ruby 1.9.2 ( Rails 3.0.5) => installing native extension
On this server I already installed it in the gemsets for Ruby 1.8.7
and Rails 2.3.11 without any problem ...
but trying (many times .. ) to install in Ruby 1.9.2 (Rails 3.0.5)
raises an error ... It''s not related to the gem itself as the gem
doesn(t build any native extension .. but to one dependency...
I don''t know where to start looking for ...
here is the log message :