Hi all i am trying to start my app and i got this error how to solve it
= Booting WEBrick
= Rails 2.3.8 application starting on http://0.0.0.0:3000
/usr/local/lib/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate
activesupport (= 2.3.14, runtime) for [], already activated
Hi,
I am using devise for my user management. I am using angular js for my
UI. I have folder structure like this for html: app/assets/partials/
I have added index.html.erb file over it. Now when I am going to access
like this: %= current_user % I am getting error like: NameError
(undefined
my gem list
actionmailer (2.3.8)
actionpack (2.3.8)
activerecord (2.3.14, 2.3.8)
activeresource (2.3.8)
activesupport (2.3.14, 2.3.8)
declarative_authorization (0.5.5)
mysql (2.8.1)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format (0.2.3)
prawn-layout (0.3.2)
prawn-security (0.1.1)
rack (1.1.3)
rails
Hi ,
Already in your machine 2.3.8 rails version installed,you want to run
2.3.14 rails application.
1.You have to uninstall rails 2.3.8 and install rails 2.3.14 version
gem install rails -v=2.3.14
(Or)
2.Install RVM
https://rvm.io/rvm/install/
Cheers,
Sai
On Thu, Aug 30, 2012 at
Thanks for your reply ive install rails 2.3.14 also and i get the same error
actionmailer (2.3.14, 2.3.8)
actionpack (2.3.14, 2.3.8)
activerecord (2.3.14, 2.3.8)
activeresource (2.3.14, 2.3.8)
activesupport (2.3.14, 2.3.8)
declarative_authorization (0.5.5)
mysql (2.8.1)
prawn (0.6.3)
prawn-core
gem uninstall rails -v=2.3.8
try to run this
On Thu, Aug 30, 2012 at 12:18 PM, sameena Khan emailtosameenak...@gmail.com
wrote:
Thanks for your reply ive install rails 2.3.14 also and i get the same
error
actionmailer (2.3.14, 2.3.8)
actionpack (2.3.14, 2.3.8)
activerecord (2.3.14, 2.3.8)
On 29 August 2012 22:11, Axel Aguilar li...@ruby-forum.com wrote:
thanks for answer (so fast!)
now I have this in the layout file:
%= stylesheet_link_tag'application', :media = all %
%= javascript_include_tag'application', :media = all %
%= csrf_meta_tags %
also tryied:
yes! this is exactly what I mean. And I know this works because I made
it in a static page with the css and js, all out of rails, before. I
can't validate the code now, I will this night, but I don't think the
code can be the problem as long as it works out of rails...
Thanks all to answer :)
--
I was wondering if anybody had any idea if Redcarpet can be convinced
easily to only parse code, paragraphs bold and italic or if there was an
alternate gem that is just as fast that can be controlled to only allow
selective parsing. I've been reading the docs all night and cannot find
any
On 30 August 2012 07:48, sameena Khan emailtosameenak...@gmail.com wrote:
Thanks for your reply ive install rails 2.3.14 also and i get the same error
actionmailer (2.3.14, 2.3.8)
actionpack (2.3.14, 2.3.8)
activerecord (2.3.14, 2.3.8)
activeresource (2.3.14, 2.3.8)
activesupport (2.3.14,
On 30 August 2012 08:53, Axel Aguilar li...@ruby-forum.com wrote:
yes! this is exactly what I mean. And I know this works because I made
it in a static page with the css and js, all out of rails, before. I
can't validate the code now, I will this night, but I don't think the
code can be the
But my other apps are running
this is the only line i have in my config/environment.rb file
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
On Thu, Aug 30, 2012 at 1:33 PM, Colin Law clan...@googlemail.com wrote:
On 30 August 2012 07:48, sameena Khan
Try including js in order like you had before.
# in your application.js
//= require jquery
//= require jquery_ujs
//= require 'foundation.min'
//= require 'app'
//= require 'jquery.foundation.navigation'
//= require 'modernizr.foundation'
//= require 'mijs'
On Thursday, August 30, 2012 4:54:01
my other apps are on 2.3.8 only those are going fine with the same gems
On Thu, Aug 30, 2012 at 2:23 PM, sameena Khan
emailtosameenak...@gmail.comwrote:
But my other apps are running
this is the only line i have in my config/environment.rb file
RAILS_GEM_VERSION = '2.3.8' unless defined?
Docs say you should use Fog gem
https://github.com/jnicklas/carrierwave#using-amazon-s3
And it doesn't matter what storage you chose, local filesystem, S3 or any
other cloud storage.
Your form is submitted and the location of uploaded file, along with other
attributes of the model you are
I'm using rails 3.2.7.
I have few themes in my public/themes folder.
For example in my theme-1 folder
there is one index.html + style.css + few images (if required)
At the time of registration user will select one theme. Now when the
user will login that theme will display. I will
On Thursday, 30 August 2012 05:13:57 UTC-5, Ruby-Forum.com User wrote:
I'm using rails 3.2.7.
I have few themes in my public/themes folder.
For example in my theme-1 folder
there is one index.html + style.css + few images (if required)
At the time of registration user will
Jordon Bedwell wrote in post #1073894:
On Thursday, 30 August 2012 05:13:57 UTC-5, Ruby-Forum.com User wrote:
end
Right now when user login he will redirect to index method and
index.html.erb data display to him with application.html.erb layout.
So how I will display the theme
On Thursday, 30 August 2012 05:26:14 UTC-5, Ruby-Forum.com User wrote:
Jordon Bedwell wrote in post #1073894:
On Thursday, 30 August 2012 05:13:57 UTC-5, Ruby-Forum.com User wrote:
end
Right now when user login he will redirect to index method and
index.html.erb
Jordon Bedwell wrote in post #1073902:
On Thursday, 30 August 2012 05:26:14 UTC-5, Ruby-Forum.com User wrote:
Thx Jordon
But where should I keep my theme1/index.html file
Depending on what it has in it, what I would do is turn it into a
template
in the folder of the controller and
I know HTML and CSS, but I have very little Javascript experience and very
little programing knowlege.( Ruby ) I have decided to learn back-end web
development. I choose Rails over Node.js
So please can you tell me if it would be a good idea to learn Node.js for
or I should learn Ruby on
Go with .php and MySQL programming directly to begin with, incorporating CSS,
JQuery etc. Once you're comfortable with that, have a look at Rails.
Fra: rubyonrails-talk@googlegroups.com
[mailto:rubyonrails-talk@googlegroups.com] På vegne af ACK
Sendt: 30. august 2012 13:07
Til:
On 30 August 2012 12:04, Brynjolfur Thorvardsson bi...@itanet.nu wrote:
Go with .php and MySQL programming directly to begin with, incorporating
CSS, JQuery etc. Once you’re comfortable with that, have a look at Rails.
There is no point a beginner learning php, he may never need it. Just
go
i know ruby basic well, and what about learning other option like node.js
over Rails
On Thu, Aug 30, 2012 at 4:46 PM, Colin Law clan...@googlemail.com wrote:
On 30 August 2012 12:04, Brynjolfur Thorvardsson bi...@itanet.nu wrote:
Go with .php and MySQL programming directly to begin with,
On 30 August 2012 12:24, ANIKET KADAM aniketkadam1...@gmail.com wrote:
i know ruby basic well, and what about learning other option like node.js
over Rails
You said you had very little programming knowledge. As far as rails
vs node.js is concerned it depends on what you want to develop.
Like Colin rightly said, first figure out what you want to develop. If you are
a beginner with no development experience, it doesn't really matter which one
you start with.
Dheeraj Kumar
On Thursday 30 August 2012 at 5:10 PM, Colin Law wrote:
On 30 August 2012 12:24, ANIKET KADAM
i want to develop all type of apps = traditional to Real time
On Thu, Aug 30, 2012 at 5:35 PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote:
Like Colin rightly said, first figure out what you want to develop. If you
are a beginner with no development experience, it doesn't really matter
Like I said, you're a beginner, so it doesn't matter what you start with. What
matters is what you get really good at.
Dheeraj Kumar
On Thursday 30 August 2012 at 5:38 PM, ANIKET KADAM wrote:
i want to develop all type of apps = traditional to Real time
On Thu, Aug 30, 2012 at 5:35 PM,
and what about live streaming in rails 4 can it can be compare with node.js
or espress.js
On Thu, Aug 30, 2012 at 5:47 PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote:
Like I said, you're a beginner, so it doesn't matter what you start with.
What matters is what you get really good at.
Express.js with Node.js gives you the full pack, Im using it plus using
javascript from the backend all to the front end with jQuery, knockout.js
etc, you can have all your infrastructure just in one language.
Also Node.js gives you scalability and performance in the other hand
with *Rails
if
On 30 August 2012 13:26, ANIKET KADAM aniketkadam1...@gmail.com wrote:
Express.js with Node.js gives you the full pack, Im using it plus using
javascript from the backend all to the front end with jQuery, knockout.js
etc, you can have all your infrastructure just in one language.
Also Node.js
sure [?]
On Thu, Aug 30, 2012 at 5:58 PM, Colin Law clan...@googlemail.com wrote:
On 30 August 2012 13:26, ANIKET KADAM aniketkadam1...@gmail.com wrote:
Express.js with Node.js gives you the full pack, Im using it plus using
javascript from the backend all to the front end with jQuery,
and what about live streaming in rails 4 can it can be compare with node.js
or espress.js
On Thu, Aug 30, 2012 at 5:58 PM, Colin Law clan...@googlemail.com wrote:
On 30 August 2012 13:26, ANIKET KADAM aniketkadam1...@gmail.com wrote:
Express.js with Node.js gives you the full pack, Im using
For someone who says that they have very little programing knowlege
you seem to have your mind already made up. Why did you even come here
and ask your question if you already know the answer?
As a side note we use Rails and we do not need Java or Scala to get
things to work. We may not be
sure
On Thu, Aug 30, 2012 at 6:03 PM, Peter Hickman
peterhickman...@googlemail.com wrote:
For someone who says that they have very little programing knowlege
you seem to have your mind already made up. Why did you even come here
and ask your question if you already know the answer?
As a
Make sure whatever you learn finally, use MongoDB with it. It is web scale.
Dheeraj Kumar
On Thursday 30 August 2012 at 6:05 PM, ANIKET KADAM wrote:
sure
On Thu, Aug 30, 2012 at 6:03 PM, Peter Hickman
peterhickman...@googlemail.com (mailto:peterhickman...@googlemail.com)
wrote:
For
yes
On Thu, Aug 30, 2012 at 6:10 PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote:
Make sure whatever you learn finally, use MongoDB with it. It is web scale.
Dheeraj Kumar
On Thursday 30 August 2012 at 6:05 PM, ANIKET KADAM wrote:
sure
On Thu, Aug 30, 2012 at 6:03 PM, Peter Hickman
On Thursday, 30 August 2012 07:41:13 UTC-5, Dheeraj Kumar wrote:
Make sure whatever you learn finally, use MongoDB with it. It is web scale.
Because added complexity on already complex apps means more performance.
Because using a pure Ruby wrapper is faster than C.
Because you can't cluster PG
It was a joke, Jordan. Just messing around with a newbie :)
Link related: http://www.mongodb-is-web-scale.com/
Dheeraj Kumar
On Thursday 30 August 2012 at 6:33 PM, Jordon Bedwell wrote:
On Thursday, 30 August 2012 07:41:13 UTC-5, Dheeraj Kumar wrote:
Make sure whatever you learn finally,
are you people taking me just for GRANTED?
On Thu, Aug 30, 2012 at 6:43 PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote:
It was a joke, Jordan. Just messing around with a newbie :)
Link related: http://www.mongodb-is-web-scale.com/
Dheeraj Kumar
On Thursday 30 August 2012 at 6:33 PM,
On Aug 30, 2012, at 5:24 AM, tundrax wrote:
On Thursday, August 30, 2012 4:29:25 AM UTC+9, Walter Lee Davis wrote:
I just switched a project from Dragonfly to Carrierwave, specifically to see
if I could take advantage of Carrierwave Direct, which uploads large files
directly to S3 or
Hello all,
I'm new to RoR and I'm building my first app.
Is there a most used recipe or procedure to create a Registration/Login
mechanism that gives the ability to register with a set of fields (name,
login, email, password) or use Facebook/Twitter ?
Something that is more or less standard?
I think its safe to say that a web developer has to be ambiguous. and
so learning multiple languages for backend web dev would be optimal. so
your question was if it is a good idea to learn ruby on rails?
absolutely.
--
Posted via http://www.ruby-forum.com/.
--
You received this message
Have a look at Devise, theres a good rails cast on using it.
http://railscasts.com/episodes/209-introducing-devise
Dean
On 30 Aug 2012, at 16:44, Nelson André wrote:
Hello all,
I'm new to RoR and I'm building my first app.
Is there a most used recipe or procedure to create a
On Aug 30, 2012, at 11:51 AM, Dean Chester wrote:
Have a look at Devise, theres a good rails cast on using it.
http://railscasts.com/episodes/209-introducing-devise
Dean
And beaucoup plug-ins like Ominauth to deal with multi-provider authentication.
Walter
On 30 Aug 2012, at 16:44,
thanks
On Thu, Aug 30, 2012 at 9:20 PM, Tak G. li...@ruby-forum.com wrote:
I think its safe to say that a web developer has to be ambiguous. and
so learning multiple languages for backend web dev would be optimal. so
your question was if it is a good idea to learn ruby on rails?
The rspec test looks like this:
require 'spec_helper'
describe Static pages do
describe Home page do
it should have the h1 'Sample App' do
visit '/static_pages/home'
page.should have_selector('h1', :text = 'Sample App')
end
end
end
My controller looks like this:
47 matches
Mail list logo