Hy!
I have the following problem;
In config/environment.rb i have config.gem ''wysihat-engine''
(or anny
other gem)
When i "rake gems:install"
(in /home/user/rails_apps/res-test)
gem install wysihat-engine
Successfully installed wysihat-engine-0.1.13
1 gem installed
Installing ri documentation for wysihat-engine-0.1.13...
Installing RDoc documentation for wysihat-engine-0.1.13...
But app won''t start;
---------------------------------------------------
tail log/mongrel.log
** Starting Mongrel listening at 0.0.0.0:12005
** Starting Rails with development environment...
Missing these required gems:
wysihat-engine
You''re running:
ruby 1.8.7.173 at /usr/bin/ruby
rubygems 1.3.7 at /home/user/ruby/gems, /usr/lib/ruby/gems/1.8
Run `rake gems:install` to install the missing gems.
---------------------------------------------------
gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2009-06-08 patchlevel 173) [i686-linux]
- INSTALLATION DIRECTORY: /home/user/ruby/gems
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /home/user/ruby/gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/user/ruby/gems
- /home/user/gems
- /usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gempath" => ["/home/user/gems",
"/usr/lib/ruby/gems/1.8"]
- "gem" => "--remote --gen-rdoc --run-tests"
- "gemhome" => "/home/user/ruby/gems"
- "rdoc" => "--inline-source --line-numbers"
- REMOTE SOURCES:
- http://rubygems.org/
---------------------------------------------------
ls /home/user/ruby/gems/gems/
calendar_date_select-1.16.1 ruby-openid-2.1.7 wysihat-engine-0.1.13
---------------------------------------------------
But when i rake gems:unpack
(in /home/user/rails_apps/res-test)
gem install wysihat-engine
Successfully installed wysihat-engine-0.1.13
1 gem installed
Installing ri documentation for wysihat-engine-0.1.13...
Installing RDoc documentation for wysihat-engine-0.1.13...
Unpacked gem:
''/home/user/rails_apps/res-test/vendor/gems/wysihat-engine-0.1.13''
The app works like a charm!
So when in vendor/gems there is no prob, but in the default location
/home/user/ruby/gems they are invisible..
Any advice would be appreciated!
Regards,
Wim
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.