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-/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 https://groups.google.com/groups/opt_out.
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<http://docs.rubygems.org/read/chapter/3>i.e.- /home/username/myapp Thanks, Himanshu On Sat, Aug 18, 2012 at 3:59 AM, Admin Tensor <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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-/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 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-/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 https://groups.google.com/groups/opt_out.
On 17 August 2012 23:29, Admin Tensor <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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.)An app written for rails 3.2.1 will not run on 3.1.3, so you must also find a solution to that problem. A server provider that supports Rails must provide a mechanism for you to use the gems you need, but this will vary dependent on the tools used by that provider. You must ask the provider how to solve your problems. If the provider does not actively support rails then you need to move to a different provider. Heroku is used by many for rails deployment and is free for small applications. Colin -- 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 https://groups.google.com/groups/opt_out.
Hi guys, Thanks for your replies. I don''t have shell access to the Ruby and gems on the website, so modifying PATH is very difficult. Also, I cannot modify where Ruby gems find their paths. I am wondering if there is a path that we can specify in the rails files themselves (which I can do). So Rails 3.2.1 will not run on 3.1.3? Should I downgrade my PC rails version then? I just checked the Heroku site but it is unclear what is provided for free (small) applications. For now, I am just trying Rails. 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-/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 https://groups.google.com/groups/opt_out.
On 18 August 2012 14:28, Admin Tensor <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi guys, > > Thanks for your replies. I don''t have shell access to the Ruby and gems > on the website, so modifying PATH is very difficult. Also, I cannot > modify where Ruby gems find their paths. I am wondering if there is a > path that we can specify in the rails files themselves (which I can do). > > So Rails 3.2.1 will not run on 3.1.3? Should I downgrade my PC rails > version then?No, you should use a provider that supports rails properly. The tutorial at railstutorial.org (which is free to use online) would give you a good introduction to rails, and includes deploying an app at heroku. Colin> > I just checked the Heroku site but it is unclear what is provided for > free (small) applications. For now, I am just trying Rails. > > 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-/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 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-/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 https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1072752:> No, you should use a provider that supports rails properly. The > tutorial at railstutorial.org (which is free to use online) would give > you a good introduction to rails, and includes deploying an app at > heroku. > > ColinThanks for your pointer. I will check it out. I followed the video tutorial on railsinstaller.org, and they use Engine Yard, which I don''t want to use as they provide only 500 hours free. 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-/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 https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- git push heroku master error
- How install libv8 (therubyracer) Windows 7
- An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
- No Migration Files are created
- PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?