Hello, I posted this issue on http://railsforum.com without getting an answer yet. I can''t create a specific version of rails on ubuntu OS. Can anyone help me, please? I have multiple versions of rails: $ gem list rails *** LOCAL GEMS *** rails (2.3.3, 2.2.2, 1.2.6) When I invoked... $ rails _1.2.6_ helloApp $ ls _1.2.6_ helloApp As you notice, instead of giving me rail version 1.2.6, it created two applications: _1.2.6_ rails project and helloApp rails project. My environment is Ubuntu 9.04 64 bit - Jaunty Jakalope. Strangely speaking, I could create rails _1.2.6_ without this issue on my other Windows machine. Any hints for me? -- Susan -- Posted via http://www.ruby-forum.com/.
Marnen Laibow-Koser
2009-Aug-19 22:52 UTC
Re: rails _x.x.x_ <appname> doesn''t work on ubuntu
Susan Sk wrote:> Hello, > > I posted this issue on http://railsforum.com without getting an answer > yet. > > I can''t create a specific version of rails on ubuntu OS. > Can anyone help me, please? > > I have multiple versions of rails: > > $ gem list rails > *** LOCAL GEMS *** > rails (2.3.3, 2.2.2, 1.2.6) > > When I invoked... > $ rails _1.2.6_ helloApp > $ ls > _1.2.6_ helloApp > > As you notice, instead of giving me rail version 1.2.6, it created two > applications: _1.2.6_ rails project and helloApp rails project. > My environment is Ubuntu 9.04 64 bit - Jaunty Jakalope.Interesting. I just tested this on my Ubuntu 9.04 box and it worked as expected. Sometimes I understand this sort of issue can indicate installation problems. What versions of gem and Ruby are you using? And as a separate issue, why are you trying to create a new app with such an old version of Rails? Or is this simply for testing? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
It''s for testing.
Here is my gem environment:
$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.8
- /home/hjie/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
Thanks for your help!
Susan
Marnen Laibow-Koser wrote:> Susan Sk wrote:
>> Hello,
>>
>> I posted this issue on http://railsforum.com without getting an answer
>> yet.
>>
>> I can''t create a specific version of rails on ubuntu OS.
>> Can anyone help me, please?
>>
>> I have multiple versions of rails:
>>
>> $ gem list rails
>> *** LOCAL GEMS ***
>> rails (2.3.3, 2.2.2, 1.2.6)
>>
>> When I invoked...
>> $ rails _1.2.6_ helloApp
>> $ ls
>> _1.2.6_ helloApp
>>
>> As you notice, instead of giving me rail version 1.2.6, it created two
>> applications: _1.2.6_ rails project and helloApp rails project.
>> My environment is Ubuntu 9.04 64 bit - Jaunty Jakalope.
>
> Interesting. I just tested this on my Ubuntu 9.04 box and it worked as
> expected. Sometimes I understand this sort of issue can indicate
> installation problems. What versions of gem and Ruby are you using?
>
> And as a separate issue, why are you trying to create a new app with
> such an old version of Rails? Or is this simply for testing?
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
--
Posted via http://www.ruby-forum.com/.
Hello, I had the same problem using Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) I solved it moving the rails version (2.1.0) "frozen" in: /usr/share/rails to an other folder (/usr/share/rails_bak) and copying rails version 2.2.2 in /usr/share/rails. I hope that it can help you, See you, On Aug 20, 5:21 pm, Susan Sk <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello, > > I posted this issue onhttp://railsforum.comwithout getting an answer > yet. > > I can''t create a specific version of rails on ubuntu OS. > Can anyone help me, please? > > I have multiple versions of rails: > > $ gem list rails > *** LOCAL GEMS *** > rails (2.3.3, 2.2.2, 1.2.6) > > When I invoked... > $ rails _1.2.6_ helloApp > $ ls > _1.2.6_ helloApp > > As you notice, instead of giving me rail version 1.2.6, it created two > applications: _1.2.6_ rails project and helloApp rails project. > My environment is Ubuntu 9.04 64 bit - Jaunty Jakalope. > > Strangely speaking, I could create rails _1.2.6_ without this issue on > my other Windows machine. > Any hints for me? > > -- > Susan > -- > Posted viahttp://www.ruby-forum.com/.
2009/8/19 Susan Sk <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > It''s for testing. > > Here is my gem environment: > $ gem environment > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.1 > - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > - INSTALLATION DIRECTORY: /var/lib/gems/1.8 > - RUBY EXECUTABLE: /usr/bin/ruby1.8 > - EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86_64-linux > - GEM PATHS: > - /var/lib/gems/1.8 > - /home/hjie/.gem/ruby/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > - http://gems.rubyforge.org/ > > > Thanks for your help! > > > SusanIt is ok for me on ubuntu 8.10, though I was forcing version 2.2.2 as I do not have earlier version installed. I have rubygems version 1.3.3 (yours is 1.3.1) it might be worth updating that. Colin> > Marnen Laibow-Koser wrote: >> Susan Sk wrote: >>> Hello, >>> >>> I posted this issue on http://railsforum.com without getting an answer >>> yet. >>> >>> I can''t create a specific version of rails on ubuntu OS. >>> Can anyone help me, please? >>> >>> I have multiple versions of rails: >>> >>> $ gem list rails >>> *** LOCAL GEMS *** >>> rails (2.3.3, 2.2.2, 1.2.6) >>> >>> When I invoked... >>> $ rails _1.2.6_ helloApp >>> $ ls >>> _1.2.6_ helloApp >>> >>> As you notice, instead of giving me rail version 1.2.6, it created two >>> applications: _1.2.6_ rails project and helloApp rails project. >>> My environment is Ubuntu 9.04 64 bit - Jaunty Jakalope. >> >> Interesting. I just tested this on my Ubuntu 9.04 box and it worked as >> expected. Sometimes I understand this sort of issue can indicate >> installation problems. What versions of gem and Ruby are you using? >> >> And as a separate issue, why are you trying to create a new app with >> such an old version of Rails? Or is this simply for testing? >> >> Best, >> -- >> Marnen Laibow-Koser >> http://www.marnen.org >> marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > -- > Posted via http://www.ruby-forum.com/. > > > >