Hi Rails group.... (new to Rails/ruby, so please excuse if this is dumb
question..)
I have installed Rails, and done some small testing. Had the server up
and running, and I did get the ''default'' page.
Then I installed the ''Aptana Studio RadRails (version RadRails
1.0.1.200803281641NGT). when I launched the Aptana->Rails perspective, a
lots of ruby/rails stuff got installed.
When I create a Rails project (inside Aptana), and try to start the
server (both Webrick and the Mongrel), I get this message:
Cannot find gem for Rails ~>1.2.4.0:
Install the missing gem with ''gem install -v=1.2.4 rails'',
or
change environment.rb to define RAILS_GEM_VERSION with your desired
version.
"1758357710"
If I run the server in the terminal (go to the project, run
script/server) I got the same message. But after a lot of trying,
running this command ''gem install -v=1.2.4 rails'' it installed
a lot of
stuff, and it now works from the terminal. But I get the same error from
the Aptana tool. I have tried to reboot. I''m running Ubuntu 7.10. Have
tried to build new project, after the install, same result.
If I run the gem install again, it just says ''Successfully installed
rails-1.2.4
'', so this version should be installed....
What should I do ??
Regards Jørn
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
open the environment.rb file and edit the line that has rails version. On Apr 30, 1:50 pm, Joern Borup <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi Rails group.... (new to Rails/ruby, so please excuse if this is dumb > question..) > > I have installed Rails, and done some small testing. Had the server up > and running, and I did get the ''default'' page. > > Then I installed the ''Aptana Studio RadRails (version RadRails > 1.0.1.200803281641NGT). when I launched the Aptana->Rails perspective, a > lots of ruby/rails stuff got installed. > > When I create a Rails project (inside Aptana), and try to start the > server (both Webrick and the Mongrel), I get this message: > > Cannot find gem for Rails ~>1.2.4.0: > Install the missing gem with ''gem install -v=1.2.4 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired > version. > > "1758357710" > > If I run the server in the terminal (go to the project, run > script/server) I got the same message. But after a lot of trying, > running this command ''gem install -v=1.2.4 rails'' it installed a lot of > stuff, and it now works from the terminal. But I get the same error from > the Aptana tool. I have tried to reboot. I''m running Ubuntu 7.10. Have > tried to build new project, after the install, same result. > > If I run the gem install again, it just says ''Successfully installed > rails-1.2.4 > '', so this version should be installed.... > > What should I do ?? > > Regards Jørn > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Actually that is a pretty brief answer. in the cmd window type rails -v you probably will see 2.0.2 For some reason, it appears that Aptana thinks you are running rails version1.2.4 which if it existed, only lasted like days until it was replaced due to a bug and Rails 1.2.5 was released. Open Apatana and look in the vendor directory and see if there is a rails directory. This is where Rail would be installed if rails was frozen to version 1.2.4 if so, type rails:unfreeze (that might me wrong, but it is close. Google it) or just delete the rails directory in project/vendor/rails Update Apatana? hope this helps On Apr 30, 3:29 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> open the environment.rb file and edit the line that has rails version. > > On Apr 30, 1:50 pm, Joern Borup <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > Hi Rails group.... (new to Rails/ruby, so please excuse if this is dumb > > question..) > > > I have installed Rails, and done some small testing. Had the server up > > and running, and I did get the ''default'' page. > > > Then I installed the ''Aptana Studio RadRails (version RadRails > > 1.0.1.200803281641NGT). when I launched the Aptana->Rails perspective, a > > lots of ruby/rails stuff got installed. > > > When I create a Rails project (inside Aptana), and try to start the > > server (both Webrick and the Mongrel), I get this message: > > > Cannot find gem for Rails ~>1.2.4.0: > > Install the missing gem with ''gem install -v=1.2.4 rails'', or > > change environment.rb to define RAILS_GEM_VERSION with your desired > > version. > > > "1758357710" > > > If I run the server in the terminal (go to the project, run > > script/server) I got the same message. But after a lot of trying, > > running this command ''gem install -v=1.2.4 rails'' it installed a lot of > > stuff, and it now works from the terminal. But I get the same error from > > the Aptana tool. I have tried to reboot. I''m running Ubuntu 7.10. Have > > tried to build new project, after the install, same result. > > > If I run the gem install again, it just says ''Successfully installed > > rails-1.2.4 > > '', so this version should be installed.... > > > What should I do ?? > > > Regards Jørn > > -- > > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---