I am trying to install redmine in my windows 7.
I have installed and executed railsinstaller-2.2.3.exe.
When I tried to run following command
rake generate_secret_token
am getting below error
could not find gem 'rails<=3.2.19> x86-mingw32' in the gems available on this machine
What is this error mean? am new to this? please let me know if anybody knows this
I can suggest to use VirtualBox with linux environment. Otherwise use Bitnami windows installer for redmine https://bitnami.com/stack/redmine/installer
Related
I am trying to run my rails server in new created app, but everytime I wrote
"rails server"
it tells me that i need gem named
"byebug"
and when i try to install this gem this is result: imgur.com
I had the rails server before but I reinstalled my pc and now I can't run it. I have 64bit windows 10.
I tried reinstall every rails spiece include mysql and nothing have changed.
Can anyone help me please?
You error messages states "run bundle install to install missing gems". On your prompt type "bundle install" and hit enter. This should work.
Since you are using Windows for Ruby on Rails development. You need to properly configure all the dependencies as the error shows.
Install or update your development kit, that serve as the building tools in Windows.
please follow the instructions here:
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
Having some trouble getting Snorby running for the first time. I installed Snorby and all prerequisites according to the instructions at snorby.org, but when I run the command
RAILS_ENV=production bundle exec rake snorby:setup
I get the following error:
rake aborted!
cannot load such file -- dm-rails/railtie
I ran gem list --local to verify that dm-rails is installed on my system.
Version issue maybe??
Not quite sure how to troubleshoot...
My system details: a Raspberry Pi running Raspbian.
Thanks in advance!
See here for the details of the fix: https://github.com/Snorby/snorby/issues/355
Long story short it appears that bundler needs to be installed with a specific version to work with the other gems required by Snorby (2.6.2) as defined in the Gemfile.
Install dm-rails and bundler in v1.2.1 and it should work.
I'm trying to start my rails server with "rails server". I am getting the following error.
Could not find rake-0.9.2.2 in any of the sources
Run bundle install to install missing gems.
when I use gems, it say it is updated. Am I missing some type of path?
I am using MAC OSX Lion with the newest version of Ruby, Rake, Rails.
Run bundle install to make sure all the bundled gems are installed and available to the project.
Then try starting the server with bundle exec rails server - it's possible you've got the rake gem installed at the system level at a slightly different version level than what rails want. If you run rails via bundle exec, it'll set everything up for you
The issue is when I try to start server with rails server command after successfully created Rails app by running rails new myapp -d=mysql. However, I cant get the server to start and it gives me the following error:
Could not find gem 'mysql2 (~> 0.2.6, runtime)' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
Then I run bundle install but could not happen.
I have installed:
Ruby 1.8.7
Rails 3.0.9 with mysql
RubyGems 1.8.7
I searched everywhere but nobody can solve my problem please help me with this issue as soon as possible. I am using Ubuntu 11.04.
Thanks in advance.
If your bundle install is saying everything is installed, try prefixing your rails command with
bundle exec rails server <other args here>
That will make sure you run the server in the context of the bundle (as defined by your Gemfile). If that fixes the problem for you, then you can either keep running the server using that command, or figure out what's wrong with your environment (might be a path issue, or you might have multiple versions of ruby or bundler installed and things aren't getting installed where you think they are)
i have reinstalled rails 4.2.4 using "gem install rails" command
and generated new project using rails new helloworld
"cd helloworld" and "rails server" would started my server.
So if I try to start my server I get the error
Could not find abstract-1.0.0 in any of the sources
Try running bundle install.
I run that and I get
Using abstract (1.0.0)
Furthermore running a bundle show abstract gives me the correct path for the gem. That path is also referenced in gem env.
I'm really not sure how it can't be found...
You might have conflicting installations of ruby. One with the proper gem which you are using in the shell but one the server is using which doesn't have it installed properly.
I would check your environment variables to see if there is a conflict.
This can also happen if you are using RVM and have switched to a different version/gemset than the default one.
What command are you using to start the server?
If rails server is what is giving you the error, I recommend trying: bundle exec rails server
If that's not the issue, another question that might help troubleshoot; are you using rvm? What does rvm info give you?