Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:24:40+00:00 2026-05-31T22:24:40+00:00

This is a very odd one and I’m not sure how to proceed. Basically,

  • 0

This is a very odd one and I’m not sure how to proceed.

Basically, I am able to install gems and use them normally within any folder except those created with rails. It’s very very odd. It’s difficult to explain so maybe this console output will explain

    passenger@rubyserve:~/railsapps$ ls
    app  test_application  testing
    passenger@rubyserve:~/railsapps$ rails -v
    Rails 3.2.2
    passenger@rubyserve:~/railsapps$ 
    passenger@rubyserve:~/railsapps$ 
    passenger@rubyserve:~/railsapps$ cd app/
   passenger@rubyserve:~/railsapps/app$ ls -a
   .   app     config.ru  doc      Gemfile.lock  lib  public    README.rdoc  test  vendor
   ..  config  db         Gemfile  .gitignore    log  Rakefile  script       tmp
    passenger@rubyserve:~/railsapps/app$ 
    passenger@rubyserve:~/railsapps/app$ 
    passenger@rubyserve:~/railsapps/app$ rails -v
    The program 'rails' is currently not installed.  To run 'rails' please ask your administrator to install the package 'rails'
    passenger@rubyserve:~/railsapps/app$ 

It makes bugger all sense. When outside my rails folder, I can call rails to make a new application but once within, rails isn’t detected. This is the same for all gems including bundler.

My first thought was that somehow, rails had some specific gem folder hidden away, so I done my gem install from within the rails project, however this didn’t work either.

Any thoughts?


My setup is ubuntu server 10.10 (I know, i know)
Ruby 1.9.2
gem 1.8.17
and I’m using the latest rvm from wayneeseguin.enter code here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:24:41+00:00Added an answer on May 31, 2026 at 10:24 pm

    This type of problem some time occurs i think u can save a lot of time by installing and using RVM

    After installing RVM create gemset directory every time whenever you create separate project. e.g you create application blog first you create gemset directory with giving this command

    rvm gemset create blog
    

    then you should use this gemset directory and also ruby version as well e.g you have install ruby 1.9.2 then use this command

    rvm use ruby-1.9.2@blog
    

    after that go into directory of blog application and install this gem

    gem install bundler
    

    and also then bundle install. so all local gem will be installed into this blog directory under rvm and there will be no conflicts will be appear.But keep one thing in mind if your platform is ubuntu then this will work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is very odd. I've written a windows form tool in C# to return
Very odd problem as this is working perfectly on our old Classic ASP site.
I am doing very simple int division and I am getting odd results. This
Let's make this very easy. What I want: @array = qw/one two one/; my
I'm sorry for this very newbish question, I'm not much given into web development.
I came across this very odd situation, and i thought i would throw it
Right, this is an odd one. We have a web service that returns data
I'm having a very odd issue where I am trying to use a text
This is a strange one as up until very recently this functionality was working
I've just noticed a very odd behaviour with VS2010. At some point since install,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.