Re: [Rails] How to Include Gem in Different Path
Hi Bill,
either you can-
include the path (where your gem is installed) into your system's PATH variable.
OR
install the gem into specified location i.e.- /home/username/myapp
Thanks,
Himanshu
On Sat, Aug 18, 2012 at 3:59 AM, Admin Tensor <lists@ruby-forum.com> wrote:
Hi,
I just tried Ruby on Rails (with RailsInstaller 2.1.0) and it works fine
on my PC. However, when I put this on the website, I got the following
error message:
Could not find multi_json-1.3.6 in any of the sources
(Bundler::GemNotFound)
The problem is that the website has multi_json 1.0.4. The website
allows me to download my own gems, but after the process, it is located
at /home/username/ruby/gems/gems/multi_json-1.3.6, while my rails app is
located at /home/username/myapp.
What is the best way to fix this so that the rails at the website can
find my multi_json gem? Thanks.
(The rails on the website is 3.1.3, while on the PC it is 3.2.1, and the
website does not allow a shell access.)
Regards,
Bill
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home